summaryrefslogtreecommitdiff
path: root/gae/schedule_infov1openapi.json
blob: d03cc4c461540aa0ed82584c7c7106e2badaa191 (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
  "basePath": "/_ah/api",
  "consumes": [
    "application/json"
  ],
  "definitions": {
    "WebappSrcProtoModelDefaultResponse": {
      "properties": {
        "return_code": {
          "enum": [
            "SUCCESS",
            "FAIL"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "WebappSrcProtoModelScheduleInfoMessage": {
      "properties": {
        "build_target": {
          "type": "string"
        },
        "device": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "gsi_branch": {
          "type": "string"
        },
        "gsi_build_target": {
          "type": "string"
        },
        "gsi_pab_account_id": {
          "type": "string"
        },
        "manifest_branch": {
          "type": "string"
        },
        "param": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "period": {
          "format": "int64",
          "type": "string"
        },
        "priority": {
          "type": "string"
        },
        "shards": {
          "format": "int64",
          "type": "string"
        },
        "retry_count": {
          "format": "int64",
          "type": "string"
        },
        "test_name": {
          "type": "string"
        },
        "test_branch": {
          "type": "string"
        },
        "test_build_target": {
          "type": "string"
        },
        "test_pab_account_id": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "host": "vtslab-schedule-prod.appspot.com",
  "info": {
    "description": "Endpoint API for schedule_info.",
    "title": "schedule_info",
    "version": "v1"
  },
  "paths": {
    "/schedule_info/v1/clear": {
      "post": {
        "operationId": "ScheduleInfoApi_clear",
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/WebappSrcProtoModelScheduleInfoMessage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A successful response",
            "schema": {
              "$ref": "#/definitions/WebappSrcProtoModelDefaultResponse"
            }
          }
        }
      }
    },
    "/schedule_info/v1/set": {
      "post": {
        "operationId": "ScheduleInfoApi_set",
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/WebappSrcProtoModelScheduleInfoMessage"
            }
          }
        ],
        "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"
}