Skip to content

Commit 19e34e6

Browse files
stevsmitSteven Smith
andauthored
Updates some api commands (quay#1161)
Co-authored-by: Steven Smith <[email protected]>
1 parent 68cd399 commit 19e34e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/managing-namespace-auto-pruning-policies.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ $ curl -X GET -H "Authorization: Bearer <access_token>" http://<quay-server.exam
249249
+
250250
[source,terminal]
251251
----
252-
{"policies": [{"uuid": "73d64f05-d587-42d9-af6d-e726a4a80d6e", "method": "creation_date", "value": "7d"}]}
252+
{"policies": [{"uuid": "ebf7448b-93c3-4f14-bf2f-25aa6857c7b0", "method": "creation_date", "value": "4d", "tagPattern": "^v*", "tagPatternMatches": true}, {"uuid": "da4d0ad7-3c2d-4be8-af63-9c51f9a501bc", "method": "number_of_tags", "value": 10, "tagPattern": null, "tagPatternMatches": true}, {"uuid": "17b9fd96-1537-4462-a830-7f53b43f94c2", "method": "creation_date", "value": "7d", "tagPattern": "^v*", "tagPatternMatches": true}]}
253253
----
254254

255255
. You can delete the auto-prune policy for your organization by entering the following command. Note that deleting the policy requires the UUID.
@@ -563,7 +563,7 @@ $ curl -X GET -H "Authorization: Bearer <access_token>" http://<quay-server.exam
563563
+
564564
[source,terminal]
565565
----
566-
{"policies": [{"uuid": "7726f79c-cbc7-490e-98dd-becdc6fefce7", "method": "number_of_tags", "value": 2}]}
566+
{"uuid": "81ee77ec-496a-4a0a-9241-eca49437d15b", "method": "creation_date", "value": "7d", "tagPattern": "^v*", "tagPatternMatches": true}
567567
----
568568

569569
. You can delete the auto-prune policy by entering the following command. Note that deleting the policy requires the UUID.

0 commit comments

Comments
 (0)