fieldCreate
Create a field. The fieldCreate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
For a complete list of input attributes see the FieldAttributes type
mutation fieldCreate ($attributes: FieldAttributes!) {
fieldCreate (attributes: $attributes) {
errors
field {
computed
label
name
}
}
}
Arguments
{
"attributes": {
"id": "456123",
"objId": "456123",
"name": "",
"kind": "",
"description": "",
"label": "",
"required": true
}
}
| Name | Type | Description |
|---|---|---|
| attributes | FieldAttributes |
Response
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| field | Field |