Skip to content

[BUG] API V2 endpoints listed behind /v1 subroute #888

@calumbell

Description

@calumbell

Bug description

Currently, on the Beta API site, V2 endpoints are being included in the endpoints outside of the /v2 sub-route as if they were API V1 endpoints.

Image

This will break backward compatibility for anybody depending on API V1 because the V2 endpoints are not compatible.

For now, the root and "/v1" routes should only contain V1 endpoints and the "/v2" subroute should only contain V2 endpoints.

Steps to Reproduce

Visit https://api-beta.open5e.com

This page should only display V1 endpoints, at least until we officially launch V2.

Note that the URLs being linked to by "spells", "backgrounds", "feats", "conditions", "weapons" and "armor" can be identified as V2 endpoints because they include the /v2/ subroute in their URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions