Skip to content

Commit a7e41c9

Browse files
committed
feat: update entity id
1 parent 326ae84 commit a7e41c9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ curl http://localhost:8000/api/regions
132132
curl http://localhost:8000/api/search?q=Manila&limit=50&offset=0
133133

134134
# Search only cities containing "Manila", sorted by population
135-
curl "http://localhost:8000/api/search?q=Manila&type=city&sort=population"
135+
curl http://localhost:8000/api/search?q=Manila&type=city&sort=population
136136

137137
# Search barangays containing "Poblacion", sorted by PSGC code
138-
curl "http://localhost:8000/api/search?q=Poblacion&type=barangay&sort=psgc_code&limit=20"
138+
curl http://localhost:8000/api/search?q=Poblacion&type=barangay&sort=psgc_code&limit=20
139139

140140
# Get hierarchy for a specific barangay (e.g., Barangay Laog in Angat, Bulacan)
141141
curl http://localhost:8000/api/hierarchy/0301401007

routes/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,12 +374,12 @@ function CodeExample({ origin }: { origin: string }) {
374374
comment:
375375
"# Get any node by PSGC code (works for region, province, city, or barangay)",
376376
command: "curl",
377-
url: `${origin}/api/detail/1374000000`,
377+
url: `${origin}/api/detail/0603025064`,
378378
},
379379
{
380380
comment: "# Get details for NCR (National Capital Region)",
381381
command: "curl",
382-
url: `${origin}/api/regions/1300000000`,
382+
url: `${origin}/api/regions/1800000000`,
383383
},
384384
{
385385
comment: '# Search for locations containing "Davao"',

0 commit comments

Comments
 (0)