Skip to content

Add REST Route: Get API Details and Endpoints #28

@greatest0fallt1me

Description

@greatest0fallt1me

Description
Implement GET /api/apis/:id (or /api/apis/:slug): return API by id or slug with name, description, base_url (if public), endpoints (path, method, price_per_call), developer info. Use API repository findById and getEndpoints. Return 404 if not found or not active.

Requirements and context

  • Public route; hide sensitive config (e.g. internal keys)

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b feature/rest-api-details
  • Implement changes
    • Route GET /api/apis/:id; validate id; return API + endpoints
    • Add tests
  • Test and commit
    • Run tests
    • Example commit message: feat: REST get API details and endpoints

Guidelines

  • Clear documentation
  • Timeframe: 96 hours
  • Project details: #

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions