Add the JSON API route to search by BookID.
This commit is contained in:
@@ -8,6 +8,7 @@ defmodule DecentralisedBookIndex.Metadata do
|
||||
base_route "/books", Metadata.Book do
|
||||
get :by_id
|
||||
index :search
|
||||
index :search_by_bid, route: "/search-by-bid"
|
||||
|
||||
related :bids, :read, primary?: true
|
||||
related :author_roles, :read, primary?: true
|
||||
|
||||
Reference in New Issue
Block a user