Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2408)

Unified Diff: appengine/swarming/swarming_rpcs.py

Issue 2374463002: Add API for bootstrap and bot_code version (Closed) Base URL: git@github.com:luci/luci-py@master
Patch Set: Make POST Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/swarming/handlers_endpoints_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/swarming_rpcs.py
diff --git a/appengine/swarming/swarming_rpcs.py b/appengine/swarming/swarming_rpcs.py
index 2292628a043df60905f5ebbcd22f6212eb0b7b83..5790bc487f7e57c8e0800e0b6e0d6b0be1957c4a 100644
--- a/appengine/swarming/swarming_rpcs.py
+++ b/appengine/swarming/swarming_rpcs.py
@@ -67,8 +67,14 @@ def to_bool(three_state):
class ServerDetails(messages.Message):
- """Reports the server version."""
+ """Reports details about the server."""
server_version = messages.StringField(1)
+ bot_version = messages.StringField(2)
+
+
+class BootstrapToken(messages.Message):
+ """Returns a token to bootstrap a new bot."""
+ bootstrap_token = messages.StringField(1)
class ClientPermissions(messages.Message):
« no previous file with comments | « appengine/swarming/handlers_endpoints_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698