ibl-data-manager (3.59.0-ai-plus)
API for iblai
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/licenses/platform/create/
https://base.manager.iblai.app/api/catalog/licenses/platform/create/
- 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/licenses/platform/create/ \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"platform_key": "string",
"platform_org": "string",
"name": "string",
"count": 0,
"started": "2019-08-24T14:15:22Z",
"expired": "2019-08-24T14:15:22Z",
"active": true,
"metadata": {
"property1": null,
"property2": null
},
"source": "string",
"external_id": "string",
"transaction_id": "string",
"change_type": "create"
}'
{ "id": 0, "created": "2019-08-24T14:15:22Z", "started": "2019-08-24T14:15:22Z", "expired": "2019-08-24T14:15:22Z", "name": "string", "count": 0, "active": true, "metadata": { "property1": null, "property2": null }, "source": "string", "external_id": "string", "platform_key": "string" }
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/licenses/platform/update/
https://base.manager.iblai.app/api/catalog/licenses/platform/update/
- 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/licenses/platform/update/ \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"license_id": 0,
"external_id": "string",
"platform_key": "string",
"platform_org": "string",
"name": "string",
"count": 0,
"started": "2019-08-24T14:15:22Z",
"expired": "2019-08-24T14:15:22Z",
"active": true,
"metadata": {
"property1": null,
"property2": null
},
"source": "string",
"transaction_id": "string",
"change_type": "update"
}'
{ "id": 0, "created": "2019-08-24T14:15:22Z", "started": "2019-08-24T14:15:22Z", "expired": "2019-08-24T14:15:22Z", "name": "string", "count": 0, "active": true, "metadata": { "property1": null, "property2": null }, "source": "string", "external_id": "string", "platform_key": "string" }
Request
API View for managing program licenses.
This endpoint allows retrieving program licenses with filtering and pagination support.
Query Parameters: platform_key (str, optional): The unique identifier for the platform name (str, optional): Filter by license name (exact match) source (str, optional): Filter by license source active (bool, optional): Filter by active status program_id (str, optional): Filter by program ID query (str, optional): Search licenses by name (contains) page (int, optional): Page number for pagination page_size (int, optional): Number of items per page verbose (bool, optional): Include additional details in response sort (str, optional): Field to sort results by (default: '-id')
Methods: GET: Retrieve a paginated list of program licenses
Returns: GET: A paginated JSON response containing program licenses: { "count": 10, "next": "https://example.com/api/catalog/licenses/program/?page=2", "previous": null, "results": [ { "id": 123, "created": "2023-06-15T14:30:00Z", "started": "2023-06-15T14:30:00Z", "expired": null, "name": "Program License 2023", "count": 100, "active": true, "metadata": {}, "source": "source", "external_id": "ext-123", "platform_key": "platform1", "program_id": "program-v1:org+program+run", "assignments": { "total": 50, "active": 45, "pending": 5 } }, ... ] }
Error Responses: 400 Bad Request: If query parameters are invalid 401 Unauthorized: If the user is not authenticated 403 Forbidden: If the user does not have permission to access this resource 500 Internal Server Error: If an unexpected error occurs
Access Control:
- Requires IsDMAdmin or IsPlatformAdminReadOnly permission
- Available to platform administrators (read-only) and DM admins
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/catalog/licenses/program/
https://base.manager.iblai.app/api/catalog/licenses/program/
- 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/licenses/program/?active=true&external_id=string&key=string&name=string&org=string&page=0&page_size=0&platform_key=string&platform_org=string&program_id=string&query=string&sort=-id&source=string&verbose=false' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "count": 0, "next_page": "http://example.com", "previous_page": "http://example.com", "results": [ { … } ] }