Skip to content

Add prefix v1 to tracker API endpoint #94

@josecelano

Description

@josecelano

The tracker has added a prefix to the API endpoints with the version:

torrust/torrust-tracker#239

So API URLs have changed from (without version):

http://0.0.0.0:1212/api/stats?token=MyAccessToken

To (with version on the path v1):

http://0.0.0.0:1212/api/v1/stats?token=MyAccessToken

We have to add the prefix in the TrackerService.

For the time being, the tracker also keeps the old URLs. Once this issue is finished, we have to open a new issue on the tracker repo to remove the support for API URLs without the version prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions