Software Secure Workload
Activity Configure

Compare Workspace versions

This endpoint computes the difference between the provided workspace versions. It will return the added, removed and optionally the unchanged policies. Cluster changes are included if the cluster is present in both versions, defined by a matching consistent_uuid, and the query has changed.

GET /openapi/v1/applications/{application_id}/version_diff

Parameters: The request URL contains the following parameters

Name

Type

Description

application_id

string

The unique identifier for the workspace.

base_version

string

Full version, for example ‘v10’ or ‘p10’.

draft_version

string

Full version, for example ‘v10’ or ‘p10’.

include_unchanged

boolean

Default is false. Returns unchanged policies in the response.

Response object: Returns an object with the following attributes:

Attribute

Type

Description

clusters

array

The clusters that have changed between the versions.

policies

array

The policies that have changed between the versions.