Collections
add collection
POST
https://ushahididocs.api.ushahidi.io/api/v3/collections
Request Body
edit collection
PUT
https://ushahididocs.api.ushahidi.io/api/v3/collections/3
POST
https://ushahididocs.api.ushahidi.io/api/v3/collections
PUT
https://ushahididocs.api.ushahidi.io/api/v3/collections/3
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
user_id
String
The user identifier
view
String
Type of view e.g. "list"
description
String
Collection description
name
String
The name of collection
view_options
String
View Option
role
String
Role
featured
Boolean
Set True to feature collection and False for unfeatured
user_id
String
The user identifier
view
String
Type of view e.g. "list"
description
String
Collection description
name
String
The name of collection
view_options
String
View Option
role
String
Role
featured
Boolean
Set True to feature collection and False for unfeatured
OK
OK
OK
"{\"id\":1,\"url\":\"http://localhost:8000/api/v3/users/1\"}"