Skip to content

Commit

Permalink
docs: new API user guide - added notation example
Browse files Browse the repository at this point in the history
Signed-off-by: mbshields <[email protected]>
  • Loading branch information
mbshields committed Oct 11, 2023
1 parent 7822793 commit b6a15f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/developer-guide/api-user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"


<a name="_find_reference"></a>

Expand Down

0 comments on commit b6a15f9

Please sign in to comment.