DAM: Files
Returns a list of trashed and deleted DAM Files
Retrieve Trashed and Deleted DAM Files
Endpoint for retrieving a collection trashed and deleted DAM Files.
get/dam/files/removed
Request
- Base URLhttps://api.kontainer.com/jsonapi/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
filterobject
Filtering
Filters can be applied to limit the results that are returned. Filters are applied using the "filter" query parameter. Available filters are:
- removed_at (eq, lt, lte, gt, gte)
Example:
To apply a date filter where the file "removed_at" date is between April 1 - 30th 2010 , you could write the filter query as below:
{
"filter": {
"removed_at": {
"gte": "2010-04-01 00:00:00",
"lt": "2010-04-30 00:00:00"
}
}
}
Date filters accept Y-m-d, Y-m-d H:i:s and ISO-8601. An ISO-8601 value carrying a UTC designator or a UTC offset is converted to the application timezone before the filter is applied.
{
"removed_at": {
"gte": "2010-04-01 00:00:00",
"lt": "2010-04-30 00:00:00"
}
}page[number]number
Requested page number (defaults to 1)
page[size]number
Requested page size (defaults to 100)
Response
success
Example response
{
"data": [
{
"type": "file",
"id": "1234",
"attributes": {
"name": "Callaway.png",
"description": "Golf image",
"size": 5566,
"sort": 2,
"created_at": "2023-10-15T06:29:29.000000Z",
"updated_at": "2023-10-15T06:29:29.000000Z",
"extension": "png",
"width": 16,
"height": 16,
"orientation": 1,
"version": 1,
"consent_status": "no_consent",
"consent_rights": [],
"consent_party_ids": []
},
"links": {
"self": "https://example.kontainer.com/jsonapi/v2/dam/folders/12/files/1234",
"duplicates": "https://example.kontainer.com/jsonapi/v2/dam/files/1234/duplicates"
},
"meta": {
"deleted_at": "2025-03-01T00:00:00.000000Z"
}
}
],
"links": {
"first": "https://example.kontainer.com/jsonapi/v2/dam/files/removed?page=1",
"last": "https://example.kontainer.com/jsonapi/v2/dam/files/removed?page=1"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "Previous",
"active": false
},
{
"url": "https://example.kontainer.com/jsonapi/v2/dam/files/removed?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next",
"active": false
}
],
"path": "https://example.kontainer.com/jsonapi/v2/dam/files/removed",
"per_page": 100,
"to": 1,
"total": 1,
"sort": "removed_at"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.