[ 
https://issues.apache.org/jira/browse/MESOS-6845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15795510#comment-15795510
 ] 

Neil Conway commented on MESOS-6845:
------------------------------------

Yes, this should certainly be improved. Although keep in mind that these 
endpoints are deprecated; in most cases, the operator V1 API should be used 
instead.

> All /master endpoint documentation lack request details
> -------------------------------------------------------
>
>                 Key: MESOS-6845
>                 URL: https://issues.apache.org/jira/browse/MESOS-6845
>             Project: Mesos
>          Issue Type: Documentation
>          Components: documentation
>            Reporter: Tobias Mueller
>
> When I was trying to use the /master/teardown endpoint 
> (http://mesos.apache.org/documentation/latest/endpoints/master/teardown/), I 
> was unsuccessful in tearing down my specific framework, because the docs say 
> nothing about request details, such as
> * HTTP method
> * Request body contents
> This makes the usage rather hard, if not impossible. 
> I'd suggest to add call examples like for the Scheduler HTTP API at 
> http://mesos.apache.org/documentation/latest/scheduler-http-api/
> E.g.
> TEARDOWN Request (JSON):
> POST /master/teardown  HTTP/1.1
> Host: masterhost:5050
> Content-Type: application/json
> frameworkId=12220-3440-12532-2345
> TEARDOWN Response:
> HTTP/1.1 200 Ok



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to