REST Resources
-
/ -
/change-requests -
/change-requests /{id} -
/cli-configlets -
/cli-configlets /cli-configlets-by-context -
/cli-configlets /{configlet-id} /apply-configlet -
/cli-configlets /{configlet-id} /cli-configlet-pages -
/cli-configlets /{configlet-id} /cli-configlet-pages /{configuration-id} -
/cli-configlets /{configlet-id} /cli-configlet-pages /{configuration-id} /cli-text -
/cli-configlets /{configlet-id} /cli-configlet-params -
/cli-configlets /{configlet-id} /cli-configlet-params /{param-id} -
/cli-configlets /{configlet-id} /cli-configlet-prepopulate-params -
/cli-configlets /{id} -
/job-instances /{job-id} /apply-cli-configlet-job-results
/api/space/configuration-management/cli-configlets/{id} (v1)
The following operations are supported on this resource:
GET /cli-configlets/{id} | Version 1 |
This API is used to get a CLI configlet by its configlet ID.
Sample Usage
GET /cli-configlets/{id}
-
Parameters:
Name Type URI Type Description Required id int Path CLIConfiglet id The ID of the configlet to retrieve. Y
-
Accept Headers:
application/vnd.net.juniper.space.configuration-management.view-cli-configlet+xml;version=1;charset=UTF-8
application/vnd.net.juniper.space.configuration-management.view-cli-configlet+json;version=1;charset=UTF-8
Access Control
The following capabilities are required to access this API: ViewCliTemplateCap
For the current version of this API, refer to :
PUT /cli-configlets/{id} | Version 1 |
This API is used to update the CLI configlet.
Sample Usage
PUT /cli-configlets/{id}
-
Parameters:
Name Type URI Type Description Required id Integer Path The ID of the CLI Configlet Y
-
Content-Type Headers:
application/vnd.net.juniper.space.configuration-management.cli-configlet+xml;version=1;charset=UTF-8
application/vnd.net.juniper.space.configuration-management.cli-configlet+json;version=1;charset=UTF-8 -
Accept Headers:
application/vnd.net.juniper.space.configuration-management.view-cli-configlet+xml;version=1;charset=UTF-8
application/vnd.net.juniper.space.configuration-management.view-cli-configlet+json;version=1;charset=UTF-8
Access Control
The following capabilities are required to access this API: EditCliTemplateCap
For the current version of this API, refer to :
DELETE /cli-configlets/{id} | Version 1 |
This API is used to delete the CLI configlet.
Sample Usage
DELETE /cli-configlets/{id}
-
Parameters:
Name Type URI Type Description Required id Integer Path The ID of the CLI configlet to delete Y
Access Control
The following capabilities are required to access this API: DeleteCliTemplateCap
For the current version of this API, refer to :