API endpoint:
https://wryter.de/public/api/v1/chats
Beispiel anfordern:
curl --location --request GET 'https://wryter.de/public/api/v1/chats' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
für Name. Standardwert ist: name
.favorite
sort_by
id
für Erstellt, name
für Name. Standardwert ist: id
.sort
desc
für Absteigend, asc
für Aufsteigend. Standardwert ist: desc
.per_page
10
, 25
, 50
, 100
. Standardwert ist: 10
.API endpoint:
https://wryter.de/public/api/v1/chats/{id}
Beispiel anfordern:
curl --location --request GET 'https://wryter.de/public/api/v1/chats/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://wryter.de/public/api/v1/chats
Beispiel anfordern:
curl --location --request POST 'https://wryter.de/public/api/v1/chats' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'description={description}'
name
behavior
API endpoint:
https://wryter.de/public/api/v1/chats/{id}
Beispiel anfordern:
curl --location --request PUT 'https://wryter.de/public/api/v1/chats/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
behavior
favorite
API endpoint:
https://wryter.de/public/api/v1/chats/{id}
Beispiel anfordern:
curl --location --request DELETE 'https://wryter.de/public/api/v1/chats/{id}' \ --header 'Authorization: Bearer {api_key}'