Skip to content

Stable API for listing package names #4282

Closed
@jonasfj

Description

@jonasfj
GET /api/package-names
{
  "packages": [..., 'retry', ...], // first N package names,
  "nextUrl": null, // URL for next page, null, if this is the last page.
}

I would suggest we document this in doc/api.md, and that we state that:

  • page size (N) may change at any time,
  • ordering is unspecified and may change at any time,
  • the API is eventually consistent and it may take time before new packages appear.

Presumably, it's most sensible for us to do an ordering by name, but we shouldn't promise that this is what we'll always have.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions