cURL
curl --request POST \ --url https://rest.cerebrium.ai/v2/projects/{project_id}/volumes/{volume_id}/cp/initialize \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "file_path": "<string>", "part_count": 123 }'
Begin the file upload process to a specific volume. Intended for internal use - rather use the cerebrium cp command.
cerebrium cp
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The destination path for the file.
The number of parts the file contains. Positive Int.
OK