POST
https://ushahididocs.api.ushahidi.io/api/v3/layers
name
String
Layer name
visible_by_default
Boolean
Set True to make the layer visible by default and False to not
active
Boolean
Set True for active layer and False for Inactive layer
options
Array
Contains an array of layer options
type
String
Layer type
media
String
media
data_url
String
Data source URL
PUT
https://ushahididocs.api.ushahidi.io/api/v3/layers/1
name
String
Layer name
visible_by_default
Boolean
Set True to make the layer visible by default and False to not
active
Boolean
Set True for active layer and False for Inactive layer
options
Array
Contains an array of layer options
type
String
Layer type
media
String
media
data_url
String
Data source URL
/api/v3/layers
Sorting parameter Available values : entity fields Default value : id
id
Sorting parameter Available values : [ASC,DESC] Default value : ASC
asc
Paging parameter Default value : null
2
Paging parameter Default value : 0
3
Filter Parameter check the type
true
Filter Parameter check the type Available values : [wms,geojson]
geojson