```ruby
Rails.application.routes.draw do
  root 'home#index'
  get 'list', to: 'home#list'

  namespace :api do
    resources :bookmarks do
      collection do
        post 'metadata'
      end
    end
  end
end
```

Fix route to use GET instead of POST
user
```ruby
Rails.application.routes.draw do
  root 'home#index'
  get 'list', to: 'home#list'

  namespace :api do
    resources :bookmarks do
      collection do
        get 'metadata'
      end
    end
  end
end
```
assistant