ibl-data-manager (3.59.0-ai-plus)
API for iblai
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/skills/public/
https://base.manager.iblai.app/api/catalog/skills/public/
- 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/skills/public/ \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"name": "string",
"slug": "string",
"platform_key": "string",
"data": null
}'
{ "id": 0, "name": "string", "platform_key": "string", "slug": "string", "data": null }
Request
GET Retrieve desired skills for user
Params: name id slug
This method retrieves the skills reported by a user. It requires either a user_id or username to identify the user. If the user is found and has reported skills, the first reported skill is serialized and returned with a status code of 200. If no skills are found, a status code of 400 is returned.
Error Conditions:
- If the user cannot be identified, a 400 status code is returned.
- If no reported skills exist for the user, a 400 status code is returned.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/skills/reported/
https://base.manager.iblai.app/api/catalog/skills/reported/
- 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/skills/reported/?user_id=0&username=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "user_id": 0, "username": "string", "skills": [ { … } ], "data": null }
Request
POST Add or update a skill.
Params: user_id/username skills data
This method allows adding or updating a user's reported skills. It requires either a user_id or username to identify the user, along with a list of skills and additional data. If the user is identified and the skills are successfully saved, the serialized skill data is returned. A status code of 201 indicates that a new skill was created, while a status code of 200 indicates an update to an existing skill.
Error Conditions:
- If the user cannot be identified, a 400 status code is returned.
- If the skills cannot be saved, a 400 status code is returned.
Side Effects:
- If a new skill is created, it will be persisted in the database.
- If an existing skill is updated, the changes will be saved in the database.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/skills/reported/
https://base.manager.iblai.app/api/catalog/skills/reported/
- 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/skills/reported/?user_id=0&username=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"user_id": 0,
"username": "string",
"skills": [
{
"platform_key": "string"
}
]
}'
{ "user_id": 0, "username": "string", "skills": [ { … } ], "data": null }