Bug 845249 - Improve the discover-ability of top-level REST content
Summary: Improve the discover-ability of top-level REST content
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: REST
Version: JON 3.1.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER01
: JON 3.2.0
Assignee: Heiko W. Rupp
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-02 13:06 UTC by Alan Santos
Modified: 2015-02-06 01:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alan Santos 2012-08-02 13:06:09 UTC
Description of problem:

There's no way to discover available links from the top level REST api 

Currently a user must browse the documentation to discover links. While WADL may be overkill, perhaps a simple JSON object of links could be returned..

e.g.

wget http://127.0.0.1:7080/rest

"links": [
            {
                "rel": "resources",
                "href": "/rest/1/resource/"
            }

etc...

Also - the '1' seems unintuitive in paths...

Comment 1 Heiko W. Rupp 2013-03-05 07:03:23 UTC
The '1' is long gone in master and a / resource has been added long before the RHQ 4.6 release

Comment 2 Larry O'Leary 2013-09-06 14:30:53 UTC
As this is MODIFIED or ON_QA, setting milestone to ER1.

Comment 3 Mike Foley 2013-09-13 18:06:37 UTC
verified


Note You need to log in before you can comment on or make changes to this bug.