跳转到主要内容
POST
/
rum
/
field
/
list
字段列表
curl --request POST \
  --url 'https://api.flashcat.cloud/rum/field/list?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scopes": [
    "session"
  ],
  "is_facet": true
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "field_key": "<string>",
        "field_name": "<string>",
        "value_type": "number",
        "show_type": "list",
        "description": "<string>",
        "edit_able": true,
        "enum_values": [
          "<string>"
        ],
        "scopes": [
          "session"
        ],
        "group": "<string>",
        "unit_family": "time",
        "unit_name": "nanosecond",
        "is_facet": true,
        "queryable": true
      }
    ]
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
scopes
enum<string>[]

生效范围,不传查全部

可用选项:
session,
long_task,
issues,
error,
resource,
action,
vital,
sourcemap,
view
is_facet
boolean

是否来自facet

响应

200 - application/json
error
object

错误描述

data
object