Preview Retention Policy by Policy Model

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Provides an estimated count and total size of archive candidates based on the provided retention policy model.

Note

This Cold Storage feature is available only for Artifactory Enterprise and Enterprise+ users.

Since: Artifactory 7.27.3

Security: Requires an admin user

Usage: POST /api/retention/archive/policies/preview

Produces: application/json

Consumes: text/plain

Sample Request:

POST /api/retention/archive/policies/preview

Sample Response:

{  "count": 100000, //archive candidates count     "totalSize": 800000 //total size in bytes }

Status:

200: Success