List subset of a Server Inventory

post/compute-ops-mgmt/v1beta2/servers/{id}/inventory

Lists the subset of the server hardware inventory. The request body can either specify a subset of attributes, or can be empty, and a subset of attributes or the full inventory response is returned.

URI PATH PREFIX RENAME

This API now supports the URI path prefix /compute-ops-mgmt which used to be /compute-ops. The old prefix will continue to be supported to allow for a smooth transition. The Guide contains more information about this change.

SecurityBearer
Request
path Parameters
id
required
string <productId+serialNumber>

Unique Server identifier

Example: P43990-121+SYN1002J11
query Parameters
format
required
string <json>

Format for subset inventory response

Example: format=json
header Parameters
Content-Type
required
string

Content-Type header must designate 'application/json' in order for the request to be performed.

Value: "application/json"
Tenant-Acid
string <uuid>

Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.

In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts API to determine the application customer IDs for your tenant accounts.

Request Body schema: application/json
required

Below is an example payload for fetching chassis and processor inventory which is a subset.

object

Chassis Inventory

object

Processor Inventory

Responses
200

Subset of a Server Inventory

400

Bad request

401

Unauthorized

403

Forbidden

404

Not found

406

Not acceptable

500

Internal server error

Request samples
application/json
{
  • "chassis": {
    },
  • "processor": {
    }
}
Response samples
application/json
{
  • "chassis": {
    },
  • "processor": {
    }
}