{ "basePath": "/_ah/api", "consumes": [ "application/json" ], "definitions": { "WebappSrcProtoModelBuildInfoMessage": { "properties": { "artifact_type": { "type": "string" }, "artifacts": { "items": { "type": "string" }, "type": "array" }, "build_id": { "type": "string" }, "build_target": { "type": "string" }, "build_type": { "type": "string" }, "manifest_branch": { "type": "string" }, "signed": { "type": "boolean" } }, "type": "object" }, "WebappSrcProtoModelBuildResponseMessage": { "properties": { "builds": { "description": "A message for representing an individual build entry.", "items": { "$ref": "#/definitions/WebappSrcProtoModelBuildInfoMessage" }, "type": "array" }, "has_next": { "type": "boolean" } }, "type": "object" }, "WebappSrcProtoModelCountRequestMessage": { "properties": { "filter": { "type": "string" } }, "type": "object" }, "WebappSrcProtoModelCountResponseMessage": { "properties": { "count": { "format": "int64", "type": "string" } }, "type": "object" }, "WebappSrcProtoModelDefaultResponse": { "properties": { "return_code": { "enum": [ "SUCCESS", "FAIL" ], "type": "string" } }, "type": "object" }, "WebappSrcProtoModelGetRequestMessage": { "properties": { "direction": { "type": "string" }, "filter": { "type": "string" }, "offset": { "format": "int64", "type": "string" }, "size": { "format": "int64", "type": "string" }, "sort": { "type": "string" } }, "type": "object" } }, "host": "vtslab-schedule-prod.appspot.com", "info": { "description": "Endpoint API for build_info.", "title": "build", "version": "v1" }, "paths": { "/build/v1/count": { "post": { "operationId": "BuildInfoApi_count", "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/WebappSrcProtoModelCountRequestMessage" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/WebappSrcProtoModelCountResponseMessage" } } } } }, "/build/v1/get": { "post": { "operationId": "BuildInfoApi_get", "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/WebappSrcProtoModelGetRequestMessage" } } ], "responses": { "200": { "description": "A successful response", "schema": { "$ref": "#/definitions/WebappSrcProtoModelBuildResponseMessage" } } } } }, "/build/v1/set": { "post": { "operationId": "BuildInfoApi_set", "parameters": [ { "in": "body", "name": "body", "schema": { "$ref": "#/definitions/WebappSrcProtoModelBuildInfoMessage" } } ], "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", "x-google-api-name": "build" }