跳转至

【对象分类配置】导出



GET /api/v1/objc_cfg/{objc_name}/export

概述

导出对象分类配置

路由参数

参数名 类型 必选 说明
objc_name string Y 对象分类配置名称

Query 请求参数

参数名 类型 必选 说明
sourceType string Y 来源类型, 默认值为custom_object
允许为空: False
可选值: ['object', 'custom_object']

参数补充说明

请求例子

curl 'https://openapi.guance.com/api/v1/objc_cfg/test/export?sourceType=custom_object' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed

响应

{
    "code": 200,
    "content": {
        "main": [
            {
                "class": "custom_object",
                "source": {
                    "key": "test",
                    "name": "test"
                },
                "groupCfg": {
                    "name": "demo"
                },
                "filters": [],
                "table": {
                    "columns": [],
                    "detail": {
                        "views": [
                            {
                                "keys": {},
                                "title": "viewer",
                                "required": true,
                                "viewName": "NtpQ 监控视图",
                                "viewType": "dashboard",
                                "timerange": "default"
                            }
                        ]
                    }
                },
                "fields": [
                    {
                        "name": "name"
                    }
                ],
                "groups": [],
                "fills": []
            }
        ],
        "title": "test",
        "summary": "",
        "iconSet": null
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "1713254191261321318"
} 

文档评价

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