Get Attribute Allowed Values
GET/sites/:siteId/schema/document/attributes/:key/allowedValues
Returns an attribute's allowed values from the site schema
Request
Path Parameters
siteId stringrequired
Site Identifier
key stringrequired
Key Identifier
Query Parameters
locale string
Site Locale (ISO 639 / ISO 3166)
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
allowedValues string[]
Attribute's allowed values
localizedAllowedValues
object
property name* string
{
"allowedValues": [
"string"
],
"localizedAllowedValues": {}
}
Loading...