ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
GET Get a 'next' course
This method retrieves the next recommended course for a user based on the provided parameters. It expects the following parameters in the request query:
- user_id: The ID of the user for whom the next course is being recommended.
- course_id: The ID of the current course.
- org: The organization associated with the course.
Returns:
- A serialized representation of the next course if found, with a status code of 200.
- A status code of 400 if the course_id is not provided.
- A status code of 200 with a None response if no next course is found.
Error Conditions:
- Returns a 400 status code if the course_id is missing from the request parameters.
Side Effects:
- None
Security
PlatformApiKeyAuthentication
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/recommendation/courses/
https://base.manager.iblai.app/api/catalog/recommendation/courses/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/catalog/recommendation/courses/?course_id=string&org=string&user_id=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
Response
application/json
{ "course_id": "string", "name": "string", "slug": "string", "org": "string" }
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/resources/
https://base.manager.iblai.app/api/catalog/resources/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/catalog/resources/?id=0&item_id=string&key=string&name=string&org=string&platform_key=string&platform_org=string&resource_type=string&user_id=0&username=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
Response
application/json
[ { "item_id": "string", "id": 0, "name": "string", "url": "string", "resource_type": "string", "data": null, "image": "http://example.com", "description": "string" } ]
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/resources/
https://base.manager.iblai.app/api/catalog/resources/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/catalog/resources/?id=0&item_id=string&key=string&name=string&org=string&platform_key=string&platform_org=string&resource_type=string&user_id=0&username=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: multipart/form-data' \
-F id=0 \
-F user_id=0 \
-F username=string \
-F resource_type=string \
-F url=http://example.com \
-F name=string \
-F description=string \
-F skills=string \
-F image=http://example.com \
-F data=null
Response
application/json
{ "name": "Sample Video", "resource_type": "video", "url": "https://example.com/video", "user_id": 1, "description": "A detailed description of the resource", "skills": [ "Python", "Django" ], "data": { "duration": "10:00", "author": "John Doe" } }