Patch Package Details

The following section describes the API-supported endpoint actions and available methods for Package APIs.

Available Methods for Patch Package Details
Available Filters on Patch Package Lists

Available Methods for Patch Package Details

The following are available methods for Patch Package Details.

Methods for Patch Package Details

Method

Description

get list

GET <URL>

get package details

GET <URL><id>

Available Filters on Patch Package Lists

The following are available filters on Patch Package Lists.

Filters on Patch Package Lists

Filter

Description

id (int)

Identifier for package

customer_patch_template_id (int)

Identifier for customer package template

name (string)

Name of the package

type (int)

Package type:

0—Install/Update
1—Uninstall
2—Install/Update/Uninstall
3—Custom
4—agent_deployment

product_release_id (int)

 

product_name (string)

 

vendor_name (string)

 

status (int)

Identifier for status. Status:

0—Not Ready
1—Building
2—Ready
3—Error building it

solution_id (int)

Solution ID:

0—“default” - from old sr_product_secure
1—“language” - from old sr_solution_download table, with language options
2—“custom” - from old solution, special because it contains parameters, special patching, exclusive

platform (int)

Operating system:

0—All
1—Windows
2—Mac
3—Red Hat
4—Android
5—iOS
6—Debian

architecture (int)

Architecture:

0—32-bit/64-bit
1—32-bit
2—64-bit

iso_code (string)

ISO code for package

created_gte

Unix timestamp for the package create date, filter type greater than or equal (seconds)

created_lt

Unix timestamp for the package create date, filter type less than (seconds)

Example

The following is an example of a filter that filters package whose customer patch template identifier is 1.

api/patch/packages/?customer_patch_template_id=1