Add /json endpoint #13
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
otoDB/roxy!13
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/json-endpoint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
概要
/xmlと同等のデータを JSON で返す/jsonエンドポイントを追加しました。変更点
/xmlのクエリ解決ロジックをresolveQuery関数に抽出して共通化/jsonエンドポイントを追加(resolveQueryの結果をc.json()で返却)No query/Invalid query/Cannot fallback/Cannot fetch otoDB data)とステータスコードは/xmlと共通使い方
レスポンスは
/xmlの<data>直下と同じ構造を JSON で返します。🤖 Generated with Claude Code
Deploying with
Cloudflare Workers
The latest updates on your project. Learn more about integrating Git with Workers.
View logs
61f1dbcbBranch Preview URL