Skip to content

Conversation

@chiconws
Copy link
Collaborator

Summary

This PR adds hostname endpoint support to the Python NanoKVM client.

Changes

  • Added GET /vm/hostname support via get_hostname()
  • Added POST /vm/hostname support via set_hostname(hostname)
  • Added typed models:
    • GetHostnameRsp
    • SetHostnameReq

Notes

  • SetHostnameReq.hostname includes the note that the change applies after reboot.

@chiconws
Copy link
Collaborator Author

Hey @puddly ! Thanks for the approval. Can you also merge it?
I'm using this endpoint on the Home Assistant Integration soon.

@puddly puddly merged commit fc7884d into puddly:dev Feb 12, 2026
1 check passed
@puddly
Copy link
Owner

puddly commented Feb 12, 2026

Done. I've invited you to the repo as a collaborator as well, since you're maintaining the Home Assistant integration.

@chiconws chiconws deleted the feat/hostname-support branch February 12, 2026 13:45
@chiconws
Copy link
Collaborator Author

Thanks for the invite, I appreciate the trust.
I’ll keep pushing small improvements and will ask for review on larger changes.

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.

2 participants