Collections
add collection
POST
https://ushahididocs.api.ushahidi.io/api/v3/collections
Request Body
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 |
edit collection
PUT
https://ushahididocs.api.ushahidi.io/api/v3/collections/3
Request Body
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 |