Index: common/api/buildbucket/buildbucket/v1/buildbucket-api.json |
diff --git a/common/api/buildbucket/buildbucket/v1/buildbucket-api.json b/common/api/buildbucket/buildbucket/v1/buildbucket-api.json |
index 87230d4c193a6415c70311293fa2210cb0da2f17..995e012541531bdc64ef697d6d7016326e08110e 100644 |
--- a/common/api/buildbucket/buildbucket/v1/buildbucket-api.json |
+++ b/common/api/buildbucket/buildbucket/v1/buildbucket-api.json |
@@ -1,6 +1,6 @@ |
{ |
"kind": "discovery#restDescription", |
- "etag": "\"ODRTh3xaRR64wpeXJSlF33HMN-0/ZdH9naghIwgRSliyml1cwKZHA3o\"", |
+ "etag": "\"RnkXbyw9us4_w3H-FU6An0C4oYs/oaseV8it1U6MhdnhHe3SGj1qZh0\"", |
"discoveryVersion": "v1", |
"id": "buildbucket:v1", |
"name": "buildbucket", |
@@ -173,6 +173,10 @@ |
"type": "string", |
"format": "int64" |
}, |
+ "started_ts": { |
+ "type": "string", |
+ "format": "int64" |
+ }, |
"status": { |
"type": "string", |
"enum": [ |
@@ -434,6 +438,10 @@ |
} |
} |
}, |
+ "ApiPauseResponse": { |
+ "id": "ApiPauseResponse", |
+ "type": "object" |
+ }, |
"ApiPubSubCallbackMessage": { |
"id": "ApiPubSubCallbackMessage", |
"type": "object", |
@@ -465,6 +473,9 @@ |
"id": "ApiPutBatchResponseMessage", |
"type": "object", |
"properties": { |
+ "error": { |
+ "$ref": "ApiErrorMessage" |
+ }, |
"results": { |
"type": "array", |
"items": { |
@@ -589,6 +600,32 @@ |
} |
}, |
"methods": { |
+ "backfill_tag_index": { |
+ "id": "buildbucket.backfill_tag_index", |
+ "path": "backfill_tag_index", |
+ "httpMethod": "POST", |
+ "description": "Backfills TagIndex entites from builds.", |
+ "parameters": { |
+ "shards": { |
+ "type": "string", |
+ "required": true, |
+ "format": "int64", |
+ "location": "query" |
+ }, |
+ "tag": { |
+ "type": "string", |
+ "required": true, |
+ "location": "query" |
+ } |
+ }, |
+ "parameterOrder": [ |
+ "tag", |
+ "shards" |
+ ], |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/userinfo.email" |
+ ] |
+ }, |
"cancel": { |
"id": "buildbucket.cancel", |
"path": "builds/{id}/cancel", |
@@ -845,6 +882,34 @@ |
"https://www.googleapis.com/auth/userinfo.email" |
] |
}, |
+ "pause": { |
+ "id": "buildbucket.pause", |
+ "path": "buckets/{bucket}/pause", |
+ "httpMethod": "POST", |
+ "description": "Pauses or unpause a bucket.", |
+ "parameters": { |
+ "bucket": { |
+ "type": "string", |
+ "required": true, |
+ "location": "path" |
+ }, |
+ "is_paused": { |
+ "type": "boolean", |
+ "required": true, |
+ "location": "query" |
+ } |
+ }, |
+ "parameterOrder": [ |
+ "bucket", |
+ "is_paused" |
+ ], |
+ "response": { |
+ "$ref": "ApiPauseResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/userinfo.email" |
+ ] |
+ }, |
"peek": { |
"id": "buildbucket.peek", |
"path": "peek", |