OK
const response = await fetch('https://ushahididocs.api.ushahidi.io/api/v3/permissions', { method: 'GET', headers: {}, }); const data = await response.json();
{ "results": [ { "url": "text", "name": "text", "description": "text", "allowed_privileges": [ "text" ] } ], "order": "text", "orderby": "text", "curr": "text", "next": "text", "prev": "text" }
const response = await fetch('https://ushahididocs.api.ushahidi.io/api/v3/permissions/100', { method: 'GET', headers: {}, }); const data = await response.json();
{ "results": [ { "url": "text", "name": "text", "description": "text", "allowed_privileges": [ "text" ] } ] }