Retrieves a list of edge hosts metadata matching the filter condition
GEThttps://api.spectrocloud.com/v1/edgehosts/metadata
Retrieves a list of edge hosts metadata matching the filter condition
Request
Query Parameters
type string
Possible values: [libvirt
, edge-native
, vsphere
]
quickFilter string
Possible values: [unusedEdgeHosts
]
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
An array of edge host metadata
- application/json
- Schema
- Example (from schema)
Schema
edgeHosts
object[]
{
"edgeHosts": [
{
"archType": "amd64",
"edgeHostType": "libvirt",
"healthState": "string",
"name": "string",
"state": "string",
"uid": "string"
}
]
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/edgehosts/metadata' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'