mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [api doc] typo
This commit is contained in:
parent
4c20f58a52
commit
98fb6ecef7
3 changed files with 3 additions and 2 deletions
|
@ -85,6 +85,7 @@ def get_item(request_dict):
|
|||
|
||||
content = request_dict.get('content', False)
|
||||
if content:
|
||||
# UTF-8 outpout, # TODO: use base64
|
||||
dict_item['content'] = get_item_content(item_id)
|
||||
|
||||
lines_info = request_dict.get('lines', False)
|
||||
|
|
|
@ -277,7 +277,7 @@ curl https://127.0.0.1:7000/api/get/item --header "Authorization: iHc1_ChZxj1aXm
|
|||
**HTTP Status Code** : `200`
|
||||
```json
|
||||
{
|
||||
"content": "b'dsvcdsvcdsc vvvv'",
|
||||
"content": "dsvcdsvcdsc vvvv",
|
||||
"date": "20190726",
|
||||
"id": "submitted/2019/07/26/3efb8a79-08e9-4776-94ab-615eb370b6d4.gz",
|
||||
"lines": {
|
||||
|
|
|
@ -182,7 +182,7 @@ def get_item_id_basic(item_id):
|
|||
|
||||
- Example::
|
||||
|
||||
curl -k https://127.0.0.1:7000/api/get/item/default --header "Authorization: iHc1_ChZxj1aXmiFiF1mkxxQkzawwriEaZpPqyTQj " -H "Content-Type: application/json --data @input.json -X POST"
|
||||
curl -k https://127.0.0.1:7000/api/get/item/default/<item_id> --header "Authorization: iHc1_ChZxj1aXmiFiF1mkxxQkzawwriEaZpPqyTQj " -H "Content-Type: application/json --data @input.json -X POST"
|
||||
|
||||
- Expected Success Response::
|
||||
|
||||
|
|
Loading…
Reference in a new issue