Skip to content

Commit

Permalink
Update spec.md
Browse files Browse the repository at this point in the history
Co-authored-by: jonjohnsonjr <jonjohnson@google.com>
Signed-off-by: Jason Hall <jason@chainguard.dev>
  • Loading branch information
imjasonh and jonjohnsonjr committed Feb 4, 2023
1 parent d06de52 commit e66aadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ The `Link` header MUST be set according to [RFC5988](https://www.rfc-editor.org/
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/<name>/referrers/<digest>?artifactType=<mediaType>` <sup>[end-12b](#endpoints)</sup>.
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 annotation MUST contain a comma separated list of applied filters.
If multiple filters are applied, the header MUST contain a comma separated list of applied filters.

Example request with filtering:

Expand Down

0 comments on commit e66aadc

Please sign in to comment.