Get available rule fields
GET/api/v1/upload/policies/fields/available
Fetches all available fields that can be used in rules from the upload service
Request
Responses
- 200
List of available fields
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id numberrequired
Unique identifier of the field
name stringrequired
Field name in JSONPath format (e.g., $.battery.level)
type RuleFieldTyperequired
Possible values: [string, number, boolean, object, array, version]
Field data type
label stringrequired
Human-readable label
description string
Field description
[
{
"id": 0,
"name": "string",
"type": "string",
"label": "string",
"description": "string"
}
]
Loading...