TSSA APIs


This topic describes the REST APIs to retrieve the NSH Scripts and BLPackages in BMC Helix Automation Console.

The base URL for the API is: https://<serverName>/api/v1

GET/api/v1/policies/tssa/nshscripts

Retrieves all the NSH-Scripts that are defined in TrueSight Server Automation.

Request body

Parameter

Description

name

Specifies the NSH script name whose details you want to retrieve.

page

Retrieves the results for a specified page number. The value starts with 0.

By default, all results appear on a single page.

size

Specifies the number of items to be displayed on a single page.

Responses

Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

GET/api/v1/policies/tssa/bl-packages

Retrieves all the BLPackages that are defined in TrueSight Server Automation.

Request body

Parameter

Description

name

Specifies the name of the BLPackage whose details you want to retrieve.

page

Retrieves the results for a specified page number. The value starts with 0.

By default, all results appear on a single page.

size

Specifies the number of items to be displayed on a single page.

Responses

Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Helix Automation Console 19.11