summaryrefslogtreecommitdiff
path: root/gae/build_infov1openapi.json
blob: 2cda81e96ef85e801448f424fada4f86f964ee8d (plain)
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
{
  "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"
        }
      },
      "type": "object"
    },
    "WebappSrcProtoModelDefaultResponse": {
      "properties": {
        "return_code": {
          "enum": [
            "SUCCESS",
            "FAIL"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "host": "vtslab-schedule-prod.appspot.com",
  "info": {
    "description": "Endpoint API for build_info.",
    "title": "build_info",
    "version": "v1"
  },
  "paths": {
    "/build_info/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"
}