نقطه پایانی API:
https://www.aicontent.webnest.ir/api/v1/documents
نمونه درخواست:
curl --location --request GET 'https://www.aicontent.webnest.ir/api/v1/documents' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname.template_idfreestyle.favoritesort_byid.sortdesc.per_page10, 25, 50, 100. پیشفرض برای: 10.نقطه پایانی API:
https://www.aicontent.webnest.ir/api/v1/documents/{id}
نمونه درخواست:
curl --location --request GET 'https://www.aicontent.webnest.ir/api/v1/documents/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
نقطه پایانی API:
https://www.aicontent.webnest.ir/api/v1/documents
نمونه درخواست:
curl --location --request POST 'https://www.aicontent.webnest.ir/api/v1/documents' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'prompt={prompt}'
namepromptcreativity0.5.نقطه پایانی API:
https://www.aicontent.webnest.ir/api/v1/documents/{id}
نمونه درخواست:
curl --location --request PUT 'https://www.aicontent.webnest.ir/api/v1/documents/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
nameresultfavoriteنقطه پایانی API:
https://www.aicontent.webnest.ir/api/v1/documents/{id}
نمونه درخواست:
curl --location --request DELETE 'https://www.aicontent.webnest.ir/api/v1/documents/{id}' \ --header 'Authorization: Bearer {api_key}'