Remove snippet
DELETE
/v3/snippets/{id}This feature was introduced in GitLab 8.15.
请求参数
Path 参数
id
integer <int32>
必需
The ID of a snippet
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Remove snippet
数据结构
This feature was introduced in GitLab 8.15.
id
string
可选
title
string
可选
file_name
string
可选
author
object (UserBasic)
可选
Get a single user
name
string
可选
username
string
可选
id
string
可选
state
string
可选
avatar_url
string
可选
web_url
string
可选
updated_at
string
可选
created_at
string
可选
web_url
string
可选
raw_url
string
可选
示例
{
"id": "string",
"title": "string",
"file_name": "string",
"author": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
},
"updated_at": "string",
"created_at": "string",
"web_url": "string",
"raw_url": "string"
}
最后修改时间: 1 个月前