From ada7b357fd037a2b858da35daacd04d0e3fe0087 Mon Sep 17 00:00:00 2001 From: Jamie Wu Date: Mon, 12 Sep 2022 19:13:48 -0700 Subject: [PATCH] Fix referrers API query string example Fix artifactType in the referrers API query string example Signed-off-by: Jamie Wu --- spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.md b/spec.md index 234e5ec9..878f3b97 100644 --- a/spec.md +++ b/spec.md @@ -567,7 +567,7 @@ Each response is an image index with different descriptors in the `manifests` fi The `Link` header MUST be set according to [RFC5988](https://www.rfc-editor.org/rfc/rfc5988.html) with the Relation Type `rel="next"`. The registry SHOULD support filtering on `artifactType`. -To fetch the list of referrers with a filter, perform a `GET` request to a path in the following format: `/v2//referrers/?artifacttype=` [end-12b](#endpoints). +To fetch the list of referrers with a filter, perform a `GET` request to a path in the following format: `/v2//referrers/?artifactType=` [end-12b](#endpoints). If filtering is requested and applied, the response MUST include an annotation (`org.opencontainers.referrers.filtersApplied`) denoting that an `artifactType` filter was applied. If multiple filters are applied, the annotation MUST contain a comma separated list of applied filters.