[
https://issues.apache.org/jira/browse/MESOS-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991218#comment-14991218
]
Benjamin Mahler commented on MESOS-3833:
----------------------------------------
[~gyliu] it doesn't look that difficult to update the help code in your link to
support an arbitrary amount of tokens. However, I'm a bit surprised that the
code behaves this way. What is listed when you hit /help/master? Taking a quick
glance at the code, it looks like the help code handles multi-token paths
during the call to
[Help::add|https://github.com/apache/mesos/blob/0.25.0/3rdparty/libprocess/src/help.cpp#L81],
so seems that
[Help::help|https://github.com/apache/mesos/blob/0.25.0/3rdparty/libprocess/src/help.cpp#L109]
should handle these as well.
> /help endpoints do not work for nested paths
> --------------------------------------------
>
> Key: MESOS-3833
> URL: https://issues.apache.org/jira/browse/MESOS-3833
> Project: Mesos
> Issue Type: Bug
> Components: HTTP API
> Reporter: Anand Mazumdar
> Assignee: Guangya Liu
> Priority: Minor
> Labels: mesosphere, newbie
>
> Mesos displays the list of all supported endpoints starting at a given path
> prefix using the {{/help}} suffix, e.g. {{master:5050/help}}.
> It seems that the {{help}} functionality is broken for URL's having nested
> paths e.g. {{master:5050/help/master/machine/down}}. The response returned is:
> {quote}
> Malformed URL, expecting '/help/id/name/'
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)