-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsigned-url-dev-portal.yaml
64 lines (64 loc) · 1.64 KB
/
signed-url-dev-portal.yaml
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
swagger: '2.0'
info:
description: 'Get Upload URL.'
version: 1.0.0
title: Get Signed URL to upload data to Omny Health
host: apigeex.dlhdemo.com
externalDocs:
description: API Documentation
schemes:
- http
- https
paths:
/signed-url/upload:
get:
summary: Get signed url used to upload data
operationId: Get signed url
description: Get signed url
produces:
- text/plain
parameters:
- name: bucket
in: query
description: GCP storage bucket
required: true
type: string
default: apigee-signedurl-bucket-91c70179
- name: object
in: query
description: name of object
required: true
type: string
default: mydata.zip
responses:
'200':
description: Success
/signed-url/download:
get:
summary: Get signed url used to download data
operationId: Get signed url
description: Get signed url
produces:
- text/plain
parameters:
- name: bucket
in: query
description: GCP storage bucket
required: true
type: string
default: apigee-signedurl-bucket-91c70179
- name: object
in: query
description: name of object
required: true
type: string
default: mydata.zip
responses:
'200':
description: Success
definitions:
request-body:
properties:
replace-me:
type: object
description: 'Replace with request payload in application/json, application/x-www-form-urlencoded, or application/xml format.'