Get information about a post processing script

This command returns a JSON representation of a post processing script.

Request

POST https://{hostname}:{port}
    /cli/postProcessingScript/script
Accept: {contentType}
Table 1. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "body": "The body of the script (required)",
  "description": "The description of the script (optional)",
  "id": "The id of the script (required)",
  "name": "The name of the script (required)",
  "teamMappings": [
    {
      "resourceRoleId": "Id of Resource Type to apply to 
  this team mapping (optional, can specify either this or 
  resourceRoleLabel",
      "resourceRoleLabel": "Name of Resource Type to apply 
  to this team mapping (optional, can specify either this or 
  resourceRoleId",
      "teamId": "ID of a team, either this field or 
  teamLabel are needed to specify a team",
      "teamLabel": "Name of the team to map the 
  environment to, either this field or teamId are needed to 
  specify a team"
    },
    "(Optional)"
  ]
}

Related CLI command: savePostProcessingScript.