Create a metadata
Creates a metadata glossary field for your team.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Headers
X-Studies-Api-Version
Request
The attributes of the metadata glossary to create.
title
The title of the metadata glossary.
slug
The unique slug of the metadata glossary. Generated from the title when omitted or null.
type
The type of the metadata glossary.
field_type
The field type of the metadata glossary.
active
The active status of the metadata glossary.
read_only
The read only status of the metadata glossary.
options
The metadata options associated to the metadata glossary.
required
When true, the field is mandatory on entities that use this glossary entry. Omitted or null is treated as false.
Response headers
X-RateLimit-Limit
The number of requests permitted in the current rate limit window.
X-RateLimit-Remaining
The number of requests still available in the current rate limit window. When several limits apply, this reflects the per-API-key limit, so a request can be rejected while this value is above zero.
X-RateLimit-Reset
The number of seconds until the current rate limit window resets.
Response
The metadata glossary was created.
id
Unique identifier for a metadata glossary field.
type
The type of the metadata glossary.
title
The title of the metadata glossary.
slug
The unique slug of the metadata glossary.
field_type
The field type of a metadata glossary entry. Select and multi-select fields carry fixed options on the glossary itself; lookup select and lookup multi-select options are managed via the metadata options endpoints. The external API rejects datetime on create.
active
The active status of the metadata glossary.
read_only
The read only status of the metadata glossary.
required
When true, the field is mandatory on entities that use this glossary entry.
options
The metadata options associated to the metadata glossary. Present only for select and multi-select field types; omitted for all other field types.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error