Update
PUT/collections/{collectionId}
Update the name and/or thumbnail of a Collection
Update
curl https://api.cloud.scenario.com/v1/collections/$COLLECTION_ID \
-X PUT \
-H 'Content-Type: application/json' \
-u "$SCENARIO_SDK_API_KEY:SCENARIO_SDK_API_SECRET" \
-d '{}'{
"collection": {
"id": "id",
"assetCount": 0,
"createdAt": "createdAt",
"itemCount": 0,
"modelCount": 0,
"name": "name",
"ownerId": "ownerId",
"updatedAt": "updatedAt",
"thumbnail": {
"assetId": "assetId",
"url": "url"
}
}
}Returns Examples
{
"collection": {
"id": "id",
"assetCount": 0,
"createdAt": "createdAt",
"itemCount": 0,
"modelCount": 0,
"name": "name",
"ownerId": "ownerId",
"updatedAt": "updatedAt",
"thumbnail": {
"assetId": "assetId",
"url": "url"
}
}
}