获取Pipeline列表¶
GET /api/v1/pipeline/list
概述¶
获取Pipeline列表
Query 请求参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
search | string | 文件名称(source值) 允许为空: False |
|
type | string | Pipeline文件类型 允许为空: False 可选值: ['local', 'central'] |
|
categories | commaArray | 类别列表,以逗号分隔 允许为空: False |
参数补充说明¶
请求例子¶
curl 'https://openapi.guance.com/api/v1/pipeline/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed
响应¶
{
"code": 200,
"content": {
"data": [
{
"asDefault": 0,
"category": "logging",
"createAt": 1706152082,
"creator": "xxx",
"creatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"name": "openapi_test",
"status": 0,
"updateAt": 1678026470,
"updator": "xx",
"updatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"uuid": "pl_xxx607"
},
{
"asDefault": 0,
"category": "logging",
"createAt": 1706152082,
"creator": "xx",
"creatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"name": "eee",
"status": 0,
"updateAt": 1677814027,
"updator": "xx",
"updatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"uuid": "pl_xxx8f1"
},
{
"asDefault": 0,
"category": "logging",
"createAt": 1706152082,
"creator": "xx",
"creatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"name": "JMauto_logging1",
"status": 0,
"updateAt": 1677640634,
"updator": "xx",
"updatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"uuid": "pl_xxx07f"
},
{
"asDefault": 0,
"category": "logging",
"createAt": 1706152082,
"creator": "xx",
"creatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"name": "1",
"status": 0,
"updateAt": 1677637485,
"updator": "xx",
"updatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"uuid": "pl_xxx96f"
},
{
"asDefault": 0,
"category": "logging",
"createAt": 1706152082,
"creator": "xx",
"creatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"name": "kodolog",
"status": 2,
"updateAt": 1677636474,
"updator": "xx",
"updatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"uuid": "pl_xxx877"
}
]
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-ABDC1CCF-BC78-4463-8276-2F14225B1A6B"
}