Archives
post/archives/rules
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /archives/rules
- Auth: none declared
Request body
Example request
{
"rule_id": "rule_id",
"max_images_per_account": 5,
"tag_versions_newer": 0,
"last_updated": "2000-01-23T04:56:07.000+00:00",
"created_at": "2000-01-23T04:56:07.000+00:00",
"selector": {
"registry": "registry",
"tag": "tag",
"repository": "repository"
},
"exclude": {
"expiration_days": 1,
"selector": {
"registry": "registry",
"tag": "tag",
"repository": "repository"
}
},
"analysis_age_days": 6,
"system_global": true,
"transition": "archive"
}Response
Archive transition rule
Example response
{
"rule_id": "rule_id",
"max_images_per_account": 5,
"tag_versions_newer": 0,
"last_updated": "2000-01-23T04:56:07.000+00:00",
"created_at": "2000-01-23T04:56:07.000+00:00",
"selector": {
"registry": "registry",
"tag": "tag",
"repository": "repository"
},
"exclude": {
"expiration_days": 1,
"selector": {
"registry": "registry",
"tag": "tag",
"repository": "repository"
}
},
"analysis_age_days": 6,
"system_global": true,
"transition": "archive"
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning