Skip to content

feat: auto-detect API version (api_version=auto)#26

Open
zogzog26 wants to merge 1 commit intofstercq:masterfrom
zogzog26:upstream-pr1-auto-api-version
Open

feat: auto-detect API version (api_version=auto)#26
zogzog26 wants to merge 1 commit intofstercq:masterfrom
zogzog26:upstream-pr1-auto-api-version

Conversation

@zogzog26
Copy link
Copy Markdown

@zogzog26 zogzog26 commented Feb 6, 2026

Adds an "auto" option for api_version.

When api_version is set to "auto", the client calls the /api_version endpoint to detect the Freebox OS major API version and then uses the corresponding /api/v/ base path.

This avoids hardcoding v3/v4 and improves compatibility with newer Freebox OS versions.

* Détection automatique de la version d'API (api_version=auto)

* Docs: use English wording

---------

Co-authored-by: zogzog26 <259824560+zogzog26@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant