Show examples in:
JavascriptHTTP
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

idstring

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

Example:"-Lo34LFSTLmgPToamzJLcg"
typestring

Must be exactly "upload_filter".

namestring

The name of the filter

Example:"Draft posts"
filterobject

The actual filter

Example:{ status: { eq: "draft" } }
sharedboolean

Whether it's a shared filter or not

Available endpoints