Skip to content

Commit

Permalink
update table preview doc
Browse files Browse the repository at this point in the history
Signed-off-by: zhihuiwan <[email protected]>
  • Loading branch information
zhihuiwan committed Apr 7, 2023
1 parent 6702c0b commit d5aa0af
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions doc/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,57 @@ paths:
type: string
example: no find table

'/table/preview':
post:
summary: table data preview
tags:
- table
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
- namespace
properties:
name:
type: string
example: "guest"
namespace:
type: string
example: "data"
responses:
'200':
description: get preview table success
content:
application/json:
schema:
type: object
properties:
retcode:
type: integer
example: 0
retmsg:
type: string
example: success
data:
type: object
'404':
description: no found table
content:
application/json:
schema:
type: object
properties:
retcode:
type: integer
example: 210
retmsg:
type: string
example: no find table

'/job/submit':
post:
summary: submit job
Expand Down

0 comments on commit d5aa0af

Please sign in to comment.