From b6a15f915f41a207ab0ede04057f8087b4cee0ba Mon Sep 17 00:00:00 2001 From: mbshields Date: Wed, 11 Oct 2023 08:51:24 -0700 Subject: [PATCH] docs: new API user guide - added notation example Signed-off-by: mbshields --- docs/developer-guide/api-user-guide.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/developer-guide/api-user-guide.md b/docs/developer-guide/api-user-guide.md index ef3122e..38e0d66 100644 --- a/docs/developer-guide/api-user-guide.md +++ b/docs/developer-guide/api-user-guide.md @@ -227,6 +227,16 @@ _Command output:_ ``` +### Uploading a certificate for Notation + +To upload a certificate for notation, use the following endpoint: + + POST /v2/_zot/ext/notation + +_cURL command example:_ + + curl --data-binary @certificate.crt -X POST "http://localhost:8080/v2/_zot/ext/notation?truststoreType=ca" +