Skip to content

Returns the permissions the logged in user has for the given food share point​

GET
/api/food-share-points/{foodSharePointId}/permissions

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters​

Path Parameters

foodSharePointId*
Typeinteger
Required
Minimum1

Responses​

Success.

application/json
JSON
{
"isFollower": false,
"mayEdit": false,
"mayDelete": false
}

Playground​

Authorization
Variables
Key
Value

Samples​

cURL
JavaScript
PHP
Python