You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide examples of using the "spacecmd api" function. A couple examples are below:
Standard GET method with no arguments
spacecmd api channel.listAllChannels
Example of POST method that requires arguments, only works if "--" are included
spacecmd -- api channel.access.enableUserRestrictions -A "$channelLabel"
What does the documentation say now?
Very basic no example at all. No mention of needed "--" so the api can take in the arguments.
The text was updated successfully, but these errors were encountered:
There are no real world examples on how to call API methods via spacecmd, and methods that take arguments are also not explained.
https://documentation.suse.com/suma/4.3/en/suse-manager/reference/spacecmd/api.html
Documentation Update Required
Provide examples of using the "spacecmd api" function. A couple examples are below:
Standard GET method with no arguments
spacecmd api channel.listAllChannels
Example of POST method that requires arguments, only works if "--" are included
spacecmd -- api channel.access.enableUserRestrictions -A "$channelLabel"
What does the documentation say now?
Very basic no example at all. No mention of needed "--" so the api can take in the arguments.
The text was updated successfully, but these errors were encountered: