Tobias Weingartner created MESOS-1254:
-----------------------------------------

             Summary: JSON endpoints should have url pointers to other locations
                 Key: MESOS-1254
                 URL: https://issues.apache.org/jira/browse/MESOS-1254
             Project: Mesos
          Issue Type: Improvement
            Reporter: Tobias Weingartner
            Priority: Minor


Hitting an endpoint like:
{noformat}
http://host:port/state.json
{noformat}
Has a lot of information, including a list of slaves/etc.  However, if you'd 
like to hit a slave's JSON endpoint, you're basically left with grabbing the 
"{{pid}}" of the slave you're looking for, and interpreting that string in 
order to create a URL where you can now get the slave's JSON endpoint.

Having a key -> value pair that allows traversing from JSON endpoint to JSON 
endpoint should make this easier and less error prone.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to