نقطه پایانی API:
https://akoo.ir/api/v1/domains
درخواست نمونه:
curl --location --request GET 'https://akoo.ir/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
برای نزولی, asc
برای صعودی. پیشفرض: desc
.per_page
10
.نقطه پایانی API:
https://akoo.ir/api/v1/domains/{id}
درخواست نمونه:
curl --location --request GET 'https://akoo.ir/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
نقطه پایانی API:
https://akoo.ir/api/v1/domains
درخواست نمونه:
curl --location --request POST 'https://akoo.ir/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:
https://akoo.ir/api/v1/domains/{id}
درخواست نمونه:
curl --location --request PUT 'https://akoo.ir/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:
https://akoo.ir/domains/{id}/destroy
درخواست نمونه:
curl --location --request DELETE 'https://akoo.ir/domains/{id}/destroy' \ --header 'Authorization: Bearer {api_key}'