1.12. http://localhost:7080/rest/resource/type : Resource type related
This endpoint deals with resource types
Defining class: org.rhq.enterprise.server.rest.ResourceTypeHandlerBean
Produces: application/json, application/xml
Methods
GET /resource/type/{id}
Description
Return information about the resource type with the passed idParameters: Name P.Type Description Required Type Allowed values Default value id Path none int -all- -none- Return type: ResourceTypeRest
Error codes: Code Reason 404 There is no type with the passed id GET /resource/type
Description
Search for resource typesSupports returning a gzip'ed Content-Encoding
Parameters: Name P.Type Description Required Type Allowed values Default value q Query Limit results to param in the resource type name false String all plugin Query Limit results to the plugin with the passed name false String all ps Query Page size for paging false int all 20 page Query Page for paging, 0-based false Integer all Return type: ResourceTypeRest (multi)