/rbkcli/cmdlet
Methods
get
Description: 'Gets a list of all cmdlets in rbkcli.'.
Parameters: No parameters are accepted.
Response: Following is the json response structure, under properties are the fields which are returned: 1. OpenAPI description:
Response Example:
Usage: It is used to see all existing cmdlets in all cmdlets profile, even if not imported as a command. 1. Example 1: Get a raw list of all cmdlets.
Example 2: Select the relevant fields and create a table.
post
Description: Adds a new cmdlet to rbkcli and syncs the profiles.
Parameters: As a parameter you have to pass a single string, being either formatted as natural key assignment or as json string. If the key passed is "file", then instead of loading the string jsonfy will attempt to load the json file. Following is the description of the parameters:
Response: Following is the json response structure, under properties are the fields which are returned:
OpenAPI description:
Response Example:
Usage: It is used to create documented cmdlets, which are pointers to one or more existing rbkcli commands. By doing so, the user ends up customizing the commands available in rbkcli.
Example 1: You can provide the required parameters for cmdlets creation as natural key assignment format when destination command is simple.
Example 2: You can provide the required parameters for cmdlets creation as json string format, when the destination command is complex and have several arguments or you have multiple commands as destination.
delete
Description: Removes cmdlet from rbkcli permanently.
Parameters: As a parameter you have to pass a single string, being either formatted as natural key assignment or as json string.
Response: Following is the json response structure, under properties are the fields which are returned:
OpenAPI description:
Response Example:
Usage: It is used to delete documented cmdlets.
Example 1: You can provide the required parameters for cmdlets deletion as natural key assignment format once only one parameter is required.
[Back to Meta APIs]
Last updated