Moab Web Services > Resources > Resource Types

Resource Types

This section describes behavior of the Resource Type object in Moab Web Services. It contains the URLs, request bodies, and responses delivered to and from MWS.

The Fields: Resource Types reference contains the type and description of all fields in the Resource Type object.

Supported methods

Resource GET PUT POST DELETE
/rest/resource-types Get All Resource Types -- -- --

This topic contains these sections:

Getting Resource Types

The HTTP GET method is used to retrieve Resource Type information.

Quick reference

GET http://localhost:8080/mws/rest/resource-types?api-version=3

Get All Resource Types

URLs and parameters

GET http://localhost:8080/mws/rest/resource-types?api-version=3

See Global URL Parameters for available URL parameters.

Sample response

GET http://localhost:8080/mws/rest/resource-types?api-version=3&fields=id
------------------------------------

{
  "totalCount": 1,
  "resultCount": 1,
  "results":   [
    {"id": "throttle_migrate"}
  ]
}

Related Topics 

© 2015 Adaptive Computing