Skip to content

Commit

Permalink
Merge pull request #544 from jlbutler/filter-nit
Browse files Browse the repository at this point in the history
Fix a nit in referrers filtering
  • Loading branch information
jdolitsky authored Jul 5, 2024
2 parents 2291163 + bc5843c commit 2e5ab3f
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 @@ -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/<name>/referrers/<digest>?artifactType=<mediaType>` <sup>[end-12b](#endpoints)</sup>.
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=<artifactType>` <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 header MUST contain a comma separated list of applied filters.

Expand Down

0 comments on commit 2e5ab3f

Please sign in to comment.