|
|
@ -8,6 +8,7 @@ defmodule DecentralisedBookIndex.Metadata do
|
|
|
|
base_route "/books", Metadata.Book do
|
|
|
|
base_route "/books", Metadata.Book do
|
|
|
|
get :by_id
|
|
|
|
get :by_id
|
|
|
|
index :search
|
|
|
|
index :search
|
|
|
|
|
|
|
|
index :search_by_bid, route: "/search-by-bid"
|
|
|
|
|
|
|
|
|
|
|
|
related :bids, :read, primary?: true
|
|
|
|
related :bids, :read, primary?: true
|
|
|
|
related :author_roles, :read, primary?: true
|
|
|
|
related :author_roles, :read, primary?: true
|
|
|
|