From cbe1271d9b33870714d2df2e5d430d1648c26f3f Mon Sep 17 00:00:00 2001 From: Akash Singhal Date: Fri, 1 Jul 2022 13:51:06 -0700 Subject: [PATCH] update discover response so oras extension name is _oras (#106) Signed-off-by: Akash Singhal --- manifest-referrers-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest-referrers-api.md b/manifest-referrers-api.md index c3a5480..f57e78b 100644 --- a/manifest-referrers-api.md +++ b/manifest-referrers-api.md @@ -22,7 +22,7 @@ shown below. GET /v2/{repository}/_oci/ext/discover ``` -The response SHOULD contain an extension with the name of `cncf.oras.referrers`, the `url` link to the documentation defining the extension, +The response SHOULD contain an extension with the name of `_oras`, the `url` link to the documentation defining the extension, and an `endpoints` list containing the path where the referrers can be requested. ```http @@ -33,7 +33,7 @@ Content-Type: application/json { "extensions": [ { - "name": "cncf.oras.referrers", + "name": "_oras", "url": "https://github.com/oras-project/artifacts-spec/blob/main/manifest-referrers-api.md", "description": "ORAS referrers listing API", "endpoints": [