跳转至

索引关键字段获取



GET /api/v1/workspace/index_key_field/get

概述

索引关键字段的获取

参数补充说明

请求例子

curl 'https://openapi.guance.com/api/v1/workspace/index_key_field/get' \
  -H 'Content-Type: application/json;charset=UTF-8' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  --insecure

响应

{
    "code": 200,
    "content": {
        "cfgList": [
            {
                "cfg_uuid": "default",
                "extendFields": [
                    {
                        "tag": "source"
                    },
                    {
                        "tag": "service"
                    }
                ],
                "name": "default"
            },
            {
                "cfg_uuid": "lgim_xxxx",
                "extendFields": [
                    {
                        "tag": "city"
                    },
                    {
                        "tag": "container_id"
                    }
                ],
                "name": "rp70"
            },
            {
                "cfg_uuid": "lgim_xxxx",
                "extendFields": [
                    {
                        "tag": "waakl"
                    }
                ],
                "name": "whytest"
            },
            {
                "cfg_uuid": "lgim_xxx",
                "extendFields": [],
                "name": "match_index"
            }
        ],
        "declaration": {
            "asd": "aa,bb,cc,1,True",
            "asdasd": "dawdawd",
            "business": "aaa",
            "dd": "dd",
            "fawf": "afawf",
            "organization": "xxx"
        }
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "68f86ecd0xxx"
} 

文档评价

文档内容是否对您有帮助? ×