创建缺陷单
POST
{{env}}/uniform/openapi/upsertBugs创建缺陷单
新加坡: https://crashsight.wetest.net
以上示例中的前缀域名为示例域名,实际使用时以实际环境为准。
下载python代码示例:https://crashsight-docs-1258344700.cos.ap-shanghai.myqcloud.com/uniform/crashsight_openapi_v1_upsertBugs.py
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Accept-Encoding
string
可选
示例值:
*
Body 参数application/json
appId
string
项目ID
platformId
integer
必需
平台ID: 1(安卓)2(IOS)10(PC)
issueList
array [object {2}]
问题列表
issueHash
string
问题HASH
bugInfoList
array [object {13}]
可选
示例
{
"appId": "d98b9f7eec",
"platformId": 1,
"issueList": [
{
"issueHash": "97CF6DE03A2BCF2A517A1F3AC2A4CF77",
"bugInfoList": [
{
"status": "new",
"titleBase64": "",
"descriptionBase64": "",
"reporter": "demo",
"includeAttachments": false,
"attachmentFilenameList": [],
"severity": "normal",
"versionReport": "发现版本4",
"iterationId": "1020428185001284771",
"release_id": "",
"currentOwner": "v_fzqfang"
}
]
}
]
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
integer
响应状态码
ret
integer
创建结果
data
array[boolean]
创建状态
message
string
错误详情
示例
{
"status": 200,
"ret": 200,
"data": [
true
],
"message": "OK"
}
最后修改时间: 6 个月前