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 id
    Parameters:
    NameP.TypeDescriptionRequiredTypeAllowed valuesDefault value
    id Path none int -all- -none-

    Return type: ResourceTypeRest

    Error codes:
    CodeReason
    404 There is no type with the passed id
  • GET /resource/type

    Description

    Search for resource types

    Supports returning a gzip'ed Content-Encoding

    Parameters:
    NameP.TypeDescriptionRequiredTypeAllowed valuesDefault 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)

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.