Modifies metadata and configuration attributes associated with an existing collection.
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/collection/{collectionID}/attributes \
--header 'Content-Type: application/json' \
--data '{
"collectionId": [
127
],
"description": "<string>",
"icon": "<string>",
"label": "<string>"
}'
{
"code": "<string>",
"data": {
"collectionKind": "<string>",
"description": "<string>",
"etag": "<string>",
"icon": "<string>",
"id": [
127
],
"label": "<string>",
"lifecycleState": "<string>",
"metadata": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": [
127
],
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": [
127
],
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": [
127
]
},
"organizationId": [
127
],
"path": [
[
127
]
],
"tenantId": [
127
],
"version": 123
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}
Success response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/collection/{collectionID}/attributes \
--header 'Content-Type: application/json' \
--data '{
"collectionId": [
127
],
"description": "<string>",
"icon": "<string>",
"label": "<string>"
}'
{
"code": "<string>",
"data": {
"collectionKind": "<string>",
"description": "<string>",
"etag": "<string>",
"icon": "<string>",
"id": [
127
],
"label": "<string>",
"lifecycleState": "<string>",
"metadata": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": [
127
],
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": [
127
],
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": [
127
]
},
"organizationId": [
127
],
"path": [
[
127
]
],
"tenantId": [
127
],
"version": 123
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}