Skip to content

ibl-data-manager (3.59.0-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

Request

API View for managing individual credentials.

This endpoint allows retrieving, updating, and deleting specific credentials identified by their entity_id.

Path Parameters: org (str): The organization/tenant identifier user_id (str): The user ID making the request entity_id (str): The credential entity ID

Methods: GET: Retrieve a specific credential PUT: Update a specific credential DELETE: Delete a specific credential

PUT Request Body: A JSON object containing credential details to update:

  • name (str, optional): Credential name
  • description (str, optional): Credential description
  • credential_type (str, optional): Type of credential
  • html_template (str, optional): HTML template for credential rendering
  • css_template (str, optional): CSS template for credential styling
  • icon_image (str, optional): URL to credential icon
  • background_image (str, optional): URL to credential background
  • thumbnail_image (str, optional): URL to credential thumbnail
  • criteria_url (str, optional): URL to credential criteria
  • criteria_text (str, optional): Text description of credential criteria
  • issuing_signal (str, optional): Signal that triggers credential issuance

Returns: GET: A JSON response containing: { "status": {"success": true, "description": "Ok"}, "result": {credential object} }

PUT: A JSON response containing: { "status": {"success": true, "description": "Updated"}, "result": {credential object} }

DELETE: No content (204)

Error Responses: 400 Bad Request: If the request data is invalid 401 Unauthorized: If the user is not authenticated 403 Forbidden: If the user does not have permission to access this resource 404 Not Found: If the credential doesn't exist 500 Internal Server Error: If an unexpected error occurs

Access Control:

  • Requires CredentialAssignmentPermission
  • Users can only manage credentials they have permission to access
Security
PlatformApiKeyAuthentication
Path
entity_idstringrequired
orgstringrequired
user_idstringrequired
Bodyrequired
entityIdstringrequired
namestring<= 1000 charactersrequired
name_overridestring or null<= 1000 characters
descriptionstring or null
criteriaUrlstring(uri)required
criteriaNarrativestring(uri)required
createdAtstring(date-time)required
icon_image_idintegerrequired
background_image_idintegerrequired
thumbnail_image_idintegerrequired
html_templatestring or null
css_templatestring or null
metadataany or null
credentialTypestringrequired
tagsany or null
signalstringrequired
curl -i -X PUT \
  'https://docs.ibl.ai/_mock/apis/ibl/api/credentials/orgs/{org}/users/{user_id}/{entity_id}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "entityId": "string",
    "name": "string",
    "name_override": "string",
    "description": "string",
    "criteriaUrl": "http://example.com",
    "criteriaNarrative": "http://example.com",
    "createdAt": "2019-08-24T14:15:22Z",
    "icon_image_id": 0,
    "background_image_id": 0,
    "thumbnail_image_id": 0,
    "html_template": "string",
    "css_template": "string",
    "metadata": null,
    "credentialType": "string",
    "tags": null,
    "signal": "string"
  }'

Responses

Bodyapplication/json
entityIdstringrequired
namestring<= 1000 charactersrequired
name_overridestring or null<= 1000 characters
descriptionstring or null
criteriaUrlstring(uri)required
criteriaNarrativestring(uri)required
createdAtstring(date-time)required
iconImagestringread-onlyrequired
icon_image_idintegerrequired
backgroundImagestringread-onlyrequired
background_image_idintegerrequired
thumbnailImagestringread-onlyrequired
thumbnail_image_idintegerrequired
catalog_itemsArray of stringsread-onlyrequired
coursesArray of objectsread-onlyrequired
courses[].​property name*stringadditional property
programsstringread-onlyrequired
issuerDetailsobjectread-onlyrequired
issuerDetails.​property name*stringadditional property
html_templatestring or null
css_templatestring or null
metadataany or null
credentialTypestringrequired
expiresobjectread-onlyrequired
expires.​property name*integeradditional property
tagsany or null
signatoriesArray of objectsread-onlyrequired
signatories[].​property name*stringadditional property
signalstringrequired
pathwaysArray of objectsread-onlyrequired
pathways[].​property name*stringadditional property
Response
application/json
{ "entityId": "string", "name": "string", "name_override": "string", "description": "string", "criteriaUrl": "http://example.com", "criteriaNarrative": "http://example.com", "createdAt": "2019-08-24T14:15:22Z", "iconImage": "string", "icon_image_id": 0, "backgroundImage": "string", "background_image_id": 0, "thumbnailImage": "string", "thumbnail_image_id": 0, "catalog_items": [ "string" ], "courses": [ {} ], "programs": "string", "issuerDetails": { "property1": "string", "property2": "string" }, "html_template": "string", "css_template": "string", "metadata": null, "credentialType": "string", "expires": { "property1": 0, "property2": 0 }, "tags": null, "signatories": [ {} ], "signal": "string", "pathways": [ {} ] }

Request

API View for managing individual credentials.

This endpoint allows retrieving, updating, and deleting specific credentials identified by their entity_id.

Path Parameters: org (str): The organization/tenant identifier user_id (str): The user ID making the request entity_id (str): The credential entity ID

Methods: GET: Retrieve a specific credential PUT: Update a specific credential DELETE: Delete a specific credential

PUT Request Body: A JSON object containing credential details to update:

  • name (str, optional): Credential name
  • description (str, optional): Credential description
  • credential_type (str, optional): Type of credential
  • html_template (str, optional): HTML template for credential rendering
  • css_template (str, optional): CSS template for credential styling
  • icon_image (str, optional): URL to credential icon
  • background_image (str, optional): URL to credential background
  • thumbnail_image (str, optional): URL to credential thumbnail
  • criteria_url (str, optional): URL to credential criteria
  • criteria_text (str, optional): Text description of credential criteria
  • issuing_signal (str, optional): Signal that triggers credential issuance

Returns: GET: A JSON response containing: { "status": {"success": true, "description": "Ok"}, "result": {credential object} }

PUT: A JSON response containing: { "status": {"success": true, "description": "Updated"}, "result": {credential object} }

DELETE: No content (204)

Error Responses: 400 Bad Request: If the request data is invalid 401 Unauthorized: If the user is not authenticated 403 Forbidden: If the user does not have permission to access this resource 404 Not Found: If the credential doesn't exist 500 Internal Server Error: If an unexpected error occurs

Access Control:

  • Requires CredentialAssignmentPermission
  • Users can only manage credentials they have permission to access
Security
PlatformApiKeyAuthentication
Path
entity_idstringrequired
orgstringrequired
user_idstringrequired
curl -i -X DELETE \
  'https://docs.ibl.ai/_mock/apis/ibl/api/credentials/orgs/{org}/users/{user_id}/{entity_id}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

No response body

credentials_orgs_users_assertions_retrieve_3

Request

Endpoint to issue and retrieve credential assertions for a specific credential.

This endpoint allows issuing new credential assertions and retrieving existing assertions for a specific credential.

Path Parameters: org (str): The organization/tenant identifier user_id (str): The user ID making the request entity_id (str): The credential entity ID

Methods: POST: Issue a new credential assertion GET: Retrieve assertions for a specific credential

POST Request Body: A JSON object containing recipient information and any additional metadata required for issuing the credential.

Returns: POST: A JSON response containing the created assertion using the AssertionSerializer format GET: A paginated list of assertions using the AssertionSerializer format

Error Responses: 400 Bad Request: If the request data is invalid 401 Unauthorized: If the user is not authenticated 403 Forbidden: If the user does not have permission to access this resource 404 Not Found: If the credential doesn't exist 500 Internal Server Error: If an unexpected error occurs

Security
PlatformApiKeyAuthentication
Path
entity_idstringrequired
orgstringrequired
user_idstringrequired
curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
nextstringrequired
previousstringrequired
countintegerrequired
num_pagesintegerrequired
page_numberintegerrequired
max_page_sizeintegerrequired
dataArray of objects(Assertion)required
data[].​entityIdstringrequired
data[].​issuedOnstringrequired
data[].​credentialDetailsobjectread-onlyrequired
data[].​credentialDetails.​property name*stringadditional property
data[].​recipientobjectread-onlyrequired
data[].​recipient.​property name*stringadditional property
data[].​metadataany or null
data[].​courseobjectread-onlyrequired
data[].​course.​property name*stringadditional property
data[].​programobjectread-onlyrequired
data[].​program.​property name*stringadditional property
data[].​narrativestring or null
data[].​revokedboolean
data[].​revocationReasonstringrequired
data[].​acceptancestring(AcceptanceEnum)
  • Unaccepted - Unaccepted
  • Accepted - Accepted
  • Rejected - Rejected
Enum"Unaccepted""Accepted""Rejected"
data[].​expiresstringrequired
Response
application/json
{ "next": "string", "previous": "string", "count": 0, "num_pages": 0, "page_number": 0, "max_page_size": 0, "data": [ {} ] }
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations