This commit is contained in:
Your Name
2025-05-03 11:15:12 +12:00
parent a658ba1de6
commit 3c5fc11065
8 changed files with 82 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ Write access is controlled by tokens.
- `curl http://localhost:8123/meta/squashkiwi:latest`
- a simple welcome page is served at `/index.html` for those browsing to the site.
- to upload a file (via http put)
- `curl -T object_file http://localhost:8123/WRITE_TOKEN/LABEL:TAG`
- `curl -T object_file http://localhost:8123/WRITE_TOKEN/LABEL:TAG?filename="FILENAME"`
- the object_file is uploaded, hashed, added to the registry (if that hash doesn't already exist), and {label:tag,hash} is added to the directory index.
- the server is configured via a configuration file which allows setting:
- the list of write access tokens