Preview Retention Policy by Policy Model

Provides an estimated count and total size of archive candidates based on the provided retention policy model. This Cold Storage feature is available only for Artifactory Enterprise and Enterprise+ users.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Unique policy key that identifies the policy.

boolean

Enable/disable policy. If disabled, policy execution is blocked.

string

The Cron expression for scheduling the policy.

string

Search for artifacts to be archived using Artifactory Query Language (AQL). This can be used instead of searchCriteriaForm to include/exclude artifacts in the retention policy.

searchCriteriaForm
object

This can be used instead of aqlQuery to include/exclude artifacts in the retention policy.

boolean

Determines whether the archive policy works on packages (true) or artifacts (false). The default value is false.

packageSearchCriteriaForm
object

Package Search Criteria Form for package retention policies.

int64

The maximum duration (in minutes) for policy execution.

int64

The expiration period (in months) that it takes for archived artifacts to be cleaned up from the Cold instance.

boolean

Prevent the transfer of the artifacts to the trash can repository, and allow the artifacts to be deleted by a full GC cleanup. Default value is false.

Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Choose an example:
application/json