Upload a File
Using file name:
{
"bucket": "<bucket name>",
"objectName": "<file name>",
"parentPath": "<file path>",
"checksum": "<MD5 checksum>",
"size": <file size>
}
``
Example
```text
curl -X PUT -T ~/Downloads/image1.jpg PUT http:localhost:8080/files/bucket1/folder1/folder2/image.jpg
``
Response:
```json
{
"bucket": "bucket1",
"objectName": "image.jpg",
"parentPath": "/folder1/folder2/",
"checksum": "86af350cbceb14672fdcaee11bc2571a",
"size": 66779
}Without file name:
Get a File
Delete a file
List Files
App Ready
Last updated
Was this helpful?