You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Tobias Mueller (JIRA)" <ji...@apache.org> on 2017/01/03 15:11:58 UTC

[jira] [Created] (MESOS-6845) All /master endpoint documentation lack request details

Tobias Mueller created MESOS-6845:
-------------------------------------

             Summary: 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)