Skip to content

[docs] OpenAPI spec for miner HTTP endpoints #23

Description

@Dipraise1

Context

Miner HTTP endpoints (neurons/miner.py: ingest, query, KeyShareSynapse/KeyShareRetrieve, etc.) have no machine-readable API spec, which blocks third-party clients and the TypeScript SDK.

Tasks

  • Generate an OpenAPI 3 spec from the miner's route definitions (auto-generated from code preferred over hand-written)
  • Include auth scheme docs (sr25519 signed-challenge headers)
  • Publish rendered docs (e.g. Redoc page under docs/ or theengram.space)
  • CI check that the spec stays in sync with routes

Listed as an open bounty in ROADMAP.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bountyHas an attached rewarddocsDocumentation improvementshelp wantedExtra attention is neededsdkPython/TypeScript SDK

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions