Commit 33f6b9b6 authored by lauraMon's avatar lauraMon

Sets low urgency for PA endpoints

parent 05ceec73
......@@ -146,7 +146,7 @@ module API
use :pagination
end
get ':id/pipelines/:pipeline_id/bridges', feature_category: :pipeline_authoring do
get ':id/pipelines/:pipeline_id/bridges', urgency: :low, feature_category: :pipeline_authoring do
authorize!(:read_build, user_project)
pipeline = user_project.all_pipelines.find(params[:pipeline_id])
......
......@@ -23,7 +23,7 @@ module API
params do
use :pagination
end
get ':id/variables' do
get ':id/variables', urgency: :low do
variables = user_project.variables
present paginate(variables), with: Entities::Ci::Variable
end
......
......@@ -21,7 +21,7 @@ module API
optional :include_merged_yaml, type: Boolean, desc: 'Whether or not to include merged CI config yaml in the response'
optional :include_jobs, type: Boolean, desc: 'Whether or not to include CI jobs in the response'
end
post '/lint' do
post '/lint', urgency: :low do
unauthorized! unless can_lint_ci?
result = Gitlab::Ci::Lint.new(project: nil, current_user: current_user)
......
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