ibl-data-manager (3.59.0-ai-plus)
API for iblai
Body
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
List of courses in the program with course_id and optional position
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/programs/
https://base.manager.iblai.app/api/catalog/programs/
- 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/programs/ \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"program_id": "string",
"program_key": "string",
"name": "string",
"slug": "string",
"org": "string",
"platform_key": "string",
"enabled": true,
"course_list": [
{
"property1": null,
"property2": null
}
],
"program_type": "string",
"data": null
}'
Bodyapplication/json
university
- Universitycollege
- Collegeinstitute
- Instituteacademy
- Academyother
- Other
Enum"university""college""institute""academy""other"
bachelors
- Bachelor's Degreemasters
- Master's Degreephd
- PhDdiploma
- Diplomacertificate
- Certificateungraded
- Ungradedother
- Other
Enum"bachelors""masters""phd""diploma""certificate""ungraded""other"
Response
application/json
{ "id": 0, "institution": { "id": 0, "name": "string", "institution_type": "university", "location": "string", "website": "http://example.com", "accreditation": "string", "established_year": 2147483647, "data": null, "metadata": null, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "name": "string", "program_type": "bachelors", "duration": 2147483647, "description": "string", "data": null, "metadata": null, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/programs/
https://base.manager.iblai.app/api/catalog/programs/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.ibl.ai/_mock/apis/ibl/api/catalog/programs/?org=string&program_id=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
Response
application/json
{ "count": 0, "type": { "property1": null, "property2": null } }
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" }