API for iblai
- ai_mentor_orgs_users_disclaimer_agreements_retrieve
ibl-data-manager (4.84.1-ai-plus)
Request
API view for managing disclaimer agreements.
This viewset provides Create Read and Delete operations for disclaimer agreements with different access levels:
Platform Admins:
- Can view all disclaimer agreements for their platform
- Have full access to create (for themselves) and delete agreements for themselves and other users.
- Results are paginated and can be filtered
Students:
- Can only view their own disclaimer agreements
- Limited to agreements where they are the user
- Results are paginated and can be filtered
List endpoint returns paginated results with disclaimer agreement objects:
{
"count": int,
"next": str,
"previous": str,
"results": [
{
"id": int,
"user": str,
"disclaimer": int,
"agreed_at": datetime,
},
...
]
}Detail endpoints return a single disclaimer agreement object with the same structure
- application/json
- application/scim+json
- application/x-www-form-urlencoded
- multipart/form-data
- */*
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/
- https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"disclaimer": 0
}'{ "id": 0, "user": 2147483647, "disclaimer": 0, "agreed_at": "2019-08-24T14:15:22Z", "platform_key": "string", "user_id": "string" }
Request
API view for managing disclaimer agreements.
This viewset provides Create Read and Delete operations for disclaimer agreements with different access levels:
Platform Admins:
- Can view all disclaimer agreements for their platform
- Have full access to create (for themselves) and delete agreements for themselves and other users.
- Results are paginated and can be filtered
Students:
- Can only view their own disclaimer agreements
- Limited to agreements where they are the user
- Results are paginated and can be filtered
List endpoint returns paginated results with disclaimer agreement objects:
{
"count": int,
"next": str,
"previous": str,
"results": [
{
"id": int,
"user": str,
"disclaimer": int,
"agreed_at": datetime,
},
...
]
}Detail endpoints return a single disclaimer agreement object with the same structure
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/{id}/
- https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/{id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/{id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "id": 0, "user": 2147483647, "disclaimer": 0, "agreed_at": "2019-08-24T14:15:22Z", "platform_key": "string", "user_id": "string" }
Request
API view for managing disclaimer agreements.
This viewset provides Create Read and Delete operations for disclaimer agreements with different access levels:
Platform Admins:
- Can view all disclaimer agreements for their platform
- Have full access to create (for themselves) and delete agreements for themselves and other users.
- Results are paginated and can be filtered
Students:
- Can only view their own disclaimer agreements
- Limited to agreements where they are the user
- Results are paginated and can be filtered
List endpoint returns paginated results with disclaimer agreement objects:
{
"count": int,
"next": str,
"previous": str,
"results": [
{
"id": int,
"user": str,
"disclaimer": int,
"agreed_at": datetime,
},
...
]
}Detail endpoints return a single disclaimer agreement object with the same structure
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/{id}/
- https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/{id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/disclaimer-agreements/{id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'