allconfigpacks
Configuration for Configpack Configuration resource.
Read/write properties
name<String>
Name of the StyleBook.
namespace<String>
Namespace of the StyleBook.
Minimum length = 1
Maximum length = 32
config_id<String>
Config ID for the config pack.
target_devices_json<Object>
Target devices that are used to instantiate the StyleBook.
version<String>
Version of the StyleBook.
Minimum length = 1
Maximum length = 32
parameters<Object>
Parameters used to instantiate the configuration for the stylebook. Please refer to the schema api to view the supported parameters for any stylebook.
id<String>
Config ID for the config pack.
created_datetime<String>
Datetime the configuration for a stylebook was created.
Minimum length = 1
Maximum length = 128
targets<Object>
Target devices that are used to instantiate the StyleBook.
Read only properties
outputs<Object>
Outputs that are obtained after instantiating the stylebook definition. .
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/allconfigpacks
Query-parameters:
HTTPS Method:GET
HTTPS Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "allconfigpacks":[{
"name":<String_value>,
"outputs":<Object_value>,
"namespace":<String_value>,
"config_id":<String_value>,
"target_devices_json":<Object_value>,
"version":<String_value>,
"parameters":<Object_value>,
"id":<String_value>,
"created_datetime":<String_value>,
"targets":<Object_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/stylebooks/<name_value>/<namespace_value>/<config_id_value>/<version_value>/configpacks
HTTPS Method:GET
HTTPS Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "configpacks":{
"name":<String_value>,
"outputs":<Object_value>,
"namespace":<String_value>,
"config_id":<String_value>,
"target_devices_json":<Object_value>,
"version":<String_value>,
"parameters":<Object_value>,
"id":<String_value>,
"created_datetime":<String_value>,
"targets":<Object_value>}}