This topic describes the API used to obtain a list of entries.
Request syntax
GET /v3/openapi/apps/[app_group_identity]/knowledge/entriesRequest parameters
Parameter | Type | Location | Description |
app_group_identity | String | Path | The application name, application ID, or instance ID. |
page_number | Integer | Query | The page number of the page to return. |
page_size | Integer | Query | The number of entries to return per page. |
keyword | String | Query | The keyword for filtering. |
Response parameters
Parameter | Type | Description | Example |
object | The response body. | ||
request_id | string | The request ID. | 766CF6DB-CA02-3E12-7CBA-6AC21FC978FD |
result | array | The returned result. | |
entry_id | string | The entry ID. | d0bd6a09-931a-424f-b4e7-b6ac20222768 |
create_time | timestamp | The time when the entry was created. | 1683897518000 |
update_time | timestamp | The time when the entry was modified. | 1684123251000 |
questions | array | The question. | No pains |
answer | string | The answer to the question. | No gains |
errors | array | The error code. | 6120 |
status | string | The status of the application. Valid values:
| normal |
Sample response body
{
"request_id": "123-456",
"result": [
{
"entry_id": "d0bd6a09-931a-424f-b4e7-b6ac20222768",
"create_time": 1683897518000,
"update_time": 1684123251000,
"questions": [
"No pains"
],
"answer": "No gains",
}
],
"errors": [],
"status": "OK"
}