Hashtags
Hashtag related APIs
이 API는 문서의 분류 해시태그를 승인하거나 거부할 수 있게 합니다.
Authorizations
Header parameters
AGENT-EMAILstringOptional
Optional: Email of the agent to use for this request
USER-EMAILstringOptional
Optional: Email address to associate with the user
OWN-USER-IDstringOptional
Optional: User ID to identify or create a user
Body
Responses
200
오토 해시태그 피드백이 성공적으로 제출되었습니다.
application/json
400
잘못된 매개변수
post
POST /webapi/kb_auto_hashtag_feedback HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"autoHashtagFeedbacks": [
{
"id": "text",
"state": "text"
}
]
}
{
"result": [
{
"id": "text",
"state": "text"
}
]
}
FAQ 및 지식베이스에서 모든 해시태그와 사용 횟수를 가져옵니다.
Authorizations
Header parameters
AGENT-EMAILstringOptional
Optional: Email of the agent to use for this request
USER-EMAILstringOptional
Optional: Email address to associate with the user
OWN-USER-IDstringOptional
Optional: User ID to identify or create a user
Responses
200
해시태그를 성공적으로 가져왔습니다.
application/json
get
GET /webapi/hashtags HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
200
해시태그를 성공적으로 가져왔습니다.
{
"result": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
이 API는 문서에 대한 분류 키워드가 포함된 해시태그 목록을 가져옵니다.
Authorizations
Header parameters
AGENT-EMAILstringOptional
Optional: Email of the agent to use for this request
USER-EMAILstringOptional
Optional: Email address to associate with the user
OWN-USER-IDstringOptional
Optional: User ID to identify or create a user
Body
idsarrayOptional
오토 해시태그를 검색하려는 문서 ID
Responses
200
오토 해시태그가 성공적으로 검색되었습니다.
application/json
400
잘못된 매개변수
post
POST /webapi/kb_auto_hashtag HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10
{
"ids": []
}
{
"result": {
"updated": [
{
"id": "text",
"autoHashtags": [
{
"id": "text",
"state": "text",
"bestConfidence": 1,
"autoHashtag": {
"hashtag": "text"
}
}
]
}
]
},
"errors": {}
}
Was this helpful?