API endpoint:
https://seurastreamento.online/api/v1/spaces
Exemplo de solicitação:
curl --location --request GET 'https://seurastreamento.online/api/v1/spaces' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
.per_page
10
.API endpoint:
https://seurastreamento.online/api/v1/spaces/{id}
Exemplo de solicitação:
curl --location --request GET 'https://seurastreamento.online/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://seurastreamento.online/api/v1/spaces
Exemplo de solicitação:
curl --location --request POST 'https://seurastreamento.online/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://seurastreamento.online/api/v1/spaces/{id}
Exemplo de solicitação:
curl --location --request PUT 'https://seurastreamento.online/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://seurastreamento.online/spaces/{id}/destroy
Exemplo de solicitação:
curl --location --request DELETE 'https://seurastreamento.online/spaces/{id}/destroy' \ --header 'Authorization: Bearer {api_key}'