Commit 77b2ef8e authored by Mark Chao's avatar Mark Chao

Clarify project approval rule APIs are private

parent 7b04a17a
...@@ -12,7 +12,7 @@ module API ...@@ -12,7 +12,7 @@ module API
resource :projects, requirements: ::API::API::NAMESPACE_OR_PROJECT_REQUIREMENTS do resource :projects, requirements: ::API::API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
segment ':id/approval_settings' do segment ':id/approval_settings' do
desc 'Get all project approval rules' do desc 'Get all project approval rules' do
detail 'This feature was introduced in 11.8' detail 'Private API subject to change'
success EE::API::Entities::ProjectApprovalRules success EE::API::Entities::ProjectApprovalRules
end end
get do get do
...@@ -22,7 +22,7 @@ module API ...@@ -22,7 +22,7 @@ module API
end end
desc 'Update fallback approvals required' do desc 'Update fallback approvals required' do
detail 'This feature was introduced in 11.8' detail 'Private API subject to change'
success ::API::Entities::Project success ::API::Entities::Project
end end
params do params do
...@@ -46,7 +46,7 @@ module API ...@@ -46,7 +46,7 @@ module API
segment 'rules' do segment 'rules' do
desc 'Create new approval rule' do desc 'Create new approval rule' do
detail 'This feature was introduced in 11.8' detail 'Private API subject to change'
success EE::API::Entities::ApprovalRule success EE::API::Entities::ApprovalRule
end end
params do params do
...@@ -69,7 +69,7 @@ module API ...@@ -69,7 +69,7 @@ module API
segment ':approval_rule_id' do segment ':approval_rule_id' do
desc 'Update approval rule' do desc 'Update approval rule' do
detail 'This feature was introduced in 11.8' detail 'Private API subject to change'
success EE::API::Entities::ApprovalRule success EE::API::Entities::ApprovalRule
end end
params do params do
...@@ -95,7 +95,7 @@ module API ...@@ -95,7 +95,7 @@ module API
end end
desc 'Delete an approval rule' do desc 'Delete an approval rule' do
detail 'This feature was introduced in 11.8' detail 'Private API subject to change'
end end
params do params do
requires :approval_rule_id, type: Integer, desc: 'The ID of an approval_rule' requires :approval_rule_id, type: Integer, desc: 'The ID of an approval_rule'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment