forked from jomjol/AI-on-the-edge-device
-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(REST API)!: Complete rework of REST API & WebUI 'info' page #85
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat(webui): Add more content to system info page refactor(REST API): Provide content of '/heap' as JSON + HTML refactor(REST API)!: Remove handler starttime (use /info?type=DeviceStartTime) refactor(REST API)!: Remove handler uptime (use /info?type=Uptime) refactor(REST API)!: Remove handler rssi (use /info?type=Uptime) refactor(REST API)!: Remove handler rssi (use '/info?type=WlanRSSI') refactor(REST API)!: Remove handler cputemp (use '/info?type=ChipTemp') refactor(REST API)!: Remove handler sysinfo (use '/info' + '/heap') refactor(REST API): Align time format (ISO)
Add 'datalogging sdcard' to '/info'
Slider0007
changed the title
feat(REST API): Add more content to '/info' (JSON & HTML) & remove merged REST APIs
feat(REST API)!: Add more content to '/info' (JSON & HTML) & remove merged REST APIs
Oct 25, 2023
Slider0007
changed the title
feat(REST API)!: Add more content to '/info' (JSON & HTML) & remove merged REST APIs
feat(REST API)!: Add more content to '/info' (JSON & HTML) + '/heap' as JSON & HTML
Oct 25, 2023
feat(REST API): Add legacy API by query parameter 'type' refactor(REST API): Remove chip temp from 'overview' page. It's accessable from 'system' -> 'info' page
Slider0007
changed the title
feat(REST API)!: Add more content to '/info' (JSON & HTML) + '/heap' as JSON & HTML
feat(REST API)!: Add more content to '/info' (JSON & HTML) + '/heap' as JSON & HTML + /process_data -> add HTML
Nov 3, 2023
Slider0007
changed the title
feat(REST API)!: Add more content to '/info' (JSON & HTML) + '/heap' as JSON & HTML + /process_data -> add HTML
feat(REST API)!: Add content to '/info' -> JSON + HTML, refactor '/heap' -> JSON + HTML, refactor '/process_data' -> JSON + HTML
Nov 3, 2023
Slider0007
changed the title
feat(REST API)!: Add content to '/info' -> JSON + HTML, refactor '/heap' -> JSON + HTML, refactor '/process_data' -> JSON + HTML
feat(REST API)!: Add content to '/info': JSON + HTML, refactor '/heap': JSON + HTML, refactor '/process_data': JSON + HTML
Nov 3, 2023
Slider0007
changed the title
feat(REST API)!: Add content to '/info': JSON + HTML, refactor '/heap': JSON + HTML, refactor '/process_data': JSON + HTML
feat(REST API)!: Add content to '/info': JSON + HTML | refactor '/heap': JSON + HTML | refactor '/process_data': JSON + HTML
Nov 3, 2023
Slider0007
changed the title
feat(REST API)!: Add content to '/info': JSON + HTML | refactor '/heap': JSON + HTML | refactor '/process_data': JSON + HTML
feat(REST API)!: Add content to '/info': JSON+HTML | refactor '/heap': JSON+HTML | refactor '/process_data': JSON+HTML
Nov 3, 2023
Slider0007
changed the title
feat(REST API)!: Add content to '/info': JSON+HTML | refactor '/heap': JSON+HTML | refactor '/process_data': JSON+HTML
feat(REST API)!: Add content to '/info': JSON+HTML | refactor '/heap' and 'process_data': JSON+HTML
Nov 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/docs/API/REST/_OVERVIEW.md
feat(REST API): Add more content to '/info' (JSON and HTML)
--> Add new content
--> Merge content from existing handler -> reduce APIs to reduce RAM (see chapter breaking changes)
http://{IP}/info
http://{IP}/info?type=xxx
refactor(REST API): Provide content of '/process_data' as JSON and HTML
--> HTML added to be aligned with other APIs
--> Merge content from existing handler -> reduce APIs to reduce RAM (see chapter breaking changes)
http://{IP}/process_data
http://{IP}/process_data?type=xxx
-> Inlinehttp://{IP}/process_data?type=xxx&sequencename=xxx
-> Separated Per Sequencerefactor(REST API): Merge existing camera / flashlight APIs to '/camera' (same funtionality)
--> Reduce APIs to reduce RAM
http://{IP}/camera?task=set_parameter&...
http://{IP}/data?task=xxx
refactor(REST API): Merge logfile and datafile APIs to '/log' + '/data' (same funtionality)
--> Reduce APIs to reduce RAM
http://{IP}/log
http://{IP}/log?type=xxx
http://{IP}/data
http://{IP}/data?type=xxx
feat(webui): Add more content to WebUI system 'info' page
--> Visualize complete content of extended '/info' API
refactor(REST API): Date/Time format output according ISO
--> Align date / time output to consistent and international
http://{IP}/set_fallbackvalue?sequence=xxx
--> Retrieve actual fallback valuehttp://{IP}/set_fallbackvalue?sequence=xxx&value=xxx.xx
--> Set new fallback value