Show examples in:
Javascript HTTP

Content Management API > Uploads filter

Uploads filter

In DatoCMS you can create filters to help you (and other editors) quickly search for uploads

Object payload

id string

RFC 4122 UUID of upload filter expressed in URL-safe base64 format

Example: "-Lo34LFSTLmgPToamzJLcg"
type string

Must be exactly "upload_filter".

attributes.name string

The name of the filter

Example: "Draft posts"
attributes.filter object

The actual filter

Example: { status: { eq: "draft" } }
attributes.shared boolean

Whether it's a shared filter or not

Available endpoints