Bereiche
API-Endpunkt
https://clck.plus/api/v1/spaces
Anfragebeispiel
curl --location --request GET 'https://clck.plus/api/v1/spaces' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
search
search_by
name für Name. Standardwert: name.
sort_by
id für Erstellungsdatum, name für Name. Standardwert: id.
sort
desc für Absteigend, asc für Aufsteigend. Standardwert: desc.
per_page
10, 25, 50, 100. Standardwert: 50.
API-Endpunkt
https://clck.plus/api/v1/spaces/{id}
Anfragebeispiel
curl --location --request GET 'https://clck.plus/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API-Endpunkt
https://clck.plus/api/v1/spaces
Anfragebeispiel
curl --location --request POST 'https://clck.plus/api/v1/spaces' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
Parameter
name
color
1, 2, 3, 4, 5, 6. Standardwert: 1.
API-Endpunkt
https://clck.plus/api/v1/spaces/{id}
Anfragebeispiel
curl --location --request PUT 'https://clck.plus/api/v1/spaces/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
Parameter
name
color
1, 2, 3, 4, 5, 6.
API-Endpunkt
https://clck.plus/api/v1/spaces/{id}
Anfragebeispiel
curl --location --request DELETE 'https://clck.plus/api/v1/spaces/{id}' \ --header 'Authorization: Bearer {api_key}'