Sha256: 3472d2716fde0a9a5ea648934762a5e28d243b174545ae97710c589a60c6d6d6

Contents?: true

Size: 1.12 KB

Versions: 98

Compression:

Stored size: 1.12 KB

Contents

Rails.application.routes.draw do
  use_doorkeeper

  # See `config/routes.rb` in the starter repository for details.
  collection_actions = [:index, :new, :create] # standard:disable Lint/UselessAssignment
  extending = {only: []}

  namespace :account do
    shallow do
      resources :teams, extending do
        namespace :platform do
          resources :applications do
            resources :access_tokens
          end
        end
      end
    end
  end

  get "/testing/provision", to: "account/platform/applications#provision"

  namespace :api do
    match "*version/openapi.yaml" => "open_api#index", :via => :get

    BulletTrain::Api.all_versions.each do |version|
      namespace version do
        shallow do
          resources :users
          resources :teams do
            resources :invitations do
              member do
                post :resend
              end
            end
            resources :memberships
            namespace :platform do
              resources :applications do
                resources :access_tokens
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
bullet_train-api-1.14.0 config/routes.rb
bullet_train-api-1.13.0 config/routes.rb
bullet_train-api-1.12.3 config/routes.rb
bullet_train-api-1.12.2 config/routes.rb
bullet_train-api-1.12.1 config/routes.rb
bullet_train-api-1.12.0 config/routes.rb
bullet_train-api-1.11.0 config/routes.rb
bullet_train-api-1.10.0 config/routes.rb
bullet_train-api-1.9.0 config/routes.rb
bullet_train-api-1.8.5 config/routes.rb
bullet_train-api-1.8.4 config/routes.rb
bullet_train-api-1.8.3 config/routes.rb
bullet_train-api-1.8.2 config/routes.rb
bullet_train-api-1.8.1 config/routes.rb
bullet_train-api-1.8.0 config/routes.rb
bullet_train-api-1.7.23 config/routes.rb
bullet_train-api-1.7.22 config/routes.rb
bullet_train-api-1.7.21 config/routes.rb
bullet_train-api-1.7.20 config/routes.rb
bullet_train-api-1.7.19 config/routes.rb