GetAutomationEventTypeFields - Get event field catalog

Updated at:

Applicable editions

Central edition, Region edition

Service endpoint and authorization information

Product

Resource

Required permission

Organization Management

Automation event tasks

Read-only

Request syntax

Central edition

GET https://{domain}/oapi/v1/platform/organizations/{organizationId}/automation/event-types/{type}/fields

Region edition

GET https://{domain}/oapi/v1/platform/automation/event-types/{type}/fields

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

Personal access token.

pt-0fh3****0fbG_35af****0484

Request parameters

Parameter

Type

Location

Required

Description

Example

organizationId

string

path

  • Required for the Central edition

  • Not required for the Region edition

Organization ID.

type

string

path

Yes

Event type.

Request example

Central edition

curl -X 'GET' \
  'https://{domain}/oapi/v1/platform/organizations/{organizationId}/automation/event-types/{type}/fields' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region edition

curl -X 'GET' \
  'https://{domain}/oapi/v1/platform/automation/event-types/{type}/fields' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

array

-

object

allowedOps

array[string]

Allowlist of filter operators for this field (derived by the server).

deprecated

boolean

description

string

envPath

string

Complete evaluation path. Used unchanged in filter predicates and \${...} template bindings.

data.action.new_value_name

example

An example value with the same structure as the actual wire payload.

extensible

boolean

filterable

boolean

items

string

Element type of the array.

path

string

Relative payload path.

action.new_value_name

primary

boolean

Core filter field. The form lists only primary fields by default.

required

boolean

selfAnchor

boolean

The anchor field for event 'related to me' (the only userId semantic field). Used with \$self to indicate 'assigned to me'.

sensitivity

string

public/sensitive; sensitive fields support only equality-like filters.

suggestedValues

array[string]

Suggested values for open-value fields (not validated when saved).

templatable

boolean

title

string

Short field label (displayed in the form).

New status name

type

string

Field type: string/integer/number/boolean/enum/timestamp/url/userId/object/array.

userIdValue

boolean

The value domain is userId; the filter value can use \$self (expanded to the rule creator when saved).

valueTitles

object

Mapping from enum values/suggested values to display names.

values

array[string]

Complete set of values for enum.

virtual

boolean

Derived virtual field: absent from the raw event payload and used only for filtering (such as a status display name); cannot be referenced in templates.

wellKnown

boolean

Response example

[
    {
        "allowedOps": [
            
        ],
        "deprecated": false,
        "description": "",
        "envPath": "data.action.new_value_name",
        "example": ,
        "extensible": false,
        "filterable": false,
        "items": "",
        "path": "action.new_value_name",
        "primary": false,
        "required": false,
        "selfAnchor": false,
        "sensitivity": "",
        "suggestedValues": [
            
        ],
        "templatable": false,
        "title": "新状态名称",
        "type": "",
        "userIdValue": false,
        "valueTitles": {
        },
        "values": [
            
        ],
        "virtual": false,
        "wellKnown": false
    }
]

Error codes

For API-related error codes, see the Error Code Center.