This web service lets users list content packages available on a given tenant.
Method | Endpoint |
---|---|
GET |
/api/khub/packages |
Response body
[
{
"id": "GpHewDLJ-r3HPaFi2D83l",
"collectionId": "f6cf52b7-722d-419e-8817-33a127215ec8",
"collectionOwner": {
"id": "9aab1622-6b63-47af-a90a-68bb7939c214",
"displayName": "John",
"emailAddress": "john.doe@example.com"
},
"collectionTitle": "Collection number one",
"uiLocale": "en-US",
"startDate": "2023-08-10T07:38:14.849+00:00",
"endDate": "2023-08-10T07:38:18.452+00:00",
"status": "SUCCESS",
"zipExists": true
},
{
"id": "ihQoE3zXUS3LrUVo8u8AZ",
"collectionId": "42819bb0-636d-4cc2-8676-8114b96949e0",
"collectionOwner": {
"id": "9aab1622-6b63-47af-a90a-68bb7939c214",
"displayName": "John",
"emailAddress": "john.doe@example.com"
},
"collectionTitle": "Collection number two",
"uiLocale": "fr-FR",
"startDate": "2023-07-07T09:08:15.988+00:00",
"endDate": "2023-07-07T09:08:19.962+00:00",
"status": "SUCCESS",
"zipExists": false
}
]
Field | Type | Description |
---|---|---|
id |
String | The identifier of the package. |
collectionId |
String | The identifier of the packaged collection. |
collectionOwner |
Object | Information about the user who created the packaged collection. |
id |
String | The identifier of the user. |
displayName |
String | The display name of the user. |
emailAddress |
String | The email address of the user. |
collectionTitle |
String | The title of the packaged collection. |
uiLocale |
String | The UI locale of the package. |
startDate |
String | The start date and time of the package creation. Date is in YYYY-MM-DD format, and time is in 24-hour format, GMT. |
endDate |
String | The end date and time of the package creation. Date is in YYYY-MM-DD format, and time is in 24-hour format, GMT. |
status |
String | Indicates whether the creation of the package succeeded (can be WORKING , SUCCESS , or ERROR ). |
zipExists |
Boolean | Indicates whether users can download the package. |