Create a new field definition (admin)
POST /fields
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
What the field describes. Defaults to asset for backwards compatibility.
object
object
Responses
Section titled “ Responses ”Field created
object
Federation-stable slug. Globally unique.
What the field describes. asset definitions apply to
individual assets; collection definitions apply to whole
collections. One row is one or the other — operators who
want a field on both kinds create two rows.
Type-dependent constraints / values. Shape per ADR 0012.
object
Resource type refs this field applies to. Empty = all. Ignored when subject_kind = ‘collection’.
Auto-extraction source, e.g. {“type”:“exif”,“tag”:“DateTimeOriginal”}.
object
CanonicalField the metadata-extraction pipeline writes into this field. Empty = no extraction (the field stays operator-managed). Edited via the dedicated PUT …/extraction endpoint.
Write behaviour when extraction has a value. Empty = default (skip_if_set).
Malformed request
object
Human-readable error summary
Example
the request could not be completedAuthentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completedUnexpected server error
object
Human-readable error summary
Example
the request could not be completed