API endpunkt:
https://link.kroginski.de/api/v1/spaces
Beispiel anfordern:
curl --location --request GET 'https://link.kroginski.de/api/v1/spaces' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsortdesc für absteigend, asc für Aufsteigend. Stadard zu: desc.per_page10 zu 100. Stadard zu: 10.API endpunkt:
https://link.kroginski.de/api/v1/spaces/{id}
Beispiel anfordern:
curl --location --request GET 'https://link.kroginski.de/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpunkt:
https://link.kroginski.de/api/v1/spaces
Beispiel anfordern:
curl --location --request POST 'https://link.kroginski.de/api/v1/spaces' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
namecolor1, 2, 3, 4, 5, 6. Stadard zu: 1.API endpunkt:
https://link.kroginski.de/api/v1/spaces/{id}
Beispiel anfordern:
curl --location --request PUT 'https://link.kroginski.de/api/v1/spaces/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
namecolor1, 2, 3, 4, 5, 6.API endpunkt:
https://link.kroginski.de/spaces/{id}/destroy
Beispiel anfordern:
curl --location --request DELETE 'https://link.kroginski.de/spaces/{id}/destroy' \ --header 'Authorization: Bearer {api_key}'