-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi2-spec.yaml
More file actions
89 lines (89 loc) · 1.96 KB
/
openapi2-spec.yaml
File metadata and controls
89 lines (89 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
swagger: '2.0'
host: halcyon-api-gateway-bm6h3c7g.uc.gateway.dev
schemes:
- https
- http
x-google-backend:
address: https://api-gateway-tj76tt6qmq-uc.a.run.app
security:
- api_key: []
produces:
- application/json
info:
description: The Halcyon API for document upload via signed url.
title: Halcyon API
version: 0.0.1
paths:
/document/upload:
put:
parameters:
- in: query
name: document_type
required: true
type: string
- in: body
name: body
required: true
schema:
$ref: '#/definitions/UploadRequest'
responses:
'200':
description: Successful Response
schema: {}
'422':
description: Validation Error
schema:
$ref: '#/definitions/HTTPValidationError'
operationId: get_upload_url_devices_upload_put
summary: Get Upload Url
definitions:
UploadRequest:
properties:
blob_name:
title: Blob Name
type: string
organization:
title: organization
type: string
person:
title: person
type: string
required:
- organization
- person
- blob_name
title: UploadRequest
type: object
ValidationError:
properties:
loc:
items:
type: string
title: Location
type: array
msg:
title: Message
type: string
type:
title: Error Type
type: string
required:
- loc
- msga
- type
title: ValidationError
type: object
HTTPValidationError:
properties:
detail:
items:
$ref: "#/definitions/ValidationError"
title: Detail
type: array
title: HTTPValidationError
type: object
securityDefinitions:
api_key:
type: "apiKey"
name: "key"
in: "query"