Notification

get notifications

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

Example: asc
limitinteger · int32Optional

Paging parameter Default value : null

Example: 2
offsetinteger · int32Optional

Paging parameter Default value : 0

Example: 3
userinteger · int32Optional

Filter Parameter check the user id

Example: 2
setinteger · int32Optional

Filter Parameter check the set id

Example: 1
Responses
200

OK

application/json
get
/api/v3/notifications

add notification

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

Request Body

Name
Type
Description

user_id

Integer

The user identifier

set_id

Integer

Set ID

add notification

PUT https://ushahididocs.api.ushahidi.io/api/v3/notifications/6

Request Body

Name
Type
Description

user_id

Integer

The user identifier

set_id

Integer

Set ID

get notification

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

OK

application/json
get
/api/v3/notifications/6

delete notification

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

OK

application/json
delete
/api/v3/notifications/6