Create collection
POST
/api/collection
Creates a new empty collection for grouping files.
Authorizations
Token
Format: token <value>. Types: user (session) or uploader (API token).
Type
API Key (header: Authorization)
Request Body
application/json
JSON "name": "string"
{
}
Responses
OK
application/json
JSON "id": "string", "name": "string", "ownerId": "string", "createdAt": "string", "updatedAt": "string", "files": [ { "id": "string", "name": "string", "mime": "string", "size": "string", "ownerId": "string", "folderId": "string", "createdAt": "string", "updatedAt": "string", "shareId": "string" } ], "count": 0, "shareId": "string"
{
}
