Skip to main content
GET
/
v1
/
baremetals
/
products
Get baremetal products
curl --request GET \
  --url https://console.gmicloud.ai/api/v1/baremetals/products \
  --header 'Authorization: Bearer <token>'
[ { "idc": "<string>", "name": "<string>", "price": 123, "spec": {}, "type": "Container", "valid": true, "gpuModel": "<string>", "productLine": "<string>" } ]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

idc
string
Maximum string length: 50
Pattern: ^[a-zA-Z0-9._-]+$

Response

successful

idc
string
required
name
string
required
price
integer
required
spec
object
required
type
enum<string>
required
Available options:
Container,
BareMetal,
Storage,
EIP
valid
boolean
required
gpuModel
string
productLine
string

product line for categorization