1{
2  "basePath": "/_ah/api",
3  "consumes": [
4    "application/json"
5  ],
6  "definitions": {
7    "WebappSrcProtoModelBuildInfoMessage": {
8      "properties": {
9        "artifact_type": {
10          "type": "string"
11        },
12        "artifacts": {
13          "items": {
14            "type": "string"
15          },
16          "type": "array"
17        },
18        "build_id": {
19          "type": "string"
20        },
21        "build_target": {
22          "type": "string"
23        },
24        "build_type": {
25          "type": "string"
26        },
27        "manifest_branch": {
28          "type": "string"
29        },
30        "signed": {
31          "type": "boolean"
32        }
33      },
34      "type": "object"
35    },
36    "WebappSrcProtoModelBuildResponseMessage": {
37      "properties": {
38        "builds": {
39          "description": "A message for representing an individual build entry.",
40          "items": {
41            "$ref": "#/definitions/WebappSrcProtoModelBuildInfoMessage"
42          },
43          "type": "array"
44        },
45        "has_next": {
46          "type": "boolean"
47        }
48      },
49      "type": "object"
50    },
51    "WebappSrcProtoModelCountRequestMessage": {
52      "properties": {
53        "filter": {
54          "type": "string"
55        }
56      },
57      "type": "object"
58    },
59    "WebappSrcProtoModelCountResponseMessage": {
60      "properties": {
61        "count": {
62          "format": "int64",
63          "type": "string"
64        }
65      },
66      "type": "object"
67    },
68    "WebappSrcProtoModelDefaultResponse": {
69      "properties": {
70        "return_code": {
71          "enum": [
72            "SUCCESS",
73            "FAIL"
74          ],
75          "type": "string"
76        }
77      },
78      "type": "object"
79    },
80    "WebappSrcProtoModelGetRequestMessage": {
81      "properties": {
82        "direction": {
83          "type": "string"
84        },
85        "filter": {
86          "type": "string"
87        },
88        "offset": {
89          "format": "int64",
90          "type": "string"
91        },
92        "size": {
93          "format": "int64",
94          "type": "string"
95        },
96        "sort": {
97          "type": "string"
98        }
99      },
100      "type": "object"
101    }
102  },
103  "host": "vtslab-schedule-prod.appspot.com",
104  "info": {
105    "description": "Endpoint API for build_info.",
106    "title": "build",
107    "version": "v1"
108  },
109  "paths": {
110    "/build/v1/count": {
111      "post": {
112        "operationId": "BuildInfoApi_count",
113        "parameters": [
114          {
115            "in": "body",
116            "name": "body",
117            "schema": {
118              "$ref": "#/definitions/WebappSrcProtoModelCountRequestMessage"
119            }
120          }
121        ],
122        "responses": {
123          "200": {
124            "description": "A successful response",
125            "schema": {
126              "$ref": "#/definitions/WebappSrcProtoModelCountResponseMessage"
127            }
128          }
129        }
130      }
131    },
132    "/build/v1/get": {
133      "post": {
134        "operationId": "BuildInfoApi_get",
135        "parameters": [
136          {
137            "in": "body",
138            "name": "body",
139            "schema": {
140              "$ref": "#/definitions/WebappSrcProtoModelGetRequestMessage"
141            }
142          }
143        ],
144        "responses": {
145          "200": {
146            "description": "A successful response",
147            "schema": {
148              "$ref": "#/definitions/WebappSrcProtoModelBuildResponseMessage"
149            }
150          }
151        }
152      }
153    },
154    "/build/v1/set": {
155      "post": {
156        "operationId": "BuildInfoApi_set",
157        "parameters": [
158          {
159            "in": "body",
160            "name": "body",
161            "schema": {
162              "$ref": "#/definitions/WebappSrcProtoModelBuildInfoMessage"
163            }
164          }
165        ],
166        "responses": {
167          "200": {
168            "description": "A successful response",
169            "schema": {
170              "$ref": "#/definitions/WebappSrcProtoModelDefaultResponse"
171            }
172          }
173        }
174      }
175    }
176  },
177  "produces": [
178    "application/json"
179  ],
180  "schemes": [
181    "https"
182  ],
183  "securityDefinitions": {
184    "google_id_token": {
185      "authorizationUrl": "",
186      "flow": "implicit",
187      "type": "oauth2",
188      "x-google-issuer": "https://accounts.google.com",
189      "x-google-jwks_uri": "https://www.googleapis.com/oauth2/v3/certs"
190    }
191  },
192  "swagger": "2.0",
193  "x-google-api-name": "build"
194}