Skip to content

content API endpoint #3048

Closed
Closed
@vladak

Description

@vladak

Is your feature request related to a problem? Please describe.
#3042 listed a few new API endpoints that would be useful to have. This tracks the addition of the /content endpoint for getting content of a file.

Describe the solution you'd like
Return JSON array of objects:

  • line number
  • line content (verbatim, i.e. no xref)

The endpoint should support a parameter to specify revision of the file. It may support paging.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions