Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Side by Side Diff: common/api/buildbucket/swarmbucket/v1/swarmbucket-api.json

Issue 2837723002: [common/api] regenerate endpoints clients. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "kind": "discovery#restDescription", 2 "kind": "discovery#restDescription",
3 "etag": "\"ODRTh3xaRR64wpeXJSlF33HMN-0/ZrajoBQg5xk4oweF9ItteMQuyUw\"", 3 "etag": "\"RnkXbyw9us4_w3H-FU6An0C4oYs/TKnGlqBvxq3Tnq1YZfSctOWiTo4\"",
4 "discoveryVersion": "v1", 4 "discoveryVersion": "v1",
5 "id": "swarmbucket:v1", 5 "id": "swarmbucket:v1",
6 "name": "swarmbucket", 6 "name": "swarmbucket",
7 "version": "v1", 7 "version": "v1",
8 "title": "Buildbucket-Swarming integration", 8 "title": "Buildbucket-Swarming integration",
9 "description": "API specific to swarmbucket.", 9 "description": "API specific to swarmbucket.",
10 "icons": { 10 "icons": {
11 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", 11 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
12 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" 12 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
13 }, 13 },
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 "auth": { 65 "auth": {
66 "oauth2": { 66 "oauth2": {
67 "scopes": { 67 "scopes": {
68 "https://www.googleapis.com/auth/userinfo.email": { 68 "https://www.googleapis.com/auth/userinfo.email": {
69 "description": "View your email address" 69 "description": "View your email address"
70 } 70 }
71 } 71 }
72 } 72 }
73 }, 73 },
74 "schemas": { 74 "schemas": {
75 "ApiPubSubCallbackMessage": {
76 "id": "ApiPubSubCallbackMessage",
77 "type": "object",
78 "properties": {
79 "auth_token": {
80 "type": "string"
81 },
82 "topic": {
83 "type": "string"
84 },
85 "user_data": {
86 "type": "string"
87 }
88 }
89 },
90 "ApiPutRequestMessage": {
91 "id": "ApiPutRequestMessage",
92 "type": "object",
93 "properties": {
94 "bucket": {
95 "type": "string"
96 },
97 "client_operation_id": {
98 "type": "string"
99 },
100 "lease_expiration_ts": {
101 "type": "string",
102 "format": "int64"
103 },
104 "parameters_json": {
105 "type": "string"
106 },
107 "pubsub_callback": {
108 "$ref": "ApiPubSubCallbackMessage"
109 },
110 "tags": {
111 "type": "array",
112 "items": {
113 "type": "string"
114 }
115 }
116 }
117 },
75 "SwarmingSwarmbucketApiBucketMessage": { 118 "SwarmingSwarmbucketApiBucketMessage": {
76 "id": "SwarmingSwarmbucketApiBucketMessage", 119 "id": "SwarmingSwarmbucketApiBucketMessage",
77 "type": "object", 120 "type": "object",
78 "properties": { 121 "properties": {
79 "builders": { 122 "builders": {
80 "type": "array", 123 "type": "array",
81 "items": { 124 "items": {
82 "$ref": "SwarmingSwarmbucketApiBuilderMessage" 125 "$ref": "SwarmingSwarmbucketApiBuilderMessage"
83 } 126 }
84 }, 127 },
(...skipping 18 matching lines...) Expand all
103 "id": "SwarmingSwarmbucketApiGetBuildersResponseMessage", 146 "id": "SwarmingSwarmbucketApiGetBuildersResponseMessage",
104 "type": "object", 147 "type": "object",
105 "properties": { 148 "properties": {
106 "buckets": { 149 "buckets": {
107 "type": "array", 150 "type": "array",
108 "items": { 151 "items": {
109 "$ref": "SwarmingSwarmbucketApiBucketMessage" 152 "$ref": "SwarmingSwarmbucketApiBucketMessage"
110 } 153 }
111 } 154 }
112 } 155 }
156 },
157 "SwarmingSwarmbucketApiGetTaskDefinitionRequestMessage": {
158 "id": "SwarmingSwarmbucketApiGetTaskDefinitionRequestMessage",
159 "type": "object",
160 "properties": {
161 "build_request": {
162 "$ref": "ApiPutRequestMessage"
163 }
164 }
165 },
166 "SwarmingSwarmbucketApiGetTaskDefinitionResponseMessage": {
167 "id": "SwarmingSwarmbucketApiGetTaskDefinitionResponseMessage",
168 "type": "object",
169 "properties": {
170 "api_explorer_link": {
171 "type": "string"
172 },
173 "task_definition": {
174 "type": "string"
175 }
176 }
113 } 177 }
114 }, 178 },
115 "methods": { 179 "methods": {
116 "get_builders": { 180 "get_builders": {
117 "id": "swarmbucket.get_builders", 181 "id": "swarmbucket.get_builders",
118 "path": "builders", 182 "path": "builders",
119 "httpMethod": "GET", 183 "httpMethod": "GET",
120 "description": "Returns defined swarmbucket builders. Can be used by code rev iew tool to discover builders.", 184 "description": "Returns defined swarmbucket builders. Can be used by code rev iew tool to discover builders.",
121 "response": { 185 "response": {
122 "$ref": "SwarmingSwarmbucketApiGetBuildersResponseMessage" 186 "$ref": "SwarmingSwarmbucketApiGetBuildersResponseMessage"
123 }, 187 },
124 "scopes": [ 188 "scopes": [
125 "https://www.googleapis.com/auth/userinfo.email" 189 "https://www.googleapis.com/auth/userinfo.email"
126 ] 190 ]
191 },
192 "get_task_def": {
193 "id": "swarmbucket.get_task_def",
194 "path": "get_task_def",
195 "httpMethod": "POST",
196 "description": "Returns a swarming task definition for a build request.",
197 "request": {
198 "$ref": "SwarmingSwarmbucketApiGetTaskDefinitionRequestMessage",
199 "parameterName": "resource"
200 },
201 "response": {
202 "$ref": "SwarmingSwarmbucketApiGetTaskDefinitionResponseMessage"
203 },
204 "scopes": [
205 "https://www.googleapis.com/auth/userinfo.email"
206 ]
127 } 207 }
128 } 208 }
129 } 209 }
OLDNEW
« no previous file with comments | « common/api/buildbucket/buildbucket/v1/buildbucket-gen.go ('k') | common/api/buildbucket/swarmbucket/v1/swarmbucket-gen.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698