Skip to content

Get power feed

GET
/api/power-feeds/{id}
curl --request GET \
--url http://localhost:3000/api/power-feeds/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--cookie session=<session>
id
required
string format: uuid

Success

Media type application/json
object
data
object
id
required
string format: uuid
name
required
string
powerPanelId
required
string format: uuid
rackId
string format: uuid
nullable
type
string
Allowed values: primary redundant
supply
string
Allowed values: AC DC
phase
string
Allowed values: single three
voltage
required
integer
amperage
required
integer
maxUtilization

Percent, default 80

integer
status
required
string
Allowed values: active planned offline
comments
string
nullable
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Example
{
"data": {
"type": "primary",
"supply": "AC",
"phase": "single",
"status": "active"
}
}

Not authenticated

Media type application/json
object
error
required
string
Example
{
"error": "Not found"
}

PowerFeed not found

Media type application/json
object
error
required
string
Example
{
"error": "Not found"
}