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
90
91
92
93
94
95
96
97
98
99
100
|
{
"basePath": "/_ah/api",
"consumes": [
"application/json"
],
"definitions": {
"WebappSrcProtoModelDefaultResponse": {
"properties": {
"return_code": {
"enum": [
"SUCCESS",
"FAIL"
],
"type": "string"
}
},
"type": "object"
},
"WebappSrcProtoModelDeviceInfoMessage": {
"properties": {
"product": {
"type": "string"
},
"scheduling_status": {
"format": "int64",
"type": "string"
},
"serial": {
"type": "string"
},
"status": {
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"WebappSrcProtoModelHostInfoMessage": {
"properties": {
"devices": {
"description": "A message for representing an individual host's device entry.",
"items": {
"$ref": "#/definitions/WebappSrcProtoModelDeviceInfoMessage"
},
"type": "array"
},
"hostname": {
"type": "string"
}
},
"type": "object"
}
},
"host": "vtslab-schedule-prod.appspot.com",
"info": {
"description": "Endpoint API for host_info.",
"title": "host_info",
"version": "v1"
},
"paths": {
"/host_info/v1/set": {
"post": {
"operationId": "HostInfoApi_set",
"parameters": [
{
"in": "body",
"name": "body",
"schema": {
"$ref": "#/definitions/WebappSrcProtoModelHostInfoMessage"
}
}
],
"responses": {
"200": {
"description": "A successful response",
"schema": {
"$ref": "#/definitions/WebappSrcProtoModelDefaultResponse"
}
}
}
}
}
},
"produces": [
"application/json"
],
"schemes": [
"https"
],
"securityDefinitions": {
"google_id_token": {
"authorizationUrl": "",
"flow": "implicit",
"type": "oauth2",
"x-google-issuer": "https://accounts.google.com",
"x-google-jwks_uri": "https://www.googleapis.com/oauth2/v3/certs"
}
},
"swagger": "2.0"
}
|