Updated Heartbeat (markdown)

Jordon Brooks 2023-06-26 20:30:23 +01:00
parent 971866ce1f
commit 27caeda38c
2 changed files with 20 additions and 2 deletions

20
Endpoints.md Normal file

@ -0,0 +1,20 @@
http://localhost:9000/v1/are_you_there
Body: yes
http://127.0.0.1:9000/v1/all_info
Body: {"os":{"platform":"WINDOWS","name":"Windows 11 Core","version":"10.0.22621","bits":"X86_64"},"battery":{"has_battery":false,"battery_percent":0,"charging_status":"UNKNOWN"},"dock":{"dock_info":{"brand":"","model":"","usb_ids":[]},"is_docked":true,"fallback_detection":false},"version":{"build_timestamp":"2023-06-25T22:42:16.697662700Z","git_branch":"feature/Versioned_API","git_describe":"release_1.0.0-11-gba6bde2","git_commit_timestamp":"2023-06-25T12:38:11.000000000+01:00","debug":true,"version":"0.1.0","version_major":0,"version_minor":1,"version_patch":0,"version_pre":"","supported_api_versions":["v1"]}}
http://localhost:9000/v1/os_info
Body: {"platform":"WINDOWS","name":"Windows 11 Core","version":"10.0.22621","bits":"X86_64"}
http://localhost:9000/v1/battery_info
Body: {"has_battery":false,"battery_percent":0,"charging_status":"UNKNOWN"}
http://localhost:9000/v1/version_info
Body: {"build_timestamp":"2023-06-25T22:42:16.697662700Z","git_branch":"feature/Versioned_API","git_describe":"release_1.0.0-11-gba6bde2","git_commit_timestamp":"2023-06-25T12:38:11.000000000+01:00","debug":true,"version":"0.1.0","version_major":0,"version_minor":1,"version_patch":0,"version_pre":"","supported_api_versions":["v1"]}
http://localhost:9000/v1/dock_info
Body: {"brand":"","model":"","usb_ids":[]}
http://localhost:9000/api/supported_versions
Body: ["v1"]

@ -1,2 +0,0 @@
http://localhost:9000/v1/are_you_there
Body: yes