API Endpunkt:
https://dlx-content.com/api/v1/chats
Beispiel anfordern:
curl --location --request GET 'https://dlx-content.com/api/v1/chats' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
für Name. Standardwert: name
.favorite
sort_by
id
für Erstellungsdatum, name
für Name. Standardwert: id
.sort
desc
für Absteigend, asc
für Aufsteigend. Standardwert: desc
.per_page
10
, 25
, 50
, 100
. Standardwert: 100
.API Endpunkt:
https://dlx-content.com/api/v1/chats/{id}
Beispiel anfordern:
curl --location --request GET 'https://dlx-content.com/api/v1/chats/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API Endpunkt:
https://dlx-content.com/api/v1/chats
Beispiel anfordern:
curl --location --request POST 'https://dlx-content.com/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 Endpunkt:
https://dlx-content.com/api/v1/chats/{id}
Beispiel anfordern:
curl --location --request PUT 'https://dlx-content.com/api/v1/chats/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
behavior
favorite
API Endpunkt:
https://dlx-content.com/api/v1/chats/{id}
Beispiel anfordern:
curl --location --request DELETE 'https://dlx-content.com/api/v1/chats/{id}' \ --header 'Authorization: Bearer {api_key}'