Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Update OCI Discover Extension Response #95

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions manifest-referrers-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ shown below.
GET /v2/{repository}/_oci/ext/discover
```

The response SHOULD contain an extension with the name of `cncf.oras.referrers`
and the `url` path where the referrers can be requested.
The response SHOULD contain an extension with the name of `cncf.oras.referrers`, the `url` link to the documentation defining the extension,
and an `endpoints` list containing the path where the referrers can be requested.

```http
200 OK
Expand All @@ -34,8 +34,11 @@ Content-Type: application/json
"extensions": [
{
"name": "cncf.oras.referrers",
"url": "https://github.com/oras-project/artifacts-spec/blob/main/manifest-referrers-api.md",
"description": "ORAS referrers listing API",
"url": "_oras/artifacts/referrers"
"endpoints": [
"_oras/artifacts/referrers"
]
}
]
}
Expand Down