# ai_mentor_orgs_users_disclaimers_list ViewSet for managing mentor disclaimers. This viewset provides endpoints for creating and managing mentor disclaimers, which are statements or information that mentors need to share with students. Permissions: - Platform administrators have full CRUD access - Students have read-only access - Unauthenticated users have no access Endpoints: - GET /api/orgs/{org}/users/{user_id}/disclaimers/ - List all disclaimers - POST /api/orgs/{org}/users/{user_id}/disclaimers/ - Create a new disclaimer - GET /api/orgs/{org}/users/{user_id}/disclaimers/{id}/ - Retrieve a specific disclaimer - PUT/PATCH /api/orgs/{org}/users/{user_id}/disclaimers/{id}/ - Update a disclaimer - POST /api/orgs/{org}/users/{user_id}/disclaimers/{id}/add_mentor/ - Add mentor to disclaimer - POST /api/orgs/{org}/users/{user_id}/disclaimers/{id}/remove_mentor/ - Remove mentor from disclaimer Query Parameters: - Supports filtering via DjangoFilterBackend - See DisclaimerFilterSet for available filters Returns: List endpoint returns paginated results with disclaimer objects: { "count": int, "next": str, "previous": str, "results": [ { "id": int, "title": str, "content": str, "mentor": str, "platform": str, "created_at": datetime, "updated_at": datetime }, ... ] } Detail endpoints return a single disclaimer object with the same structure Endpoint: GET /api/ai-mentor/orgs/{org}/users/{user_id}/disclaimers/ Version: 4.84.1-ai-plus Security: PlatformApiKeyAuthentication ## Query parameters: - `active` (boolean) - `mentor_id` (string) - `ordering` (string) Which field to use when ordering the results. - `page` (integer) A page number within the paginated result set. - `page_size` (integer) Number of results to return per page. - `scope` (string) * platform - Platform * mentor - Mentor Enum: "mentor", "platform" - `search` (string) A search term. ## Path parameters: - `org` (string, required) - `user_id` (string, required) ## Response 200 fields (application/json): - `count` (integer, required) Example: 123 - `next` (string,null) Example: "http://api.example.org/accounts/?page=4" - `previous` (string,null) Example: "http://api.example.org/accounts/?page=2" - `results` (array, required) - `results.id` (integer, required) - `results.scope` (string) * platform - Platform * mentor - Mentor Enum: "platform", "mentor" - `results.platform` (integer, required) Platform to which the disclaimer applies. - `results.content` (string, required) - `results.title` (string) - `results.active` (boolean) - `results.created_at` (string, required) - `results.updated_at` (string, required) - `results.has_agreed` (boolean, required) - `results.platform_key` (string, required) - `results.mentors` (array)