/api/v1/contextcontext:readVerein und freigegebene Leserechte
Benötigt context:read. Der Verein stammt ausschließlich aus dem API-Schlüssel.
curl 'https://www.laubenmeister.de/api/v1/context' \
--header "Authorization: Bearer $LAUBENMEISTER_API_KEY"Beispielantwort
200 OK{
"data": {
"apiVersion": "v1",
"association": {
"id": 1,
"name": "Kleingartenverein Beispiel e.V."
},
"scopes": [
"context:read"
]
}
}AntwortschemaContextResponse
{
"additionalProperties": false,
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"enum": [
"v1"
],
"type": "string"
},
"association": {
"additionalProperties": false,
"properties": {
"id": {
"minimum": 1,
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"type": "object"
},
"scopes": {
"items": {
"$ref": "#/components/schemas/Scope"
},
"type": "array"
}
},
"required": [
"association",
"scopes",
"apiVersion"
],
"type": "object"
}
},
"required": [
"data"
],
"type": "object"
}