GET /config/extension_management/extensions_task_status/{status_id}/results

Retrieves the tasks status results based on the status_id.

Retrieves the tasks status results based on the status_id.

Table 1. GET /config/extension_management/extensions_task_status/{status_id}/results resource details
MIME Type

application/json

Table 2. GET /config/extension_management/extensions_task_status/{status_id}/results request parameter details
Parameter Type Optionality Data Type MIME Type Description

status_id

path

Required

Number (Integer)

text/plain

Required - The id of the task status.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /config/extension_management/extensions_task_status/{status_id}/results response codes
HTTP Response Code Unique Code Description

200

The requested results of the task status have been retrieved.

404

22604

The task status for status_id cannot be found.

404

22614

The task results are not available.

422

22606

A supplied numeric parameter was not positive.

500

22602

An error has occurred while trying to retrieve the results of a task status.

Response Description

A JSON object representing the result of an Extension preview, install or uninstall task. It contains the following fields:
  • id - Number - The ID of the extension.
  • task_type - String - The type of task that was issued against the Extension.
  • content - Array - An array of JSON objects representing the contents of the extension and what action is associated with each content item for the task that was executed. Each content item contains the following fields:
    • name - String - The name of the content item.
    • content_type_id - Number - The ID of the type of the content item.
    • content_type_name - String - The name of the type of the content item.
    • action - String - The action taken for the content item.

Response Sample


{
  "id": 56,
  "task_type": "UNINSTALL",
  "content": [
    {
      "content_type_id": 3,
      "name": "SYSTEM-1607",
      "action": "SKIP",
      "content_type_name": "custom_rule"
    },
    {
      "content_type_id": 28,
      "name": "Asset Reconciliation IPv4 Whitelist",
      "action": "SKIP",
      "content_type_name": "reference_data"
    }
  ]
}