You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2017/02/17 23:13:23 UTC

mesos git commit: Minor fixes to operator API doc.

Repository: mesos
Updated Branches:
  refs/heads/master d8b88e7f6 -> e7f17037b


Minor fixes to operator API doc.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e7f17037
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e7f17037
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e7f17037

Branch: refs/heads/master
Commit: e7f17037bcbd0c757d769094d887dc562c014ccd
Parents: d8b88e7
Author: Vinod Kone <vi...@gmail.com>
Authored: Fri Feb 17 15:12:54 2017 -0800
Committer: Vinod Kone <vi...@gmail.com>
Committed: Fri Feb 17 15:13:03 2017 -0800

----------------------------------------------------------------------
 docs/operator-http-api.md | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e7f17037/docs/operator-http-api.md
----------------------------------------------------------------------
diff --git a/docs/operator-http-api.md b/docs/operator-http-api.md
index dbb2373..94a5477 100644
--- a/docs/operator-http-api.md
+++ b/docs/operator-http-api.md
@@ -296,12 +296,12 @@ Content-Type: application/json
 Accept: application/json
 
 {
+  "type": "GET_METRICS",
   "get_metrics": {
     "timeout": {
       "nanoseconds": 5000000000
     }
-  },
-  "type": "GET_METRICS"
+  }
 }
 
 
@@ -2333,7 +2333,7 @@ SUBSCRIBE Request (JSON):
 
 POST /api/v1  HTTP/1.1
 
-Host: agenthost:5051
+Host: masterhost:5050
 Content-Type: application/json
 Accept: application/json
 
@@ -2997,8 +2997,7 @@ Content-Type: application/json
 
 ### GET_FRAMEWORKS
 
-This call retrieves information about all the frameworks known to the agent at the current
-time.
+This call retrieves information about all the frameworks known to the agent.
 
 ```
 GET_FRAMEWORKS HTTP Request (JSON):
@@ -3046,8 +3045,7 @@ Content-Type: application/json
 
 ### GET_EXECUTORS
 
-This call retrieves information about all the executors known to the agent at the
-current time.
+This call retrieves information about all the executors known to the agent.
 
 ```
 GET_EXECUTORS HTTP Request (JSON):
@@ -3131,7 +3129,7 @@ Content-Type: application/json
 Accept: application/json
 
 {
-
+ \u201ctype\u201d: "GET_TASKS"
 }