| Index: common/api/swarming/swarming/v1/swarming-api.json
|
| diff --git a/common/api/swarming/swarming/v1/swarming-api.json b/common/api/swarming/swarming/v1/swarming-api.json
|
| index cd7fa6c284efc6ca6b0246472e6ce8eea6bc2b2f..cf206f0c2de04fffef9bcbac46c89b546a0a9359 100644
|
| --- a/common/api/swarming/swarming/v1/swarming-api.json
|
| +++ b/common/api/swarming/swarming/v1/swarming-api.json
|
| @@ -1,6 +1,6 @@
|
| {
|
| "kind": "discovery#restDescription",
|
| - "etag": "\"zRMgE0l9nVDW4S28VYYcYQF9UW4/8_shWf2ZUvFErNzQ1lbRNMlwmCs\"",
|
| + "etag": "\"zRMgE0l9nVDW4S28VYYcYQF9UW4/stcRi2opcnMI_33ybfewv4rTtu4\"",
|
| "discoveryVersion": "v1",
|
| "id": "swarming:v1",
|
| "name": "swarming",
|
| @@ -225,6 +225,33 @@
|
| }
|
| }
|
| },
|
| + "SwarmingRpcsBotsCount": {
|
| + "id": "SwarmingRpcsBotsCount",
|
| + "type": "object",
|
| + "description": "Returns the count, as requested.",
|
| + "properties": {
|
| + "busy": {
|
| + "type": "string",
|
| + "format": "int64"
|
| + },
|
| + "count": {
|
| + "type": "string",
|
| + "format": "int64"
|
| + },
|
| + "dead": {
|
| + "type": "string",
|
| + "format": "int64"
|
| + },
|
| + "now": {
|
| + "type": "string",
|
| + "format": "date-time"
|
| + },
|
| + "quarantined": {
|
| + "type": "string",
|
| + "format": "int64"
|
| + }
|
| + }
|
| + },
|
| "SwarmingRpcsCancelResponse": {
|
| "id": "SwarmingRpcsCancelResponse",
|
| "type": "object",
|
| @@ -902,6 +929,35 @@
|
| },
|
| "bots": {
|
| "methods": {
|
| + "count": {
|
| + "id": "swarming.bots.count",
|
| + "path": "bots/count",
|
| + "httpMethod": "GET",
|
| + "description": "Counts number of bots with given dimensions.",
|
| + "parameters": {
|
| + "cursor": {
|
| + "type": "string",
|
| + "location": "query"
|
| + },
|
| + "dimensions": {
|
| + "type": "string",
|
| + "repeated": true,
|
| + "location": "query"
|
| + },
|
| + "limit": {
|
| + "type": "string",
|
| + "default": "200",
|
| + "format": "int64",
|
| + "location": "query"
|
| + }
|
| + },
|
| + "response": {
|
| + "$ref": "SwarmingRpcsBotsCount"
|
| + },
|
| + "scopes": [
|
| + "https://www.googleapis.com/auth/userinfo.email"
|
| + ]
|
| + },
|
| "list": {
|
| "id": "swarming.bots.list",
|
| "path": "bots/list",
|
|
|