Forms

get forms

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
orderbystringOptional

Sorting parameter Available values : entity fields Default value : id

Example: id
orderstringOptional

Sorting parameter Available values : [ASC,DESC] !! Default value : ASC "default not working"

Example: Desc
limitinteger · int32Optional

Paging parameter Default value : null

Example: 2
offsetinteger · int32Optional

Paging parameter Default value : 0

Example: 3
qstringOptional

Filter parameter like name

Example: test
parentinteger · int32Optional

Filter parameter check the parent id value

Example: 1
Responses
200

OK

application/json
get
/api/v3/forms
200

OK

add form

POST https://ushahididocs.api.ushahidi.io/api/v3/forms

Request Body

Name
Type
Description

type

String

Form type

parent_id

String

The user's parent identifier

hide_time

String

Set True to hide the time and Flase to make the time visible

color

String

Form color

hide_location

String

Set True to hide the location and Flase to make the location visible

updated

String

require_approval

String

Set True to require form approval and Flase to not

targeted_survey

String

Set True to enable targeted survey and false to disable targeted survey

disabled

Boolean

Set True to disable the form and false to enable the form

everyone_can_create

String

Set True to allow everyone to create form and False to not

description

String

Form description

name

String

Form name

hide_author

Boolean

Set True to hide the author and Flase to make the author visible

add form

PUT https://ushahididocs.api.ushahidi.io/api/v3/forms/9

Request Body

Name
Type
Description

type

String

Form type

parent_id

String

The user's parent identifier

hide_time

String

Set True to hide the time and Flase to make the time visible

color

String

Form color

hide_location

String

Set True to hide the location and Flase to make the location visible

updated

String

require_approval

String

Set True to require form approval and Flase to not

targeted_survey

String

Set True to enable targeted survey and false to disable targeted survey

disabled

Boolean

Set True to disable the form and false to enable the form

everyone_can_create

String

Set True to allow everyone to create form and False to not

description

String

Form description

name

String

Form name

hide_author

Boolean

Set True to hide the author and Flase to make the author visible

get form

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

OK

application/json
get
/api/v3/forms/9

delete form

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

OK

application/json
delete
/api/v3/forms/1

get forms attributes

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

OK

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

OK

get forms stages

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

OK

application/json
get
/api/v3/forms/stages
200

OK

get form stats

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

OK

application/json
get
/api/v3/forms/4/stats