Update an existing +noteable+ note
PUT
/v3/projects/{id}/snippets/{noteable_id}/notes/{note_id}Update an existing +noteable+ note
请求参数
Path 参数
id
string
必需
The ID of a project
noteable_id
integer <int32>
必需
The ID of the noteable
note_id
integer <int32>
必需
The ID of a note
Body 参数application/x-www-form-urlencoded
body
string
必需
The content of a note
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Update an existing +noteable+ note
数据结构
Delete a +noteable+ note
id
string
可选
body
string
可选
attachment
string
可选
author
object (UserBasic)
可选
Get a single user
name
string
可选
username
string
可选
id
string
可选
state
string
可选
avatar_url
string
可选
web_url
string
可选
created_at
string
可选
updated_at
string
可选
system
string
可选
noteable_id
string
可选
noteable_type
string
可选
upvote?
string
可选
downvote?
string
可选
示例
{
"id": "string",
"body": "string",
"attachment": "string",
"author": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
},
"created_at": "string",
"updated_at": "string",
"system": "string",
"noteable_id": "string",
"noteable_type": "string",
"upvote?": "string",
"downvote?": "string"
}
最后修改时间: 1 个月前