POST
/
v1
/
collection
/
{collectionID}
/
attributes
curl --request POST \
  --url https://api.storytell.ai/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>"
}

Path Parameters

collectionID
string
required

Body

application/json
collectionId
integer[]
required
description
string
required
icon
string
required
label
string
required

Response

200
application/json
Success response
code
string
required
data
object
required
details
object
required
done
boolean
required
eventKey
string
required
message
string
required