QueryParameters
更新时间: 2026/06/29
在Gitcode上查看源码ResourceDefinition
uris
https://device_ip/redfish/v1/{resource}?$skip=skip_num&$top=top_numhttps://device_ip/redfish/v1/{resource}?$expand=.($levels=levels_num)https://device_ip/redfish/v1/{resource}?$select=propertyhttps://device_ip/redfish/v1/{resource}?$filter=Expressionhttps://device_ip/redfish/v1/{resource}?only
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| $skip | number | true | - | 表示在开始检索第一个资源之前需要跳过的资源集合中的成员数量 |
| $top | number | true | - | 表示在响应中需要包括的成员数量,最小值为1,默认行为是返回资源集合中的所有成员 |
| $expand | string | true | - | 根据expand的值,扩展当前响应中的超链接资源 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询参数
说明
客户端在进行GET操作时可以添加查询参数,以便能够从服务端快捷地获取目标资源信息,支持的查询参数如下表所示。
| 查询参数 | 描述 | 例子 |
|---|---|---|
| $skip | 整数:表示在开始检索第一个资源之前需要跳过的资源集合中的成员数量。 | http://resourcecollection?$skip=5 |
| $top | 整数:表示在响应中需要包括的成员数量,最小值为1,默认行为是返回资源集合中的所有成员。 | http://resourcecollection?$top=30 |
| $expand | 根据expand的值,扩展当前响应中的超链接资源。 | http://resource?$expand=.($levels=1) |
详细使用方法请参考以下资源: