| OLD | NEW |
| 1 { | 1 { |
| 2 "kind": "discovery#restDescription", | 2 "kind": "discovery#restDescription", |
| 3 "etag": "\"ODRTh3xaRR64wpeXJSlF33HMN-0/ZdH9naghIwgRSliyml1cwKZHA3o\"", | 3 "etag": "\"RnkXbyw9us4_w3H-FU6An0C4oYs/oaseV8it1U6MhdnhHe3SGj1qZh0\"", |
| 4 "discoveryVersion": "v1", | 4 "discoveryVersion": "v1", |
| 5 "id": "buildbucket:v1", | 5 "id": "buildbucket:v1", |
| 6 "name": "buildbucket", | 6 "name": "buildbucket", |
| 7 "version": "v1", | 7 "version": "v1", |
| 8 "title": "Build Bucket Service", | 8 "title": "Build Bucket Service", |
| 9 "description": "API for scheduling builds.", | 9 "description": "API for scheduling builds.", |
| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 "" | 166 "" |
| 167 ] | 167 ] |
| 168 }, | 168 }, |
| 169 "result_details_json": { | 169 "result_details_json": { |
| 170 "type": "string" | 170 "type": "string" |
| 171 }, | 171 }, |
| 172 "retry_of": { | 172 "retry_of": { |
| 173 "type": "string", | 173 "type": "string", |
| 174 "format": "int64" | 174 "format": "int64" |
| 175 }, | 175 }, |
| 176 "started_ts": { |
| 177 "type": "string", |
| 178 "format": "int64" |
| 179 }, |
| 176 "status": { | 180 "status": { |
| 177 "type": "string", | 181 "type": "string", |
| 178 "enum": [ | 182 "enum": [ |
| 179 "COMPLETED", | 183 "COMPLETED", |
| 180 "SCHEDULED", | 184 "SCHEDULED", |
| 181 "STARTED" | 185 "STARTED" |
| 182 ], | 186 ], |
| 183 "enumDescriptions": [ | 187 "enumDescriptions": [ |
| 184 "", | 188 "", |
| 185 "", | 189 "", |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 "properties": { | 431 "properties": { |
| 428 "error": { | 432 "error": { |
| 429 "$ref": "ApiErrorMessage" | 433 "$ref": "ApiErrorMessage" |
| 430 }, | 434 }, |
| 431 "longest_pending_time_sec": { | 435 "longest_pending_time_sec": { |
| 432 "type": "number", | 436 "type": "number", |
| 433 "format": "double" | 437 "format": "double" |
| 434 } | 438 } |
| 435 } | 439 } |
| 436 }, | 440 }, |
| 441 "ApiPauseResponse": { |
| 442 "id": "ApiPauseResponse", |
| 443 "type": "object" |
| 444 }, |
| 437 "ApiPubSubCallbackMessage": { | 445 "ApiPubSubCallbackMessage": { |
| 438 "id": "ApiPubSubCallbackMessage", | 446 "id": "ApiPubSubCallbackMessage", |
| 439 "type": "object", | 447 "type": "object", |
| 440 "properties": { | 448 "properties": { |
| 441 "auth_token": { | 449 "auth_token": { |
| 442 "type": "string" | 450 "type": "string" |
| 443 }, | 451 }, |
| 444 "topic": { | 452 "topic": { |
| 445 "type": "string" | 453 "type": "string" |
| 446 }, | 454 }, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 458 "items": { | 466 "items": { |
| 459 "$ref": "ApiPutRequestMessage" | 467 "$ref": "ApiPutRequestMessage" |
| 460 } | 468 } |
| 461 } | 469 } |
| 462 } | 470 } |
| 463 }, | 471 }, |
| 464 "ApiPutBatchResponseMessage": { | 472 "ApiPutBatchResponseMessage": { |
| 465 "id": "ApiPutBatchResponseMessage", | 473 "id": "ApiPutBatchResponseMessage", |
| 466 "type": "object", | 474 "type": "object", |
| 467 "properties": { | 475 "properties": { |
| 476 "error": { |
| 477 "$ref": "ApiErrorMessage" |
| 478 }, |
| 468 "results": { | 479 "results": { |
| 469 "type": "array", | 480 "type": "array", |
| 470 "items": { | 481 "items": { |
| 471 "$ref": "ApiPutBatchResponseMessageOneResult" | 482 "$ref": "ApiPutBatchResponseMessageOneResult" |
| 472 } | 483 } |
| 473 } | 484 } |
| 474 } | 485 } |
| 475 }, | 486 }, |
| 476 "ApiPutBatchResponseMessageOneResult": { | 487 "ApiPutBatchResponseMessageOneResult": { |
| 477 "id": "ApiPutBatchResponseMessageOneResult", | 488 "id": "ApiPutBatchResponseMessageOneResult", |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 "result_details_json": { | 593 "result_details_json": { |
| 583 "type": "string" | 594 "type": "string" |
| 584 }, | 595 }, |
| 585 "url": { | 596 "url": { |
| 586 "type": "string" | 597 "type": "string" |
| 587 } | 598 } |
| 588 } | 599 } |
| 589 } | 600 } |
| 590 }, | 601 }, |
| 591 "methods": { | 602 "methods": { |
| 603 "backfill_tag_index": { |
| 604 "id": "buildbucket.backfill_tag_index", |
| 605 "path": "backfill_tag_index", |
| 606 "httpMethod": "POST", |
| 607 "description": "Backfills TagIndex entites from builds.", |
| 608 "parameters": { |
| 609 "shards": { |
| 610 "type": "string", |
| 611 "required": true, |
| 612 "format": "int64", |
| 613 "location": "query" |
| 614 }, |
| 615 "tag": { |
| 616 "type": "string", |
| 617 "required": true, |
| 618 "location": "query" |
| 619 } |
| 620 }, |
| 621 "parameterOrder": [ |
| 622 "tag", |
| 623 "shards" |
| 624 ], |
| 625 "scopes": [ |
| 626 "https://www.googleapis.com/auth/userinfo.email" |
| 627 ] |
| 628 }, |
| 592 "cancel": { | 629 "cancel": { |
| 593 "id": "buildbucket.cancel", | 630 "id": "buildbucket.cancel", |
| 594 "path": "builds/{id}/cancel", | 631 "path": "builds/{id}/cancel", |
| 595 "httpMethod": "POST", | 632 "httpMethod": "POST", |
| 596 "description": "Cancels a build.", | 633 "description": "Cancels a build.", |
| 597 "parameters": { | 634 "parameters": { |
| 598 "id": { | 635 "id": { |
| 599 "type": "string", | 636 "type": "string", |
| 600 "required": true, | 637 "required": true, |
| 601 "format": "int64", | 638 "format": "int64", |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 "bucket", | 875 "bucket", |
| 839 "builder" | 876 "builder" |
| 840 ], | 877 ], |
| 841 "response": { | 878 "response": { |
| 842 "$ref": "ApiLongestPendingTimeResponse" | 879 "$ref": "ApiLongestPendingTimeResponse" |
| 843 }, | 880 }, |
| 844 "scopes": [ | 881 "scopes": [ |
| 845 "https://www.googleapis.com/auth/userinfo.email" | 882 "https://www.googleapis.com/auth/userinfo.email" |
| 846 ] | 883 ] |
| 847 }, | 884 }, |
| 885 "pause": { |
| 886 "id": "buildbucket.pause", |
| 887 "path": "buckets/{bucket}/pause", |
| 888 "httpMethod": "POST", |
| 889 "description": "Pauses or unpause a bucket.", |
| 890 "parameters": { |
| 891 "bucket": { |
| 892 "type": "string", |
| 893 "required": true, |
| 894 "location": "path" |
| 895 }, |
| 896 "is_paused": { |
| 897 "type": "boolean", |
| 898 "required": true, |
| 899 "location": "query" |
| 900 } |
| 901 }, |
| 902 "parameterOrder": [ |
| 903 "bucket", |
| 904 "is_paused" |
| 905 ], |
| 906 "response": { |
| 907 "$ref": "ApiPauseResponse" |
| 908 }, |
| 909 "scopes": [ |
| 910 "https://www.googleapis.com/auth/userinfo.email" |
| 911 ] |
| 912 }, |
| 848 "peek": { | 913 "peek": { |
| 849 "id": "buildbucket.peek", | 914 "id": "buildbucket.peek", |
| 850 "path": "peek", | 915 "path": "peek", |
| 851 "httpMethod": "GET", | 916 "httpMethod": "GET", |
| 852 "description": "Returns available builds.", | 917 "description": "Returns available builds.", |
| 853 "parameters": { | 918 "parameters": { |
| 854 "bucket": { | 919 "bucket": { |
| 855 "type": "string", | 920 "type": "string", |
| 856 "repeated": true, | 921 "repeated": true, |
| 857 "location": "query" | 922 "location": "query" |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 }, | 1167 }, |
| 1103 "response": { | 1168 "response": { |
| 1104 "$ref": "ApiBuildResponseMessage" | 1169 "$ref": "ApiBuildResponseMessage" |
| 1105 }, | 1170 }, |
| 1106 "scopes": [ | 1171 "scopes": [ |
| 1107 "https://www.googleapis.com/auth/userinfo.email" | 1172 "https://www.googleapis.com/auth/userinfo.email" |
| 1108 ] | 1173 ] |
| 1109 } | 1174 } |
| 1110 } | 1175 } |
| 1111 } | 1176 } |
| OLD | NEW |