Add a new rule field
POST/api/v1/upload/policies/fields
Adds a new field that can be used in rules (via upload service)
Request
- application/json
Body
required
name stringrequired
Field name in JSONPath format (e.g., $.battery.level)
type stringrequired
Field data type
label stringrequired
Human-readable label
description string
Field description
Responses
- 201
Field added successfully
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Loading...