Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request GET /api/v2/field_groups 200 { "field_groups": [ { "id": 1, "name": "test_group", "created_at": "2023-11-27T09:42:50.666Z", "updated_at": "2023-11-27T09:42:50.712Z", "group_type": "default", "open_by_default": false, "locked": false, "add_by_default_to_media_types": [], "order": null, "deleted": false, "fields": [ { "id": 1, "field_group_id": 1, "name": "test_field_name", "field_type": "textbox", "dropdown_options": null, "created_at": "2023-11-27T09:42:50.708Z", "updated_at": "2023-11-27T09:42:50.708Z", "searchable": false, "read_only": false, "order": null, "deleted": false } ] } ] }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
field_group_id required |
Field group ID Validations:
|
// Successful request GET /api/v2/field_groups/2 200 { "id": 2, "name": "special_name", "created_at": "2023-11-27T09:42:50.848Z", "updated_at": "2023-11-27T09:42:50.859Z", "group_type": "default", "open_by_default": false, "locked": false, "add_by_default_to_media_types": [], "order": null, "deleted": false, "fields": [ { "id": 2, "field_group_id": 2, "name": "test_field_name", "field_type": "textbox", "dropdown_options": null, "created_at": "2023-11-27T09:42:50.857Z", "updated_at": "2023-11-27T09:42:50.857Z", "searchable": false, "read_only": false, "order": null, "deleted": false } ] }
// Field group not found GET /api/v2/field_groups/1337 404 { "error": "Couldn't find FieldGroup with 'id'=1337" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
name required |
Field group name Validations:
|
group_type optional |
Field group type Validations:
|
open_by_default optional |
Open by default Validations:
|
locked optional |
Locked Validations:
|
add_by_default_to_media_types optional |
Add by default to media types Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
field_group_id required |
Field group ID Validations:
|
name optional |
Field group name Validations:
|
open_by_default optional |
Open by default Validations:
|
locked optional |
Locked Validations:
|
add_by_default_to_media_types optional |
Add by default to media types Validations:
|
order optional |
Field group display order Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
field_group_id required |
Field group ID Validations:
|
name required |
Fields name Validations:
|
field_type required |
Fields type Validations:
|
dropdown_options optional |
Dropdown fields options Validations:
|
searchable optional |
Is field searchable Validations:
|
read_only optional |
Is field read only Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
field_group_id required |
Field group ID Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
field_group_id required |
Field group ID Validations:
|
field_id required |
Field ID Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
field_group_id required |
Field group ID Validations:
|
field_id required |
Field ID Validations:
|
name required |
Field Name Validations:
|
dropdown_options optional |
Dropdown menu options Validations:
|
searchable optional |
Is the field searchable Validations:
|
read_only optional |
Is the field read only Validations:
|
order optional |
Field display order Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |