Appearance
Custom fields
4 endpoints at a glance
| Method | Path | Summary |
|---|---|---|
GET | /custom-fields | List Definitions |
POST | /custom-fields | Create Definition |
DELETE | /custom-fields/{def_id} | Delete Definition |
PATCH | /custom-fields/{def_id} | Update Definition |
custom-fields
List Definitions
Create Definition
POST
/custom-fields
Parameters
Header Parameters
authorization
Request Body
application/json
JSON "entity_type": "string", "key": "string", "label": "string", "kind": "string", "options": [ "string" ], "required": false, "position": 0, "config": { "additionalProperties": "string" }
{
}
Responses
Successful Response
application/json
JSON "additionalProperties": "string"
{
}
Delete Definition
DELETE
/custom-fields/{def_id}
Delete the definition. Existing entity values under that key are
left intact (so a re-created definition can pick them back up).
Parameters
Header Parameters
authorization
Path Parameters
def_id*
Type
Requiredstring
Responses
Successful Response
application/json
JSON "additionalProperties": "string"
{
}
Update Definition
PATCH
/custom-fields/{def_id}
Parameters
Header Parameters
authorization
Path Parameters
def_id*
Type
Requiredstring
Request Body
application/json
JSON "label": "string", "options": [ "string" ], "required": true, "position": 0, "config": { "additionalProperties": "string" }
{
}
Responses
Successful Response
application/json
JSON "additionalProperties": "string"
{
}