Github user vinodkone commented on a diff in the pull request:

    https://github.com/apache/mesos/pull/301#discussion_r201407700
  
    --- Diff: docs/scheduler-http-api.md ---
    @@ -128,6 +128,26 @@ TEARDOWN Response:
     HTTP/1.1 202 Accepted
     ```
     
    +### SUPPRESS
    +Sent by the scheduler when it wants to inform Mesos master to stop sending 
offers to the framework. When Mesos receives this request it will stop sending 
offers to framework but the tasks will continue running for 
`FrameworkInfo.failover_timeout`. Once the framework has work to do, it can 
send again a `REVIVE` request.
    +
    +```
    +SUPPRESS Request (JSON):
    +POST /api/v1/scheduler  HTTP/1.1
    +
    +Host: masterhost:5050
    +Content-Type: application/json
    +Mesos-Stream-Id: 130ae4e3-6b13-4ef4-baa9-9f2e85c3e9af
    +
    +{
    +  "framework_id"        : {"value" : "12220-3440-12532-2345"},
    +  "type"                        : "SUPPRESS"
    +}
    +
    +SUPPRESS Response:
    +HTTP/1.1 202 Accepted
    +```
    +
    --- End diff --
    
    While you are at it, can you also update the documentation about "REVIVE" 
call below. I think it's a bit outdated now. Preferably in a different PR.


---

Reply via email to