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 56967a3946ee8c38a4655131b8c99ac0f3ceed4a..5b9b06e60fee9121eafd8288b627831bfd041066 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": "\"ODRTh3xaRR64wpeXJSlF33HMN-0/S1SQMuvomPJ7IdbDqjq3hmebEaI\"", |
+ "etag": "\"RnkXbyw9us4_w3H-FU6An0C4oYs/a319reLq7TcE0ot37uvUfe0c0XQ\"", |
"discoveryVersion": "v1", |
"id": "swarming:v1", |
"name": "swarming", |
@@ -183,6 +183,9 @@ |
"lease_id": { |
"type": "string" |
}, |
+ "machine_type": { |
+ "type": "string" |
+ }, |
"quarantined": { |
"type": "boolean" |
}, |
@@ -418,8 +421,7 @@ |
"type": "string" |
}, |
"version": { |
- "type": "string", |
- "format": "int64" |
+ "type": "string" |
}, |
"when": { |
"type": "string", |
@@ -873,6 +875,9 @@ |
"properties_hash": { |
"type": "string" |
}, |
+ "run_id": { |
+ "type": "string" |
+ }, |
"server_versions": { |
"type": "array", |
"items": { |
@@ -1166,6 +1171,21 @@ |
], |
"location": "query" |
}, |
+ "is_mp": { |
+ "type": "string", |
+ "default": "NONE", |
+ "enum": [ |
+ "FALSE", |
+ "NONE", |
+ "TRUE" |
+ ], |
+ "enumDescriptions": [ |
+ "", |
+ "", |
+ "" |
+ ], |
+ "location": "query" |
+ }, |
"limit": { |
"type": "string", |
"default": "200", |
@@ -1252,6 +1272,21 @@ |
], |
"location": "query" |
}, |
+ "is_mp": { |
+ "type": "string", |
+ "default": "NONE", |
+ "enum": [ |
+ "FALSE", |
+ "NONE", |
+ "TRUE" |
+ ], |
+ "enumDescriptions": [ |
+ "", |
+ "", |
+ "" |
+ ], |
+ "location": "query" |
+ }, |
"limit": { |
"type": "string", |
"default": "200", |
@@ -1301,7 +1336,7 @@ |
"id": "swarming.server.get_bootstrap", |
"path": "server/get_bootstrap", |
"httpMethod": "GET", |
- "description": "Retrieves the current or a previous version of bootstrap.py.", |
+ "description": "Retrieves the current or a previous version of bootstrap.py. When the file is sourced via luci-config, the version parameter is ignored. Eventually the support for 'version' will be removed completely.", |
"parameters": { |
"version": { |
"type": "string", |
@@ -1320,7 +1355,7 @@ |
"id": "swarming.server.get_bot_config", |
"path": "server/get_bot_config", |
"httpMethod": "GET", |
- "description": "Retrieves the current or a previous version of bot_config.py.", |
+ "description": "Retrieves the current or a previous version of bot_config.py. When the file is sourced via luci-config, the version parameter is ignored. Eventually the support for 'version' will be removed completely.", |
"parameters": { |
"version": { |
"type": "string", |
@@ -1351,7 +1386,7 @@ |
"id": "swarming.server.put_bootstrap", |
"path": "server/put_bootstrap", |
"httpMethod": "POST", |
- "description": "Stores a new version of bootstrap.py.", |
+ "description": "Stores a new version of bootstrap.py. Warning: if a file exists in luci-config, the file stored by this function is ignored. Uploads are not blocked in case the file is later deleted from luci-config.", |
"request": { |
"$ref": "SwarmingRpcsFileContentRequest", |
"parameterName": "resource" |
@@ -1367,7 +1402,7 @@ |
"id": "swarming.server.put_bot_config", |
"path": "server/put_bot_config", |
"httpMethod": "POST", |
- "description": "Stores a new version of bot_config.py.", |
+ "description": "Stores a new version of bot_config.py. Warning: if a file exists in luci-config, the file stored by this function is ignored. Uploads are not blocked in case the file is later deleted from luci-config.", |
"request": { |
"$ref": "SwarmingRpcsFileContentRequest", |
"parameterName": "resource" |