From bc5843c337f39a0cee3484082b73e875325c5be3 Mon Sep 17 00:00:00 2001 From: Jesse Butler Date: Thu, 4 Jul 2024 12:22:56 -0400 Subject: [PATCH] fix: nit in referrers filtering Signed-off-by: Jesse Butler --- spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.md b/spec.md index c0ad49a5..17b77a4b 100644 --- a/spec.md +++ b/spec.md @@ -619,7 +619,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 a header `OCI-Filters-Applied: artifactType` denoting that an `artifactType` filter was applied. If multiple filters are applied, the header MUST contain a comma separated list of applied filters.