Search suggested items in analyzer for provided one
GET/v1/:projectName/item/suggest/cluster/:clusterId
Search suggested items in analyzer for provided one
Request
Path Parameters
clusterId int64required
clusterId
projectName stringrequired
projectName
Responses
- 200
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
]
logs
object[]
binaryContent
object
contentType stringrequired
id stringrequired
thumbnailId stringrequired
id int64required
itemId int64
launchId int64
level string
Possible values: [error
, warn
, info
, debug
, trace
, fatal
, unknown
]
message string
thumbnail string
time date-time
uuid stringrequired
suggestRs
object
clusterId int64
esPosition int32
esScore float
isMergedLog boolean
issueType string
launchId int64
launchName string
matchScore float
methodName string
minShouldMatch int32
modelFeatureNames string
modelFeatureValues string
modelInfo string
processedTime float
project int64
relevantItem int64
relevantLogId int64
resultPosition int32
testItem int64
testItemLogId int64
usedLogLines int32
userChoice int32
testItemResource
object
attributes
object[]
key string
value string
codeRef string
description string
endTime date-time
hasChildren boolean
hasStats boolean
id int64
issue
object
autoAnalyzed boolean
comment string
externalSystemIssues
object[]
btsProject string
btsUrl string
pluginName string
submitDate int64
ticketId string
url string
ignoreAnalyzer boolean
issueType stringrequired
launchId int64
launchStatus string
name string
parameters
object[]
key stringrequired
value string
parent int64
path string
pathNames
object
itemPaths
object[]
id int64
name string
launchPathName
object
name string
number int32
patternTemplates string[]
retries undefined[]
startTime date-time
statistics
object
defects
object
property name*
object
property name* int32
executions
object
property name* int32
status string
testCaseHash int32
testCaseId string
type string
uniqueId string
uuid string
[
{
"logs": [
{
"binaryContent": {
"contentType": "string",
"id": "string",
"thumbnailId": "string"
},
"id": 0,
"itemId": 0,
"launchId": 0,
"level": "error",
"message": "string",
"thumbnail": "string",
"time": "2024-10-07T13:47:26.503Z",
"uuid": "string"
}
],
"suggestRs": {
"clusterId": 0,
"esPosition": 0,
"esScore": 0,
"isMergedLog": true,
"issueType": "string",
"launchId": 0,
"launchName": "string",
"matchScore": 0,
"methodName": "string",
"minShouldMatch": 0,
"modelFeatureNames": "string",
"modelFeatureValues": "string",
"modelInfo": "string",
"processedTime": 0,
"project": 0,
"relevantItem": 0,
"relevantLogId": 0,
"resultPosition": 0,
"testItem": 0,
"testItemLogId": 0,
"usedLogLines": 0,
"userChoice": 0
},
"testItemResource": {
"attributes": [
{
"key": "string",
"value": "string"
}
],
"codeRef": "string",
"description": "string",
"endTime": "2024-10-07T13:47:26.503Z",
"hasChildren": true,
"hasStats": true,
"id": 0,
"issue": {
"autoAnalyzed": true,
"comment": "string",
"externalSystemIssues": [
{
"btsProject": "string",
"btsUrl": "string",
"pluginName": "string",
"submitDate": 0,
"ticketId": "string",
"url": "string"
}
],
"ignoreAnalyzer": true,
"issueType": "string"
},
"launchId": 0,
"launchStatus": "string",
"name": "string",
"parameters": [
{
"key": "string",
"value": "string"
}
],
"parent": 0,
"path": "string",
"pathNames": {
"itemPaths": [
{
"id": 0,
"name": "string"
}
],
"launchPathName": {
"name": "string",
"number": 0
}
},
"patternTemplates": [
"string"
],
"retries": [
null
],
"startTime": "2024-10-07T13:47:26.503Z",
"statistics": {
"defects": {},
"executions": {}
},
"status": "string",
"testCaseHash": 0,
"testCaseId": "string",
"type": "string",
"uniqueId": "string",
"uuid": "string"
}
}
]
Loading...