systemd-hostnamed (org.freedesktop.hostname1)
D-Bus API of systemd-hostnamed for getting and setting the system hostname (static, transient, pretty), deployment/location/icon metadata, chassis type, and machine info.
systemd-hostnamed (org.freedesktop.hostname1) is one of 16 APIs that systemd publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include D-Bus, Hostname, and Hostnamed. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.
Documentation
Documentation
https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.hostname1.html