Fetch Supported Commands for a Technology

GET /ocaapi/v2.0/technology/<technology_name>/command/PolicyCompliance

Get the commands for the specified technology.

HTTP Status Code

- 200: OK

- 401: Unauthorized user

- 403: Forbidden

- 404: Not Found

Input ParametersInput Parameters

Parameter

Mandatory

/Optional

Data Type

Description

technology_name

Mandatory

Text

The name of the technology for which the supported commands are to be fetched.

If you want to fetch supported commands for IBM z/OS Security Server RACF 2 technology, use IBM zOS Security Server RACF 2 in the API request (without the "/" special character).

Header ParametersHeader Parameters

Parameter

Mandatory

/Optional

Data Type

Description

authorization

Mandatory

Text

The token that was generated using the Fetch Authentication Token API.

SampleSample

API Request

"curl -X GET""https://<api_gateway_url>/ocaapi/v2.0/technology/<technology_name>/command/PolicyCompliance"" -H""Authorization: Bearer <token>"      
    

Response

{
   "   ""code":200,
   "   ""data":{
      "       ""items":[
         "           ""show running-config""       "
      ]"   "
   }
}