post https://{app}.{filespin}.{io}/api/v1/assetcollection
Create
Create a new Asset Collection
A collection can have a maximum of 30 assets.
REQUEST PARAMETERS
Parameter | Type | Description |
---|---|---|
name | string | Collection name. Defaults Collection {timestamp} |
assets | JSON | List of asset ids. Defaults to empty list |
description | string | (optional) Collection description. Defaults to empty string |
group_access | boolean | (optional) true or false . Defaults to false |
REQUEST JSON
{ "name": "Test Collection",
"assets": ["b3ad7854e1ad4ce8a8c83272447f980b","caf2b5f2e80a40729e32489ee65ef0d8"]
}
HTTP RESPONSE
Collection in Asset Collection JSON
format
Duplicate
Duplicate an Asset Collection
Include Source Collection id source_id
to duplicate
REQUEST PARAMETERS
Parameter | Type | Description |
---|---|---|
source_id | number | Source Collection id to duplicate |
name | string | (optional) Collection name. Defaults to Source Collection Name formatted as Copy of {Source Collection Name} @ {timestamp} |
description | string | (optional) Collection description. Defaults to source collection description |
group_access | boolean | (optional) true or false . Defaults to false |
REQUEST JSON
{
"source_id": 1,
"name": "My Collection",
"description": "a description",
"group_access": false
}
HTTP RESPONSE
Collection in Asset Collection JSON format.