DatasetTarget
Test Dataset Associations - Management interface for establishing and maintaining links between test datasets and test resources (APIs/scenarios)
Query the list of target datasets
GET
/api/v1/target/{targetId}/{targetType}/dataset
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
targetId*
Target id
类型integer
必填format
"int64"
targetType*
Target type, allowable values : API, SCENARIO
类型string
必填响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Add target dataset
POST
/api/v1/target/{targetId}/{targetType}/dataset
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
targetId*
Target id
类型integer
必填format
"int64"
targetType*
Target type, allowable values: API, SCENARIO
类型string
必填请求体
application/json
JSON
[
0
]
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Delete target datasets
DELETE
/api/v1/target/{targetId}/{targetType}/dataset
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
targetId*
Target id
类型integer
必填format
"int64"
targetType*
Target type, allowable values : API, SCENARIO
类型string
必填请求体
application/json
JSON
[
0
]
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Preview the values of target datasets
GET
/api/v1/target/{targetId}/{targetType}/dataset/value/preview
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
targetId*
Target id
类型integer
必填format
"int64"
targetType*
Target type, allowable values : API, SCENARIO
类型string
必填响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}