Skip to content

Commit dd99410

Browse files
committed
update insight playground routes (#6680)
<!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the `insightBlueprints` in the `insightBlueprints.ts` file by adding new paths for token and NFT lookups and modifying an existing path name for clarity. ### Detailed summary - Added a new path for token lookup: - `name`: "Token lookup", - `path`: "/v1/tokens/lookup" - Added a new path for getting NFT collections: - `name`: "Get collection", - `path`: "/v1/nfts/collections/{contract_address}" - Changed the name of an existing path from "Get NFT by token" to "Get NFT by token ID". > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent b4e5dc1 commit dd99410

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

apps/playground-web/src/app/insight/insightBlueprints.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ export const insightBlueprints: MinimalBlueprintSpec[] = [
7878
name: "Get token price",
7979
path: "/v1/tokens/price",
8080
},
81+
{
82+
name: "Token lookup",
83+
path: "/v1/tokens/lookup",
84+
},
8185
],
8286
},
8387
{
@@ -128,6 +132,10 @@ export const insightBlueprints: MinimalBlueprintSpec[] = [
128132
id: "nfts",
129133
name: "Nfts",
130134
paths: [
135+
{
136+
name: "Get collection",
137+
path: "/v1/nfts/collections/{contract_address}",
138+
},
131139
{
132140
name: "Get NFTs by owner",
133141
path: "/v1/nfts",
@@ -161,7 +169,7 @@ export const insightBlueprints: MinimalBlueprintSpec[] = [
161169
path: "/v1/nfts/transfers/{contract_address}/{token_id}",
162170
},
163171
{
164-
name: "Get NFT by token",
172+
name: "Get NFT by token ID",
165173
path: "/v1/nfts/{contract_address}/{token_id}",
166174
},
167175
{

0 commit comments

Comments
 (0)