Form Attribute

get form attributes

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get
/api/v3/forms/5/attributes
200

OK

get form attribute

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get
/api/v3/forms/4/attributes/18

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

delete form attribute

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
delete
/api/v3/forms/4/attributes/18