-
Notifications
You must be signed in to change notification settings - Fork 55
Add GET /stellar-toml/:domain endpoint #10
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programfeatureA new feature or endpoint to be added to the APIA new feature or endpoint to be added to the APIhighModerate complexity, requires some researchModerate complexity, requires some researchstellarDirectly involves Stellar blockchain integrationDirectly involves Stellar blockchain integrationtomlRelated to stellar.toml parsing and resolutionRelated to stellar.toml parsing and resolution
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programfeatureA new feature or endpoint to be added to the APIA new feature or endpoint to be added to the APIhighModerate complexity, requires some researchModerate complexity, requires some researchstellarDirectly involves Stellar blockchain integrationDirectly involves Stellar blockchain integrationtomlRelated to stellar.toml parsing and resolutionRelated to stellar.toml parsing and resolution
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description:
Add an endpoint that fetches and parses the stellar.toml file for any given domain and returns it as structured JSON.
Acceptance Criteria:
GET /stellar-toml/:domain fetches https:///.well-known/stellar.toml
Parses and returns structured JSON covering ACCOUNTS, CURRENCIES, VALIDATORS, and DOCUMENTATION sections
Returns 404 if TOML is not found
Returns 400 for invalid or missing domain
Tests added