删除讨论
删除讨论
Path Parameters
- org required
组织的path
- repo required
仓库的path
- discussion_number required
讨论的序号
Header Parameters
- Authorization required
用户token(需以Bearer加空格开头)
Responses
- 200
- 401
- 403
- 404
删除成功
token不合法、请检查token是否正确
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
- error string
错误名称
- error_description string
错误描述
{
"error": "invalid_token",
"error_description": "Invalid token, please provide correct token"
}
- Schema
- Example (from schema)
Schema
- error string
错误名称
- error_description string
错误描述
<root>
<error>invalid_token</error>
<error_description>Invalid token, please provide correct token</error_description>
</root>
权限异常
- application/json
- Schema
- Example (from schema)
Schema
- error_code string
错误名称
- error_message string
错误描述
{
"error_code": "string",
"error_message": "string"
}
资源不存在
Loading...