Skip to content

Commit d9356fa

Browse files
committed
add create index API as an async job
this proposed solution is for a parameter-style UWS job that fits the current DAL landscape
1 parent c25132f commit d9356fa

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

openapi/vosi-table-ops.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
get:
2+
operationId: table-ops-job-list
3+
tags:
4+
- Table Operations
5+
summary: list async table update jobs
6+
description: async job listing
7+
parameters:
8+
responses:
9+
200:
10+
$ref: ../uws/uws-responses.yaml#/job-listing
11+
401:
12+
$ref: ../vosi/vosi-std-responses.yaml#/not-authenticated
13+
403:
14+
$ref: ../vosi/vosi-std-responses.yaml#/permission-denied
15+
post:
16+
operationId: table-ops-job-create
17+
tags:
18+
- Table Operations
19+
summary: create async table update job
20+
description: TAP asynchronous table update (create UWS Job)
21+
parameters:
22+
- name: TABLE
23+
in: query
24+
description: a single table name as provided in tap_schema
25+
required: true
26+
schema:
27+
type: string
28+
- name: INDEX
29+
in: query
30+
description: create index operation; value is a column name in the table
31+
required: false
32+
schema:
33+
type: string
34+
- name: UNIQUE
35+
in: query
36+
description: qualifier for INDEX to create a unique index
37+
required: false
38+
schema:
39+
type: boolean
40+
responses:
41+
303:
42+
$ref: ../uws/uws-responses.yaml#/created
43+
401:
44+
$ref: ../vosi/vosi-std-responses.yaml#/not-authenticated
45+
403:
46+
$ref: ../vosi/vosi-std-responses.yaml#/permission-denied
47+
404:
48+
$ref: ./vosi-std-responses.yaml#/not-found
49+
405:
50+
$ref: ./vosi-std-responses.yaml#/not-implemented

0 commit comments

Comments
 (0)