resource-list
Description
A document detailing all available resources and the actions they expose.
URL
/qcbin/rest/resource-list
Remarks
The returned value contains the URLs, supported HTML methods, and mime types. The values possible for Content-Type are in Consumes elements. The values possible for Accept are in Produces elements. For example:
<Consumes>application/xml</Consumes> <Consumes>application/json</Consumes> <Produces>application/xml</Produces> <Produces>application/json</Produces>
HP advises you to use only the resources documented in the HP ALM REST API Reference. Any resources included in the REST API that are not documented are not intended for public use. Be aware that HP does not support the use of undocumented resources by customers.
HTTP Methods
GET: The collection of available resources.
PUT: N/A
DELETE: N/A
POST: N/A
Media Type |
GET
|
PUT
|
DELETE
|
POST
|
---|---|---|---|---|
application/xml |
![]() |
-
|
-
|
-
|
application/json |
![]() |
-
|
-
|
-
|
Returns
A web page that offers the user the choice of two options:
- Application resources view :http://SERVER:PORT/qcbin/rest/resource-list?doc=resources
- Wink Resource registry xml view: http://SERVER:PORT/qcbin/rest/resource-list?doc=registry
Return Value Example
<ResourceCollections> <ResourceCollection BasePath="sa/site-params"> <Resource> <Path>/sa/site-params/metadata</Path> <HttpMethod>GET</HttpMethod> <Produces>application/xml</Produces> <Produces>application/json</Produces> <Produces>application/json; schema=alm-web</Produces> </Resource> </ResourceCollection> <ResourceCollection BasePath="resource-list"> <Resource> <Path>/resource-list</Path> <HttpMethod>GET</HttpMethod> <Produces>text/html</Produces> <Produces>text/xml</Produces> <Produces>application/xml</Produces> <Produces>*/*</Produces> <Produces>application/json</Produces> <Produces>text/json</Produces> </Resource> ... </ResourceCollections>