[DEPRECATED] Use form field endpoints instead. List Custom fields
curl --request GET \
--url https://api.rootly.com/v1/custom_fields \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "custom_fields",
"attributes": {
"label": "<string>",
"kind": "<string>",
"enabled": true,
"slug": "<string>",
"description": "<string>",
"shown": [
"incident_form"
],
"required": [
"incident_form"
],
"default": "<string>",
"position": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
comma separated if needed. eg: options
options
comma separated if needed. eg: created_at,updated_at
created_at
, -created_at
, updated_at
, -updated_at
, position
, -position
success
The response is of type object
.
curl --request GET \
--url https://api.rootly.com/v1/custom_fields \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "custom_fields",
"attributes": {
"label": "<string>",
"kind": "<string>",
"enabled": true,
"slug": "<string>",
"description": "<string>",
"shown": [
"incident_form"
],
"required": [
"incident_form"
],
"default": "<string>",
"position": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}