提交 cc6d4599 编写于 作者: R Robert Schilling

Add changelog, version information, frozen string literals

上级 eed79986
---
title: 'API: Add support for group labels'
merge_request: 21368
author: Robert Schilling
type: added
# frozen_string_literal: true
module API
class GroupLabels < Grape::API
include PaginationParams
......@@ -9,6 +11,7 @@ module API
end
resource :groups, requirements: API::PROJECT_ENDPOINT_REQUIREMENTS do
desc 'Get all labels of the group' do
detail 'This feature was added in GitLab 11.3'
success Entities::Label
end
params do
......@@ -21,6 +24,7 @@ module API
end
desc 'Create a new label' do
detail 'This feature was added in GitLab 11.3'
success Entities::Label
end
params do
......@@ -44,6 +48,7 @@ module API
end
desc 'Delete an existing label' do
detail 'This feature was added in GitLab 11.3'
success Entities::Label
end
params do
......@@ -59,6 +64,7 @@ module API
end
desc 'Update an existing label. At least one optional parameter is required.' do
detail 'This feature was added in GitLab 11.3'
success Entities::Label
end
params do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::GroupLabels do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册