Skip to content

API Documentation #42

@kauffj

Description

@kauffj

This is the epic issue to collect all changes required to have API documentation work inside of lbry.tech.

After some discussion, there is now some uncertainty as to whether OpenAPI/Swagger is the right solution.

Required properties:

  • Web-based display of all endpoints/methods, including parameters, description, and example response signature. Methods should be directly linkable.
  • Modern, clean, friendly, usable UI (Stripe is some of the best API documentation I've ever seen / used)
  • Method documentation in-code. The documentation tooling should be able to take this documentation and generate the interactive page(s).
  • Build-integrable tooling (not sure how this one wouldn't be possible though :)

Ideal properties:

  • Identical or similar API documentation standard across repositories.
  • Method documentation located in-line with method entries, rather than a separate YML/markup file.
  • Handles both CLI and JSON-RPC ways of method calling
  • Auto code-gen, live testing, and any other benefits from Swagger.

Other considerations:

  • API versioning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions