Create a dropdown option for a List Field
Changed on| ⚠️ This endpoint is currently in BETA |
|---|
Create a dropdown option for a List Field.
Note: Creating dropdown options on status fields is not yet supported. Requests where fieldId refers to a status field will return a 400 error.
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/lists/{listId}/fields/{fieldId}/dropdown-options
- AuthHTTP bearer
Path parameters
List ID
Field ID
Request body
Example request
{
"type": "dropdown",
"text": "Seed"
}Response
Created
Example response
{
"id": 1,
"text": "Active"
}Changes
- breaking
removed from the request body
oneOflist - info
added
dropdownranked-dropdownmapping keys to the request discriminator - info
added
dropdownranked-dropdownmapping keys to the response discriminator for the response status - info
removed from the response body
oneOflist for the response status - info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status
- breaking