API endpoint:
https://seurastreamento.online/api/v1/domains
Exemplo de solicitação:
curl --location --request GET 'https://seurastreamento.online/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
.per_page
10
.API endpoint:
https://seurastreamento.online/api/v1/domains/{id}
Exemplo de solicitação:
curl --location --request GET 'https://seurastreamento.online/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://seurastreamento.online/api/v1/domains
Exemplo de solicitação:
curl --location --request POST 'https://seurastreamento.online/api/v1/domains' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
index_page
not_found_page
API endpoint:
https://seurastreamento.online/api/v1/domains/{id}
Exemplo de solicitação:
curl --location --request PUT 'https://seurastreamento.online/api/v1/domains/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
index_page
not_found_page
API endpoint:
https://seurastreamento.online/domains/{id}/destroy
Exemplo de solicitação:
curl --location --request DELETE 'https://seurastreamento.online/domains/{id}/destroy' \ --header 'Authorization: Bearer {api_key}'