Imran Rashid created SPARK-23236:
------------------------------------

             Summary: Make it easier to find the rest API, especially in local 
mode
                 Key: SPARK-23236
                 URL: https://issues.apache.org/jira/browse/SPARK-23236
             Project: Spark
          Issue Type: Improvement
          Components: Web UI
    Affects Versions: 2.3.0
            Reporter: Imran Rashid


This is really minor, but it always takes me a little bit to figure out how to 
get from the UI to the rest api.  Its especially a pain in local-mode, where 
you need the app-id, though in general I don't know the app-id, so have to 
either look in logs or go to another endpoint first in the ui just to find the 
app-id.  While it wouldn't really help anybody accessing the endpoints 
programmatically, we could make it easier for someone doing exploration via 
their browser.

Some things which could be improved:

* /api/v1 just provides a link to "/api/v1/applications"
* /api provides a link to "/api/v1/applications"
* /api/v1/applications/[app-id] gives a list of links for the other endpoints
* on the UI, there is a link to at least /api/v1/applications/[app-id] -- 
better still if each UI page links to the corresponding endpoint, eg. the all 
jobs page would link to /api/v1/applications/[app-id]/jobs



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to