GET /config/extension_management/extensions/{extension_id}

Retrieves an extension based on the supplied extension_id.

Retrieves an extension based on the supplied extension_id.

Table 1. GET /config/extension_management/extensions/{extension_id} resource details
MIME Type

application/json

Table 2. GET /config/extension_management/extensions/{extension_id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

extension_id

path

Required

Number (Integer)

text/plain

Required - The id of the extension.

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/{extension_id} response codes
HTTP Response Code Unique Code Description

200

The requested extension has been retrieved.

404

22603

The requested extension cannot be found.

422

22606

A supplied numeric parameter was not positive.

500

22602

An error has occurred while trying to retrieve the requested extension.

Response Description

An extension containing the following fields:
  • id - Number - Unique ID of this extension within the QRadar deployment.
  • name - String - The name of the extension.
  • description - String - The description of the extension.
  • author - String - The author (person who generated) the extension.
  • authored_by_email - String - The email of the author.
  • version - String - The version of the extension.
  • supported_languages - Array of strings - The language tags supported by this extension.
  • exported_qradar_version - String - The version of the QRadar deployment this extension was exported from.
  • min_qradar_version - String - The minimum QRadar version required for the extension to function properly.
  • file_location - String - The location of the extension file on disk.
  • size - Number - The size in bytes of the extension file.
  • signed - String - The state of the extension's signature.
  • beta - Boolean - True if the extension is considered to be beta or experimental.
  • added_by - String - The user or authorized service that added the extension to QRadar.
  • installed_by - String The user or authorized service that installed the extension.
  • add_time - Number - The date/time at which the extension was added to QRadar, represented as number of milliseconds since Unix epoch.
  • install_time - Number - The date/time at which the extension was installed, represented as number of milliseconds since Unix epoch.
  • full_uninstall - Boolean - True if the extension and all of its contents can be fully uninstalled.
  • status - String - The tag corresponding to the current status of the extension. Possible values are UPLOADED, UPLOADING, INSTALLED, INSTALLING, INSTALL_FAILED, UNINSTALLED, UNINSTALLING, UNINSTALL_FAILED, NOT_INSTALLED, PREVIEWING, NONE.
  • contents - Array of objects representing an item contained within the extension. Each object has the following fields:
    • content_type_id - Number - The ID of the content type.
    • content_type_name - String - The name of the content type.
    • identifier - String - The descriptive name/identifier of the item.
  • content_operation_error - String - If any error(s) have occurred during operations, returns the most recent.

Response Sample


{
  "file_location": "/store/cmt/exports/qidmaps.xml",
  "supported_languages": [
    "en_US"
  ],
  "contents": [
    {
      "content_type_id": 27,
      "identifier": "",
      "content_type_name": "qidmap"
    }
  ],
  "status": "INSTALLED",
  "signed": "NOT_SIGNED",
  "full_uninstall": false,
  "min_qradar_version": null,
  "beta": false,
  "version": "7.2.6.20150821144442",
  "size": 675,
  "id": 2,
  "author": "admin",
  "authored_by_email": "account@company.com",
  "description": null,
  "exported_qradar_version": null,
  "name": "qidmaps.xml",
  "install_time": 1440612194941,
  "installed_by": "admin",
  "added_by": "admin",
  "add_time": 1440555001236
}