Skip to content

Commit be1db1e

Browse files
author
Ferdinando Primerano
committed
Update documentation
1 parent ea4cc69 commit be1db1e

File tree

1 file changed

+53
-3
lines changed

1 file changed

+53
-3
lines changed

web/views/documentation/protected_areas.md

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,22 @@ Sample response:
8282
name: "National"
8383
}
8484
},
85-
"marine": false
85+
"no_take_status": {
86+
"id": 11874,
87+
"name": "Not Applicable"
88+
},
89+
"legal_status": {
90+
"id": 1,
91+
"name": "Designated"
92+
},
93+
"management_authority": {
94+
"id": 6,
95+
"name": "Not Reported"
96+
},
97+
"marine": false,
98+
"legal_status_updated_at": "01/01/1998",
99+
"management_plan": "Not Reported",
100+
"is_green_list": false
86101
}
87102
]
88103
}
@@ -156,7 +171,22 @@ Sample response:
156171
name: "National"
157172
}
158173
},
159-
"marine": false
174+
"no_take_status": {
175+
"id": 11874,
176+
"name": "Not Applicable"
177+
},
178+
"legal_status": {
179+
"id": 1,
180+
"name": "Designated"
181+
},
182+
"management_authority": {
183+
"id": 6,
184+
"name": "Not Reported"
185+
},
186+
"marine": false,
187+
"legal_status_updated_at": "01/01/1998",
188+
"management_plan": "Not Reported",
189+
"is_green_list": false
160190
}
161191
}
162192
~~~
@@ -169,6 +199,11 @@ search is possible on the `marine` attribute and on the country ISO.
169199
The accepted parameters are:
170200

171201
~~~
202+
is_green_list (Boolean)
203+
If set to true, returns all green listed protected areas, paginated.
204+
If set to false, returns all non-green listed protected areas, paginated.
205+
By default, this is unset: both green listed and non-green listed protected areas are returned.
206+
172207
marine (Boolean)
173208
If set to true, returns all marine protected areas, paginated.
174209
If set to false, returns all terrestrial protected areas, paginated.
@@ -269,7 +304,22 @@ Sample response:
269304
name: "National"
270305
}
271306
},
272-
"marine": false
307+
"no_take_status": {
308+
"id": 11874,
309+
"name": "Not Applicable"
310+
},
311+
"legal_status": {
312+
"id": 1,
313+
"name": "Designated"
314+
},
315+
"management_authority": {
316+
"id": 6,
317+
"name": "Not Reported"
318+
},
319+
"marine": false,
320+
"legal_status_updated_at": "01/01/1998",
321+
"management_plan": "Not Reported",
322+
"is_green_list": false
273323
}
274324
]
275325
}

0 commit comments

Comments
 (0)