DAM: Files

Returns a list of deleted DAM Files

Retrieve Deleted DAM Files

Endpoint for retrieving a collection deleted DAM Files.

get/dam/files/deleted

Request

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:

  • deleted_at (eq, lt, lte, gt, gte)

Example:

To apply a date filter where the file "deleted_at" date is between April 1 - 30th 2010 , you could write the filter query as below:

{
    "filter": {
        "deleted_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.

{
  "deleted_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/deleted?page=1",
    "last": "https://example.kontainer.com/jsonapi/v2/dam/files/deleted?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/deleted?page=1",
        "label": "1",
        "active": true
      },
      {
        "url": null,
        "label": "Next",
        "active": false
      }
    ],
    "path": "https://example.kontainer.com/jsonapi/v2/dam/files/deleted",
    "per_page": 100,
    "to": 1,
    "total": 1,
    "sort": "deleted_at"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.