Copyright © 2009-10 Novell, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled "GNU Free Documentation License".
TODO link to a master API document that contains the common conventions like the authentication below.
Only authenticated users are allowed to access the API. Authentication is done by sending a Basic HTTP Authorisation header.
All names aren't allowed to contain spaces, slashes or colons.
TODO how to document errors?
FIXME for PUT requests the XmlBody and XmlResult documents are faked, they need to match the implementation.
network...
The following PolicyKit permissions are defined:
org.opensuse.yast.modules.yapi.network.read
org.opensuse.yast.modules.yapi.network.write
Actually currently it operates on the interface configurations (/etc/sysconfig/network/ifcfg-*)
Arguments:
Get the details of an interface.
Result: Example
Arguments:
Update an interface config.
Body: Example
Result: Example