Get Site DAM details
GET
/api/v0/site-dams/{site_dam_uuid}- Path parameters:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/site-dams/{site_dam_uuid} \ -H "X-API-KEY: <your-api-key>" - Responses:
200OK
JSONCopied to clipboard{ "uuid": "string", "id": 0, "site_id": 0, "dam_uuid": "string", "config": {}, "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z", "uploads_locked": true, "reference_key": "string", "site_uuid": "00000000-0000-0000-0000-000000000000", "dam": { "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 site dam details
PUT
/api/v0/site-dams/{site_dam_uuid}- Path parameters:
- Request body:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/site-dams/{site_dam_uuid} \ -X PUT \ -H "X-API-KEY: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "dam_uuid": "string", "uploads_locked": true, "config": {}, "reference_key": "string" }' - Responses:
200OK
JSONCopied to clipboard{ "uuid": "string", "id": 0, "site_id": 0, "dam_uuid": "string", "config": {}, "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z", "uploads_locked": true, "reference_key": "string", "site_uuid": "00000000-0000-0000-0000-000000000000", "dam": { "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 Site DAM
DELETE
/api/v0/site-dams/{site_dam_uuid}- Path parameters:
- Example request:
- BashCopied to clipboard
curl https://app.cloudcannon.com/api/v0/site-dams/{site_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" }