---
title: "bmc query"
method: GET
path: "/v1/bmc"
tags: ["v1", "bmc"]
---

# bmc query

`GET /v1/bmc`

#### Controller: 

`github.com/ubccr/grendel/internal/api.(*Handler).BmcQuery`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`
- `github.com/ubccr/grendel/internal/api.(*Handler).authMiddleware`

---

Get redfish info from node(s)

## Query parameters

- `nodeset` string
- `tags` string

## Headers

- `Accept` string

## Response `200`

OK

- RedfishSystem[]
  - `bios_version` string
  - `boot_next` string
  - `boot_order` string[], nullable
  - `health` string
  - `host_name` string
  - `manufacturer` string
  - `model` string
  - `name` string
  - `oem_dell` object, nullable
    - `@Message.ExtendedInfo` object[], nullable
      - `Message` string
      - `MessageArgs` string[]
      - `MessageId` string
      - `MessageSeverity` string
      - `Oem` unknown
      - `RelatedProperties` string[], nullable
      - `Resolution` string
      - `ResolutionSteps` object[]
        - `ActionParameters` object[]
          - `AllowableNumbers` string[]
          - `AllowablePattern` string
          - `AllowableValueDescriptions` string[]
          - `AllowableValues` string[]
          - `ArraySizeMaximum` integer, nullable
          - `ArraySizeMinimum` integer, nullable
          - `DataType` string
          - `DefaultValue` string
          - `MaximumValue` number, double, nullable
          - `MinimumValue` number, double, nullable
          - `Name` string
          - `NoDefaultValue` boolean
          - `ObjectDataType` string
          - `Required` boolean
        - `ActionURI` string
        - `Oem` unknown
        - `Priority` integer, nullable
        - `ResolutionType` string
        - `RetryCount` integer, nullable
        - `RetryIntervalSeconds` integer, nullable
        - `TargetComponentURI` string
      - `Severity` string
      - `UserAuthenticationSource` string
      - `Username` string
    - `@odata.context` string
    - `@odata.etag` string, nullable
    - `@odata.id` string
    - `@odata.type` string
    - `BIOSReleaseDate` string
    - `BaseBoardChassisSlot` string
    - `BatteryRollupStatus` string
    - `BladeGeometry` string
    - `CMCIP` string
    - `CPURollupStatus` string
    - `ChassisModel` string
    - `ChassisName` string
    - `ChassisServiceTag` string
    - `ChassisSystemHeightUnit` integer
    - `CurrentRollupStatus` string
    - `Description` string
    - `EstimatedExhaustTemperatureCelsius` integer
    - `EstimatedSystemAirflowCFM` integer
    - `ExpressServiceCode` string
    - `FanRollupStatus` string
    - `IDSDMRollupStatus` string
    - `Id` string
    - `IntrusionRollupStatus` string
    - `IsOEMBranded` string
    - `LastSystemInventoryTime` string
    - `LastUpdateTime` string
    - `LicensingRollupStatus` string
    - `ManagedSystemSize` string
    - `MaxCPUSockets` integer
    - `MaxDIMMSlots` integer
    - `MaxPCIeSlots` integer
    - `MemoryOperationMode` string
    - `Name` string
    - `NodeID` string
    - `Oem` unknown
    - `PSRollupStatus` string
    - `PlatformGUID` string
    - `PopulatedDIMMSlots` integer
    - `PopulatedPCIeSlots` integer
    - `PowerCapEnabledState` string
    - `SDCardRollupStatus` string
    - `SELRollupStatus` string
    - `ServerAllocationWatts` integer
    - `StorageRollupStatus` string
    - `SysMemErrorMethodology` string
    - `SysMemFailOverState` string
    - `SysMemLocation` string
    - `SysMemPrimaryStatus` string
    - `SystemGeneration` string
    - `SystemID` integer
    - `SystemRevision` string
    - `TempRollupStatus` string
    - `TempStatisticsRollupStatus` string
    - `UUID` string
    - `VoltRollupStatus` string
    - `smbiosGUID` string
  - `power_status` string
  - `processor_count` integer
  - `serial_number` string
  - `total_memory` number, float

## Other responses

- `default` — Default Error

---

[API](https://skmtc.net/ubccr/apis/grendel-api.md) · [All operations](https://skmtc.net/ubccr/apis/grendel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ubccr/grendel-api/versions/cd871b115a7b/schema)
