API endpoint:
https://links.pkso.ir/api/v1/domains
درخواست نمونه:
curl --location --request GET 'https://links.pkso.ir/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname for نام. Defaults to: name.sort_byid for تاریخ ایجاد, name for نام. Defaults to: id.sortdesc for نزولی, asc for صعودی. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.API endpoint:
https://links.pkso.ir/api/v1/domains/{id}
درخواست نمونه:
curl --location --request GET 'https://links.pkso.ir/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://links.pkso.ir/api/v1/domains
درخواست نمونه:
curl --location --request POST 'https://links.pkso.ir/api/v1/domains' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
nameindex_pagenot_found_pageAPI endpoint:
https://links.pkso.ir/api/v1/domains/{id}
درخواست نمونه:
curl --location --request PUT 'https://links.pkso.ir/api/v1/domains/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
index_pagenot_found_pageAPI endpoint:
https://links.pkso.ir/api/v1/domains/{id}
درخواست نمونه:
curl --location --request DELETE 'https://links.pkso.ir/api/v1/domains/{id}' \ --header 'Authorization: Bearer {api_key}'