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

Dominic Hamon commented on MESOS-2067:
--------------------------------------

Does posting a schedule append to the existing or replace?

I wonder if we can simplify the API by insisting on always having multiple 
hosts (even if there's only one in there):

 * GET /maintenance/schedule
 * POST /maintenance/schedule

and that's it. Deletion is implicit when you send a new schedule with that one 
missing. Status can be rolled into the schedule GET endpoint.

Thoughts?

> Add HTTP API to the master for maintenance operations.
> ------------------------------------------------------
>
>                 Key: MESOS-2067
>                 URL: https://issues.apache.org/jira/browse/MESOS-2067
>             Project: Mesos
>          Issue Type: Task
>          Components: master
>            Reporter: Benjamin Mahler
>              Labels: twitter
>
> Based on MESOS-1474, we'd like to provide an HTTP API on the master for the 
> maintenance primitives in mesos.
> Something like this for manipulating the schedule:
> # GET /maintenance/schedule
> # POST /maintenance/schedule (authenticated): many hosts
> # POST /maintenance/schedule/<hostname> (authenticated): single host 
> # DELETE /maintenance/schedule/<hostname> (authenticated): single host
> Something like this for checking the status / progress:
> # GET /maintennace/status



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

Reply via email to