Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit_parental_filter call fails as "deprecated" #306

Open
iakov-aws opened this issue Dec 30, 2021 · 0 comments
Open

edit_parental_filter call fails as "deprecated" #306

iakov-aws opened this issue Dec 30, 2021 · 0 comments

Comments

@iakov-aws
Copy link

Hello,

i am trying to explore parental control api of freebox, and it is strangely fails on PUT

fbx = Freepybox(api_version="v4")
await fbx.open(HOST, PORT)
await fbx.parental.get_parental_filters() # WORKS
await fbx.parental.edit_parental_filter(1, {'filter_state': 'allowed'}) #FAILS

Error:

HttpRequestError: Request failed (APIResponse: {"msg": "Mise \u00e0 jour de l\u2019application n\u00e9cessaire: cette m\u00e9thode de contr\u00f4le parental n\u2019est plus disponible", "success": false, "error_code": "deprecated"})

API reference looks pretty much the same as implementation https://dev.freebox.fr/sdk/os/parental/#

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

No branches or pull requests

1 participant