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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: common/api/buildbucket/swarmbucket/v1/swarmbucket-api.json
diff --git a/common/api/buildbucket/swarmbucket/v1/swarmbucket-api.json b/common/api/buildbucket/swarmbucket/v1/swarmbucket-api.json
index 436b1d6c0b228f3809b9db19b81d2052186a2915..3dff09819211ed010469aadb45490bbff8184d41 100644
--- a/common/api/buildbucket/swarmbucket/v1/swarmbucket-api.json
+++ b/common/api/buildbucket/swarmbucket/v1/swarmbucket-api.json
@@ -1,6 +1,6 @@
{
"kind": "discovery#restDescription",
- "etag": "\"ODRTh3xaRR64wpeXJSlF33HMN-0/ZrajoBQg5xk4oweF9ItteMQuyUw\"",
+ "etag": "\"RnkXbyw9us4_w3H-FU6An0C4oYs/TKnGlqBvxq3Tnq1YZfSctOWiTo4\"",
"discoveryVersion": "v1",
"id": "swarmbucket:v1",
"name": "swarmbucket",
@@ -72,6 +72,49 @@
}
},
"schemas": {
+ "ApiPubSubCallbackMessage": {
+ "id": "ApiPubSubCallbackMessage",
+ "type": "object",
+ "properties": {
+ "auth_token": {
+ "type": "string"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "user_data": {
+ "type": "string"
+ }
+ }
+ },
+ "ApiPutRequestMessage": {
+ "id": "ApiPutRequestMessage",
+ "type": "object",
+ "properties": {
+ "bucket": {
+ "type": "string"
+ },
+ "client_operation_id": {
+ "type": "string"
+ },
+ "lease_expiration_ts": {
+ "type": "string",
+ "format": "int64"
+ },
+ "parameters_json": {
+ "type": "string"
+ },
+ "pubsub_callback": {
+ "$ref": "ApiPubSubCallbackMessage"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
"SwarmingSwarmbucketApiBucketMessage": {
"id": "SwarmingSwarmbucketApiBucketMessage",
"type": "object",
@@ -110,6 +153,27 @@
}
}
}
+ },
+ "SwarmingSwarmbucketApiGetTaskDefinitionRequestMessage": {
+ "id": "SwarmingSwarmbucketApiGetTaskDefinitionRequestMessage",
+ "type": "object",
+ "properties": {
+ "build_request": {
+ "$ref": "ApiPutRequestMessage"
+ }
+ }
+ },
+ "SwarmingSwarmbucketApiGetTaskDefinitionResponseMessage": {
+ "id": "SwarmingSwarmbucketApiGetTaskDefinitionResponseMessage",
+ "type": "object",
+ "properties": {
+ "api_explorer_link": {
+ "type": "string"
+ },
+ "task_definition": {
+ "type": "string"
+ }
+ }
}
},
"methods": {
@@ -124,6 +188,22 @@
"scopes": [
"https://www.googleapis.com/auth/userinfo.email"
]
+ },
+ "get_task_def": {
+ "id": "swarmbucket.get_task_def",
+ "path": "get_task_def",
+ "httpMethod": "POST",
+ "description": "Returns a swarming task definition for a build request.",
+ "request": {
+ "$ref": "SwarmingSwarmbucketApiGetTaskDefinitionRequestMessage",
+ "parameterName": "resource"
+ },
+ "response": {
+ "$ref": "SwarmingSwarmbucketApiGetTaskDefinitionResponseMessage"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
}
}
}
« 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