<commit_before>Rails.application.routes.draw do
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  namespace :api do
    namespace :v1 do

      # /api/v1/users
      resources :users, only: [:create]

      # /api/v1/auth

      post '/auth', to: "auth#login"
      post '/auth/refresh', to: "auth#refresh"

      # /api/v1/playlists
      resources :playlists, only: [:index, :create, :show]
    end
  end
end<commit_msg>add nested :index route for videos<commit_after>Rails.application.routes.draw do
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  namespace :api do
    namespace :v1 do

      # /api/v1/users
      resources :users, only: [:create]

      # /api/v1/auth

      post '/auth', to: "auth#login"
      post '/auth/refresh', to: "auth#refresh"

      # /api/v1/playlists
      resources :playlists, only: [:index, :create, :show] do
        resources :videos, only: [:index]
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.12743190661478598, 'fraction_numerical': 0.007782101167315175, 'mean_word_length': 2.675, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3692610', 'n_tokens_mistral': 351, 'n_tokens_neox': 339, 'n_words': 96}