Patch Tasks

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

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

Available Methods for Patch Task Details

The following are available methods for Patch Task Details.

Methods for Patch Task Details

Method

Description

get list

GET <URL>

Available Filters on Patch Task Lists

The following are available filters on Patch Task Lists.

Filters on Patch Task Lists

Filter

Description

daemon_id (int)

Daemon ID

publish_id (int)

Publish ID

type (int)

Task type:

3—Push package to Patch Server
6—Approve package in Patch Server
7—Unapproves package in Patch Server
9—Fetches info about package from Daemon and Patch Server
10—Fetches info about all packages
15—Agent update
16—Delete the Package
17—Request package be signed for later deployment

result (int)

Task type result:

0—New
1—Queued
2—Processing
3—Done
4—Success
5—Failed
6—Cancelled
7—Unsupported
8—Aborted
9—Completed

Example

The following is an example of a filter that filters out a task whose publish id is “1234”

api/patch/tasks/?publish_id=1234