Add the JSON API route to search by BookID.

This commit is contained in:
2025-06-04 12:42:04 +03:00
parent dd06829f31
commit b47d994989
+1
View File
@@ -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