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

Joerg Schad edited comment on MESOS-6845 at 1/3/17 5:53 PM:
------------------------------------------------------------

Agree. Just in the above case, the operator v1 API does not support `teardown` 
(added https://issues.apache.org/jira/browse/MESOS-6846 to track that).


was (Author: js84):
Agree. Just in the above case, the operator v1 API does not support `teardown`. 

> 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