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_server: Add a way to set raw NVS parameters #380

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

luke-jr
Copy link

@luke-jr luke-jr commented Oct 7, 2024

No description provided.

@benjamin-wilson
Copy link
Collaborator

This should be under it's own rest endpoint rather than reusing the existing one

@luke-jr
Copy link
Author

luke-jr commented Oct 7, 2024

Why? What if a user wants to change a normal one at the same time?

@benjamin-wilson
Copy link
Collaborator

This is best practice for designing RESTful interfaces and maintaining a single responsibility for a given resource. I suggest putting this under PATCH /api/system/raw

@luke-jr luke-jr force-pushed the http_raw_nvs branch 2 times, most recently from 6738426 to 6c56b02 Compare October 7, 2024 13:17
@luke-jr
Copy link
Author

luke-jr commented Oct 7, 2024

Ok, how's this?

@skot
Copy link
Owner

skot commented Oct 8, 2024

I'd like to address #385 first.

@luke-jr luke-jr force-pushed the http_raw_nvs branch 2 times, most recently from be7c76f to 273c8de Compare October 13, 2024 16:45
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.

3 participants