Skip to content

Update Routes.yml for backup, restore, labels, notificationRules, notificationEndpoints, scrapers, swagger, checks, plugins, delete, ready #654

Description

@davidby-influx

The routes in the OSS are missing a lot of entries. We need to add them, and regenerate swagger.json.

  • The /ready path is documented upstream (in oss/ready.yml).
  • The Routes schema that backs the GET /api/v2 links response does not include ready.

If you add "ready": "/ready" to apiLinks["system"] in http/api_handler.go, the actual response will contain a key that isn't declared in the schema — a small divergence that's already present for many other keys (backup, restore, labels, notificationRules, notificationEndpoints, scrapers, swagger, checks, plugins, delete).

Update Routes.yml . A small PR against influxdata/openapi adding ready to system.properties, then regenerate influxdb/static/data/swagger.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions