cURL
curl --request POST \ --url https://api.example.com/evault/v1/files/ \ --header 'Content-Type: multipart/form-data' \ --header 'api-key: <api-key>' \ --form file='@example-file' \ --form 'folder=<string>' \ --form 'name=<string>' \ --form 'description=<string>' \ --form is_starred=true \ --form is_archived=true
{ "id": "<string>", "file": "<string>", "hash": "<string>", "mimetype": "<string>", "extension": "<string>", "file_size": 123, "file_size_unit": "<string>", "root": true, "access": "<string>", "file_share_id": "<string>", "is_shared": true, "tags_detail": [ { "id": "<string>", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "description": "<string>" } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "name": "<string>", "description": "<string>", "folder": "<string>", "is_starred": true, "is_archived": true, "is_deleted": true, "tags": [ "<string>" ] }
1
Name of the file upload
255
500
hash of the uploaded file
indicates if the file is on the root of the file heirachy.
Show child attributes