נקודת גישה ל API:
http://tochen.supertech.co.il/api/v1/chats
דוגמת בקשה:
curl --location --request GET 'http://tochen.supertech.co.il/api/v1/chats' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname עבור שם. Defaults to: name.favoritesort_byid עבור תאריך יצירה, name עבור שם. Defaults to: id.sortdesc עבור בסדר יורד, asc עבור בסדר עולה. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.נקודת גישה ל API:
http://tochen.supertech.co.il/api/v1/chats/{id}
דוגמת בקשה:
curl --location --request GET 'http://tochen.supertech.co.il/api/v1/chats/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
נקודת גישה ל API:
http://tochen.supertech.co.il/api/v1/chats
דוגמת בקשה:
curl --location --request POST 'http://tochen.supertech.co.il/api/v1/chats' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'description={description}'
namebehaviorנקודת גישה ל API:
http://tochen.supertech.co.il/api/v1/chats/{id}
דוגמת בקשה:
curl --location --request PUT 'http://tochen.supertech.co.il/api/v1/chats/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
namebehaviorfavoriteנקודת גישה ל API:
http://tochen.supertech.co.il/api/v1/chats/{id}
דוגמת בקשה:
curl --location --request DELETE 'http://tochen.supertech.co.il/api/v1/chats/{id}' \ --header 'Authorization: Bearer {api_key}'