Bug fixing

This commit is contained in:
Your Name
2025-05-25 12:10:26 +12:00
parent d7264e6b7b
commit 9308f4d719
3 changed files with 52 additions and 11 deletions

View File

@@ -50,7 +50,7 @@ Public read actions:
curl -X PUT \
-H "Authorization: Bearer YOUR_TOKEN" \
-F "file=@/path/to/your/file.txt" \
-F 'metadata={"labeltag":"example:latest","description":"Example file","tags":["test","example"],"custom_field":"custom value"}' \
-F 'metadata={"label":"example","tags":["latest","test","example"],"description":"Example file","custom_field":"custom value"}' \
"http://localhost:8123/upload"
```
- The object file is uploaded, hashed, added to the registry (if that hash doesn't already exist), and {label:tag,hash} entries are added to the directory index.