Querying OData Service Files

Function

This is used to query OData service files.

Syntax

Operation type: GET

URL: https://device_ip/redfish/v1/odata

Request header:

X-Auth-Token: auth_value

Request message body: None

Usage Guidelines

None

Example

Request:

GET https://10.10.10.10/redfish/v1/odata

Request header:

X-Auth-Token: auth_value

Request message body: None

Response:

{
    "@odata.context": "/redfish/v1/$metadata",
    "value": [
        {
            "name": "Systems",
            "kind": "Singleton",
            "url": "/redfish/v1/Systems"
        },
        {
            "name": "AccountService",
            "kind": "Singleton",
            "url": "/redfish/v1/AccountService"
        },
        {
            "name": "SessionService",
            "kind": "Singleton",
            "url": "/redfish/v1/SessionService"
        },
        {
            "name": "UpdateService",
            "kind": "Singleton",
            "url": "/redfish/v1/UpdateService"
        },
        {
            "name": "NetManager",
            "kind": "Singleton",
            "url": "/redfish/v1/NetManager"
        },

    ]
}

Response code: 200

Output Description

Table 1 Operation output description

Field

Type

Description

@odata.context

Character string

OData description of the OData service document resource model.

value

List

OData service document resource list.

name

Character string

OData service document resource name.

kind

Character string

OData service document resource type.

url

Character string

Path to access OData service document resources.