Get DAM Details
GET
/api/v0/dams/{dam_uuid}- Path parameters:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/dams/{dam_uuid} \ -H "X-API-KEY: <your-api-key>" - Responses:
200OK
JSONCopied to clipboard{ "uuid": "00000000-0000-0000-0000-000000000000", "id": 0, "access_key": "string", "base_url": "string", "created_at": "2024-01-01T00:00:00Z", "dam_type": "string", "name": "string", "updated_at": "2024-01-01T00:00:00Z", "max_upload_size": 0, "organisation_uuid": "00000000-0000-0000-0000-000000000000", "config": {}, "extra_params": "string" }403Forbidden
JSONCopied to clipboard{ "error": "string" }
Update DAM details
PUT
/api/v0/dams/{dam_uuid}- Path parameters:
- Request body:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/dams/{dam_uuid} \ -X PUT \ -H "X-API-KEY: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "dam_type": "s3", "name": "string", "config": "string", "base_url": "string", "access_key": "string", "access_secret": "string", "max_upload_size": 0 }' - Responses:
200OK
JSONCopied to clipboard{ "uuid": "00000000-0000-0000-0000-000000000000", "id": 0, "access_key": "string", "base_url": "string", "created_at": "2024-01-01T00:00:00Z", "dam_type": "string", "name": "string", "updated_at": "2024-01-01T00:00:00Z", "max_upload_size": 0, "organisation_uuid": "00000000-0000-0000-0000-000000000000", "config": {}, "extra_params": "string" }401Unauthorized
JSONCopied to clipboard{ "error": "string" }403Forbidden
JSONCopied to clipboard{ "error": "string" }422Unprocessable
JSONCopied to clipboard{ "errors": {} }
Delete DAM
DELETE
/api/v0/dams/{dam_uuid}- Path parameters:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/dams/{dam_uuid} \ -X DELETE \ -H "X-API-KEY: <your-api-key>" - Responses:
204Deleted
401Unauthorized
JSONCopied to clipboard{ "error": "string" }403Forbidden
JSONCopied to clipboard{ "error": "string" }