This commit is contained in:
@@ -123,14 +123,14 @@ curl -X PUT \
|
||||
### Get a File
|
||||
|
||||
```
|
||||
GET /object/{hash}
|
||||
GET /object/{label}:{tag}
|
||||
GET /{hash}
|
||||
GET /{label}:{tag}
|
||||
```
|
||||
|
||||
Example:
|
||||
```bash
|
||||
curl http://localhost:8080/object/abc123
|
||||
curl http://localhost:8080/object/test:latest
|
||||
curl http://localhost:8080/abc123 > abc123.txt
|
||||
curl http://localhost:8080/test:latest > test.sh
|
||||
```
|
||||
|
||||
### Check if a File Exists
|
||||
|
Reference in New Issue
Block a user