Form Attribute
add form attribute
POST
https://ushahididocs.api.ushahidi.io/api/v3/forms/4/attributes
Request Body
Name | Type | Description |
---|---|---|
label | String | Form atributes label |
required | String | Set True make a form required and False for optional |
type | String | Attribute type |
input | String | form input type |
cardinality | Integer | |
priority | Integer | Set priority value |
config | String | |
response_private | String | Set True to make the response private and False to not |
key | String | Form attributes key |
form_stage_id | Integer | Form stager ID |
default | String | |
instructions | String | Form instructions |
edit form attribute
PUT
https://ushahididocs.api.ushahidi.io/api/v3/forms/4/attributes/18
Request Body
Name | Type | Description |
---|---|---|
label | String | Form atributes label |
required | String | Set True make a form required and False for optional |
type | String | Attribute type |
input | String | form input type |
cardinality | Integer | |
priority | Integer | Set priority value |
config | String | |
response_private | String | Set True to make the response private and False to not |
key | String | Form attributes key |
form_stage_id | Integer | Form stager ID |
default | String | |
instructions | String | Form instructions |