Punto final de API:
https://corta.es/api/v1/domains
Ejemplo de solicitud:
curl --location --request GET 'https://corta.es/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname for Nombre. Valor predeterminado: name.sort_byid for Fecha de creación, name for Nombre. Valor predeterminado: id.sortdesc for Descendente, asc for Ascendente. Valor predeterminado: desc.per_page10, 25, 50, 100. Valor predeterminado: 100.Punto final de API:
https://corta.es/api/v1/domains/{id}
Ejemplo de solicitud:
curl --location --request GET 'https://corta.es/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
Punto final de API:
https://corta.es/api/v1/domains
Ejemplo de solicitud:
curl --location --request POST 'https://corta.es/api/v1/domains' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
nameindex_pagenot_found_pagePunto final de API:
https://corta.es/api/v1/domains/{id}
Ejemplo de solicitud:
curl --location --request PUT 'https://corta.es/api/v1/domains/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
index_pagenot_found_pagePunto final de API:
https://corta.es/api/v1/domains/{id}
Ejemplo de solicitud:
curl --location --request DELETE 'https://corta.es/api/v1/domains/{id}' \ --header 'Authorization: Bearer {api_key}'