Skip to content

ibl-data-manager (4.84.1-ai-plus)

API for iblai

Download OpenAPI description
Languages
Servers
Mock server
https://docs.ibl.ai/_mock/apis/ibl/
https://base.manager.iblai.app/
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Set student mentor creation permission

Request

Enable or disable the ability for students to create mentors on a platform

Security
PlatformApiKeyAuthentication
Bodyrequired
platform_keystring<= 255 charactersrequired

The platform key where the permission should be changed

allow_students_to_create_mentorsbooleanrequired

Whether to allow students to create mentors (true) or not (false)

curl -i -X POST \
  https://docs.ibl.ai/_mock/apis/ibl/api/core/rbac/student-mentor-creation/set/ \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "platform_key": "string",
    "allow_students_to_create_mentors": true
  }'

Responses

Bodyapplication/json
allow_students_to_create_mentorsbooleanrequired

Whether students can create mentors on this platform

platform_keystringrequired

The platform key

messagestring

Success message (only in set permission response)

Response
application/json
{ "allow_students_to_create_mentors": true, "platform_key": "string", "message": "string" }

Get student mentor creation permission status

Request

Check whether students are currently allowed to create mentors on a platform

Security
PlatformApiKeyAuthentication
Query
platform_keystring[ 1 .. 255 ] charactersrequired

The platform key to check

curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/core/rbac/student-mentor-creation/status/?platform_key=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
allow_students_to_create_mentorsbooleanrequired

Whether students can create mentors on this platform

platform_keystringrequired

The platform key

messagestring

Success message (only in set permission response)

Response
application/json
{ "allow_students_to_create_mentors": true, "platform_key": "string", "message": "string" }

Request

Retrieve current group access information for a specific user, including all groups the user has access to and whether they have mentor management permissions.

Security
PlatformApiKeyAuthentication
Query
platform_keystringrequired

Platform key where the groups exist

user_idintegerrequired

ID of the user to check group access for

curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/core/rbac/user-group-access/?platform_key=string&user_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
policy_idintegerread-onlyrequired

Policy ID

policy_namestringread-onlyrequired

Policy name

groups_with_accessArray of objects(UserGroupAccessInfo)read-onlyrequired

Groups with access

groups_with_access[].​idintegerrequired

Group ID

groups_with_access[].​namestringrequired

Group name

groups_with_access[].​descriptionstringrequired

Group description

groups_with_access[].​permissionsArray of stringsrequired

List of permissions user has for this group (e.g., ['read', 'manageMentors'])

Response
application/json
{ "policy_id": 0, "policy_name": "string", "groups_with_access": [ {} ] }
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations