-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP API documents, part1 #2713
Conversation
Signed-off-by: Jin Hai <[email protected]>
|
||
```shell | ||
{ | ||
"code": 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to unify code
and error_code
.
api/http_api.md
Outdated
|
||
## List files of a dataset | ||
|
||
**GET** `/api/v1/dataset/{dataset_id}/documents?keywords={keyword}&page={page}&page_size={limit}&orderby={orderby}&desc={desc}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No document for page
and page_size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
page and page_size is offset and limit to show in one page.
Signed-off-by: Jin Hai <[email protected]>
Signed-off-by: Jin Hai <[email protected]>
Signed-off-by: Jin Hai <[email protected]>
### What problem does this PR solve? 1. dataset: create/delete/list/get/update 2. files in dataset: upload/download/list/delete/get_info ### Type of change - [x] Documentation Update --------- Signed-off-by: Jin Hai <[email protected]>
What problem does this PR solve?
Type of change