-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrealtime-location.yaml
39 lines (39 loc) · 1018 Bytes
/
realtime-location.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
swagger: "2.0"
info:
title: realtime-locations
description: Realtime Location
version: 1.0.0
schemes:
- https
paths:
"/shuttle/{id}":
get:
parameters:
- in: path
name: id
type: integer
required: true
operationId: "shuttleGet"
x-google-backend:
address: https://us-central1-campus-shuttle-monitor.cloudfunctions.net/shuttle
path_translation: CONSTANT_ADDRESS
description: "Get most recent coordinate data."
responses:
200:
description: "Success."
schema:
type: object
post:
parameters:
- in: path
name: id
type: integer
required: true
operationId: "shuttlePost"
x-google-backend:
address: https://us-central1-campus-shuttle-monitor.cloudfunctions.net/shuttle
path_translation: CONSTANT_ADDRESS
description: "Post new coordinate data."
responses:
200:
description: "Success."