API endpoint:
https://short.suiteshare.com/api/v1/spaces
Exemplo de requisição:
curl --location --request GET 'https://short.suiteshare.com/api/v1/spaces' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
for Decrescente, asc
for Crescente. Defaults to: desc
.per_page
10
to 100
. Defaults to: 10
.API endpoint:
https://short.suiteshare.com/api/v1/spaces/{id}
Exemplo de requisição:
curl --location --request GET 'https://short.suiteshare.com/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://short.suiteshare.com/api/v1/spaces
Exemplo de requisição:
curl --location --request POST 'https://short.suiteshare.com/api/v1/spaces' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
color
1
, 2
, 3
, 4
, 5
, 6
. Defaults to: 1
.API endpoint:
https://short.suiteshare.com/api/v1/spaces/{id}
Exemplo de requisição:
curl --location --request PUT 'https://short.suiteshare.com/api/v1/spaces/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
color
1
, 2
, 3
, 4
, 5
, 6
.API endpoint:
https://short.suiteshare.com/api/v1/spaces/{id}
Exemplo de requisição:
curl --location --request DELETE 'https://short.suiteshare.com/api/v1/spaces/{id}' \ --header 'Authorization: Bearer {api_key}'