diff options
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/admin.rb | 3 | ||||
-rw-r--r-- | config/routes/group.rb | 2 | ||||
-rw-r--r-- | config/routes/import.rb | 5 | ||||
-rw-r--r-- | config/routes/project.rb | 6 |
4 files changed, 12 insertions, 4 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb index bac8247de2e..60efd12bb57 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -91,8 +91,6 @@ namespace :admin do resources :instance_statistics, only: :index resource :dev_ops_report, controller: 'dev_ops_report', only: :show - # remove in 13.5 - get '/dev_ops_score', to: redirect('admin/dev_ops_report') resources :cohorts, only: :index scope(path: 'projects/*namespace_id', @@ -153,6 +151,7 @@ namespace :admin do collection do get :tag_list, format: :json + get :runner_setup_scripts, format: :json end end diff --git a/config/routes/group.rb b/config/routes/group.rb index e5bbfdf7548..7b74ccbe1b9 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -35,6 +35,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do put :reset_registration_token patch :update_auto_devops post :create_deploy_token, path: 'deploy_token/create', to: 'repository#create_deploy_token' + get :runner_setup_scripts, format: :json end resource :repository, only: [:show], controller: 'repository' do @@ -61,6 +62,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do resources :milestones, constraints: { id: %r{[^/]+} } do member do + get :issues get :merge_requests get :participants get :labels diff --git a/config/routes/import.rb b/config/routes/import.rb index 0d3f202ba55..3ee44aa8659 100644 --- a/config/routes/import.rb +++ b/config/routes/import.rb @@ -69,6 +69,11 @@ namespace :import do post :authorize end + resource :bulk_import, only: [:create] do + post :configure + get :status + end + resource :manifest, only: [:create, :new], controller: :manifest do get :status get :realtime_changes diff --git a/config/routes/project.rb b/config/routes/project.rb index 24b44646d95..c8fd5dc7e9e 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -93,6 +93,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do post :reset_cache put :reset_registration_token post :create_deploy_token, path: 'deploy_token/create', to: 'repository#create_deploy_token' + get :runner_setup_scripts, format: :json end resource :operations, only: [:show, :update] do @@ -161,8 +162,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resources :milestones, constraints: { id: /\d+/ } do member do post :promote - put :sort_issues - put :sort_merge_requests + get :issues get :merge_requests get :participants get :labels @@ -311,6 +311,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resources :incidents, only: [:index] + get 'issues/incident/:id' => 'incidents#show', as: :issues_incident + namespace :error_tracking do resources :projects, only: :index end |