diff --git a/Endpoints.md b/Endpoints.md new file mode 100644 index 0000000..9bc8ea0 --- /dev/null +++ b/Endpoints.md @@ -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"] \ No newline at end of file diff --git a/Heartbeat.md b/Heartbeat.md deleted file mode 100644 index 542a5bb..0000000 --- a/Heartbeat.md +++ /dev/null @@ -1,2 +0,0 @@ -http://localhost:9000/v1/are_you_there -Body: yes \ No newline at end of file