Retrieve all Machine Capabilities
Changed onGet all distinct Machine Capabilities across all Machines
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/machine-capability
- AuthHTTP bearer
Query parameters
Filter Capabilities by Machines from a particular Site
Filter Capabilities by Machines that have an Instance Type
Filter Capabilities by Type
Filter Capabilities by Name
Filter Capabilities by Frequency value
Filter Capabilities by Capacity value
Filter Capabilities by Vendor
Filter Capabilities by Inactive Devices value. Since the value is an array, multiple query parameters should be specified in the correct order. For example, to filter for [1, 3], specify inactiveDevices=1&inactiveDevices=3
Filter Capabilities by Count
One-indexed page number.
Page number for pagination query
Page size for pagination query
Ordering for pagination query. TYPE_ASC orders capability type ascending and TYPE_DESC orders it descending. Defaults to TYPE_ASC. Ties are ordered by name, frequency, capacity, vendor, count, deviceType, inactiveDevices, and internal ID, all ascending with null values last.
Response
OK
Example response
[
{
"type": "CPU",
"name": "Intel(R) Xeon(R) Gold 6354 CPU @ 3.00GHz",
"frequency": "3.0GHz",
"cores": 18,
"threads": 36,
"count": 2
}
]Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info