Spazi
Endpoint API
https://clck.plus/api/v1/spaces
Esempio di richiesta
curl --location --request GET 'https://clck.plus/api/v1/spaces' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parametri
search
search_by
name per Nome. Valore predefinito: name.
sort_by
id per Data di creazione, name per Nome. Valore predefinito: id.
sort
desc per Decrescente, asc per Crescente. Valore predefinito: desc.
per_page
10, 25, 50, 100. Valore predefinito: 50.
Endpoint API
https://clck.plus/api/v1/spaces/{id}
Esempio di richiesta
curl --location --request GET 'https://clck.plus/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
Endpoint API
https://clck.plus/api/v1/spaces
Esempio di richiesta
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}'
Parametri
name
color
1, 2, 3, 4, 5, 6. Valore predefinito: 1.
Endpoint API
https://clck.plus/api/v1/spaces/{id}
Esempio di richiesta
curl --location --request PUT 'https://clck.plus/api/v1/spaces/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
Parametri
name
color
1, 2, 3, 4, 5, 6.
Endpoint API
https://clck.plus/api/v1/spaces/{id}
Esempio di richiesta
curl --location --request DELETE 'https://clck.plus/api/v1/spaces/{id}' \ --header 'Authorization: Bearer {api_key}'