-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlambda-shield-redirect.swagger.yaml
51 lines (51 loc) · 1.22 KB
/
lambda-shield-redirect.swagger.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
swagger: '2.0'
info:
title: Shield API
version: 1.0.0
schemes:
- https
basePath: /v1
produces:
- application/json
paths:
/lambda-shield-redirect:
get:
produces:
- "application/json"
parameters:
- name: user
in: query
required: false
type: string
- name: repo
in: query
required: false
type: string
- name: branch
in: query
required: false
type: string
responses:
200:
description: "200 response"
schema:
$ref: "#/definitions/Empty"
headers: {}
303:
description: "303 response"
headers:
Location:
type: "string"
x-amazon-apigateway-integration:
responses:
default:
statusCode: "303"
responseParameters:
method.response.header.Location: "integration.response.body.location"
uri: "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:620048203451:function:shield-redirect/invocations"
httpMethod: "POST"
type: "aws"
definitions:
Empty:
type: object
properties: {}