API endpoint:
https://aistoryplanner.com/api/v1/chats
요청(Request) 예시:
curl --location --request GET 'https://aistoryplanner.com/api/v1/chats' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname = 문서 이름. 기본 설정: name.favoritesort_byid = 생성일, name = 문서 이름. 기본 설정: id.sortdesc = 내림차순, asc = 오름차순. 기본 설정: desc.per_page10, 25, 50, 100. 기본 설정: 25.API endpoint:
https://aistoryplanner.com/api/v1/chats/{id}
요청(Request) 예시:
curl --location --request GET 'https://aistoryplanner.com/api/v1/chats/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://aistoryplanner.com/api/v1/chats
요청(Request) 예시:
curl --location --request POST 'https://aistoryplanner.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}'
namebehaviorAPI endpoint:
https://aistoryplanner.com/api/v1/chats/{id}
요청(Request) 예시:
curl --location --request PUT 'https://aistoryplanner.com/api/v1/chats/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
namebehaviorfavoriteAPI endpoint:
https://aistoryplanner.com/api/v1/chats/{id}
요청(Request) 예시:
curl --location --request DELETE 'https://aistoryplanner.com/api/v1/chats/{id}' \ --header 'Authorization: Bearer {api_key}'