Skip to content

Conversation

@caubut-charter
Copy link
Contributor

What type of PR is this?

  • enhancement/feature

What this PR does / why we need it:

Allows API consumers to check if the API Provider has connectivity to the device currently. If a device is unresponsive to network configurations or reboot attempts, knowing the device is online or offline can help with troubleshooting.

Which issue(s) this PR fixes:

Fixes #39

Does this PR introduce a breaking change?

  • No

Special notes for reviewers:

N/A.

Changelog input

- Adds a `deviceStatus` field to the `Device` model so API consumers can check if a device is online, offline, or if the status is unavailable.

Additional documentation

@caubut-charter caubut-charter added enhancement New feature or request Fall26 labels Jun 30, 2025
@caubut-charter caubut-charter linked an issue Jun 30, 2025 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Jun 30, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 2 0 0.03s
✅ OPENAPI spectral 2 0 4.55s
✅ REPOSITORY git_diff yes no 0.0s
✅ REPOSITORY secretlint yes no 0.7s
✅ YAML yamllint 5 0 0.89s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@caubut-charter caubut-charter force-pushed the 39-device-status branch 2 times, most recently from d4c47cb to 5d31386 Compare June 30, 2025 17:52
@caubut-charter caubut-charter marked this pull request as draft June 30, 2025 17:59
@caubut-charter caubut-charter marked this pull request as ready for review June 30, 2025 18:02
Copy link
Contributor

@benhepworth benhepworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@caubut-charter caubut-charter merged commit 2b8792b into main Jun 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Fall26

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Device Status

3 participants