| 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 03ded56c020de3161752cb14189e7f94e7ed23e6..c635f28d81c1b1b05c1e39c4d375023b1c124ac2 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": "\"RnkXbyw9us4_w3H-FU6An0C4oYs/fqSlEBDWUy38USUQ5BGndLM--bM\"",
|
| + "etag": "\"RnkXbyw9us4_w3H-FU6An0C4oYs/MtSXvlSdeFKpaUaZwUT8TnMkozE\"",
|
| "discoveryVersion": "v1",
|
| "id": "buildbucket:v1",
|
| "name": "buildbucket",
|
| @@ -93,14 +93,97 @@
|
| }
|
| }
|
| },
|
| - "ApiBuildMessage": {
|
| - "id": "ApiBuildMessage",
|
| + "ApiBuildResponseMessage": {
|
| + "id": "ApiBuildResponseMessage",
|
| + "type": "object",
|
| + "properties": {
|
| + "build": {
|
| + "$ref": "ApiCommonBuildMessage",
|
| + "description": "Describes model.Build, see its docstring."
|
| + },
|
| + "error": {
|
| + "$ref": "ApiErrorMessage"
|
| + }
|
| + }
|
| + },
|
| + "ApiCancelBatchRequestMessage": {
|
| + "id": "ApiCancelBatchRequestMessage",
|
| + "type": "object",
|
| + "properties": {
|
| + "build_ids": {
|
| + "type": "array",
|
| + "items": {
|
| + "type": "string",
|
| + "format": "int64"
|
| + }
|
| + },
|
| + "result_details_json": {
|
| + "type": "string"
|
| + }
|
| + }
|
| + },
|
| + "ApiCancelBatchResponseMessage": {
|
| + "id": "ApiCancelBatchResponseMessage",
|
| + "type": "object",
|
| + "properties": {
|
| + "results": {
|
| + "type": "array",
|
| + "items": {
|
| + "$ref": "ApiCancelBatchResponseMessageOneResult"
|
| + }
|
| + }
|
| + }
|
| + },
|
| + "ApiCancelBatchResponseMessageOneResult": {
|
| + "id": "ApiCancelBatchResponseMessageOneResult",
|
| + "type": "object",
|
| + "properties": {
|
| + "build": {
|
| + "$ref": "ApiCommonBuildMessage",
|
| + "description": "Describes model.Build, see its docstring."
|
| + },
|
| + "build_id": {
|
| + "type": "string",
|
| + "format": "int64"
|
| + },
|
| + "error": {
|
| + "$ref": "ApiErrorMessage"
|
| + }
|
| + }
|
| + },
|
| + "ApiCancelRequestBodyMessage": {
|
| + "id": "ApiCancelRequestBodyMessage",
|
| + "type": "object",
|
| + "properties": {
|
| + "result_details_json": {
|
| + "type": "string"
|
| + }
|
| + }
|
| + },
|
| + "ApiCommonBuildMessage": {
|
| + "id": "ApiCommonBuildMessage",
|
| "type": "object",
|
| "description": "Describes model.Build, see its docstring.",
|
| "properties": {
|
| "bucket": {
|
| "type": "string"
|
| },
|
| + "canary": {
|
| + "type": "boolean"
|
| + },
|
| + "canary_preference": {
|
| + "type": "string",
|
| + "enum": [
|
| + "AUTO",
|
| + "CANARY",
|
| + "PROD"
|
| + ],
|
| + "enumDescriptions": [
|
| + "",
|
| + "",
|
| + ""
|
| + ]
|
| + },
|
| "cancelation_reason": {
|
| "type": "string",
|
| "enum": [
|
| @@ -213,73 +296,6 @@
|
| }
|
| }
|
| },
|
| - "ApiBuildResponseMessage": {
|
| - "id": "ApiBuildResponseMessage",
|
| - "type": "object",
|
| - "properties": {
|
| - "build": {
|
| - "$ref": "ApiBuildMessage",
|
| - "description": "Describes model.Build, see its docstring."
|
| - },
|
| - "error": {
|
| - "$ref": "ApiErrorMessage"
|
| - }
|
| - }
|
| - },
|
| - "ApiCancelBatchRequestMessage": {
|
| - "id": "ApiCancelBatchRequestMessage",
|
| - "type": "object",
|
| - "properties": {
|
| - "build_ids": {
|
| - "type": "array",
|
| - "items": {
|
| - "type": "string",
|
| - "format": "int64"
|
| - }
|
| - },
|
| - "result_details_json": {
|
| - "type": "string"
|
| - }
|
| - }
|
| - },
|
| - "ApiCancelBatchResponseMessage": {
|
| - "id": "ApiCancelBatchResponseMessage",
|
| - "type": "object",
|
| - "properties": {
|
| - "results": {
|
| - "type": "array",
|
| - "items": {
|
| - "$ref": "ApiCancelBatchResponseMessageOneResult"
|
| - }
|
| - }
|
| - }
|
| - },
|
| - "ApiCancelBatchResponseMessageOneResult": {
|
| - "id": "ApiCancelBatchResponseMessageOneResult",
|
| - "type": "object",
|
| - "properties": {
|
| - "build": {
|
| - "$ref": "ApiBuildMessage",
|
| - "description": "Describes model.Build, see its docstring."
|
| - },
|
| - "build_id": {
|
| - "type": "string",
|
| - "format": "int64"
|
| - },
|
| - "error": {
|
| - "$ref": "ApiErrorMessage"
|
| - }
|
| - }
|
| - },
|
| - "ApiCancelRequestBodyMessage": {
|
| - "id": "ApiCancelRequestBodyMessage",
|
| - "type": "object",
|
| - "properties": {
|
| - "result_details_json": {
|
| - "type": "string"
|
| - }
|
| - }
|
| - },
|
| "ApiDeleteManyBuildsResponse": {
|
| "id": "ApiDeleteManyBuildsResponse",
|
| "type": "object",
|
| @@ -501,7 +517,7 @@
|
| "type": "object",
|
| "properties": {
|
| "build": {
|
| - "$ref": "ApiBuildMessage",
|
| + "$ref": "ApiCommonBuildMessage",
|
| "description": "Describes model.Build, see its docstring."
|
| },
|
| "client_operation_id": {
|
| @@ -519,6 +535,19 @@
|
| "bucket": {
|
| "type": "string"
|
| },
|
| + "canary_preference": {
|
| + "type": "string",
|
| + "enum": [
|
| + "AUTO",
|
| + "CANARY",
|
| + "PROD"
|
| + ],
|
| + "enumDescriptions": [
|
| + "",
|
| + "",
|
| + ""
|
| + ]
|
| + },
|
| "client_operation_id": {
|
| "type": "string"
|
| },
|
| @@ -564,7 +593,7 @@
|
| "type": "array",
|
| "description": "Describes model.Build, see its docstring.",
|
| "items": {
|
| - "$ref": "ApiBuildMessage"
|
| + "$ref": "ApiCommonBuildMessage"
|
| }
|
| },
|
| "error": {
|
| @@ -579,6 +608,9 @@
|
| "id": "ApiStartRequestBodyMessage",
|
| "type": "object",
|
| "properties": {
|
| + "canary": {
|
| + "type": "boolean"
|
| + },
|
| "lease_key": {
|
| "type": "string",
|
| "format": "int64"
|
| @@ -1047,6 +1079,10 @@
|
| "repeated": true,
|
| "location": "query"
|
| },
|
| + "canary": {
|
| + "type": "boolean",
|
| + "location": "query"
|
| + },
|
| "cancelation_reason": {
|
| "type": "string",
|
| "enum": [
|
|
|