Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E275F200C03 for ; Sat, 7 Jan 2017 01:53:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E0C31160B49; Sat, 7 Jan 2017 00:53:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5AFBC160B39 for ; Sat, 7 Jan 2017 01:53:59 +0100 (CET) Received: (qmail 90854 invoked by uid 500); 7 Jan 2017 00:53:58 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 90824 invoked by uid 99); 7 Jan 2017 00:53:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2017 00:53:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 600522C022B for ; Sat, 7 Jan 2017 00:53:58 +0000 (UTC) Date: Sat, 7 Jan 2017 00:53:58 +0000 (UTC) From: "Benjamin Mahler (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-6845) All /master endpoint documentation lack request details MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 07 Jan 2017 00:54:00 -0000 [ https://issues.apache.org/jira/browse/MESOS-6845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15806335#comment-15806335 ] Benjamin Mahler commented on MESOS-6845: ---------------------------------------- I don't know if we're quite at the point yet where we've called the existing http endpoints deprecated, there are some pieces we need still to make it usable. For example, you can't use them from the browser: MESOS-6773. > 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)