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

HTTP Api for detect, recordings and snapshots #7429

Closed
edoardop13 opened this issue Aug 9, 2023 · 3 comments
Closed

HTTP Api for detect, recordings and snapshots #7429

edoardop13 opened this issue Aug 9, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@edoardop13
Copy link

Hi, it is possible to create the api for enable disable detect, recordings and snapshots like the MQTT version?
frigate/<camera_name>/detect/set
frigate/<camera_name>/recordings/set
frigate/<camera_name>/snapshots/set
frigate/<camera_name>/detect/state
frigate/<camera_name>/recordings/state
frigate/<camera_name>/snapshots/state

Furthermore, why the http API doesn't have a security system like jwt token?
Thanks!

@edoardop13 edoardop13 added the enhancement New feature or request label Aug 9, 2023
@NickM-27
Copy link
Collaborator

NickM-27 commented Aug 9, 2023

This can be done via websocket as well as mqtt. http isn't really a good place for it because it does not contain the current state as well as the state that has been set.

@edoardop13
Copy link
Author

Okay, thanks! So, why the http API doesn't have a security system like jwt token?

@NickM-27
Copy link
Collaborator

NickM-27 commented Aug 9, 2023

So, why the http API doesn't have a security system like jwt token?

See #1726

@NickM-27 NickM-27 closed this as completed Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants