Start new downloads
Changed onInitiates new downloads.
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body
Example request
[
{
"source_url": "https://localhost:8080/v1/api",
"file_name": "Mistral-7B-Instruct-v0.3-Q8_0.gguf",
"target_directory": "folder/subfolder/file.txt",
"file_hash": "sha256:404857e776114baada71a08ebd3bba79d721ec7fca99705e7e7b892ae8bc583f",
"file_size": 7702565088
}
]Response
Downloads started
Example response
[
{
"id": "7bea4732-214f-40e7-9161-4e7241a2b97e",
"source_url": "https://localhost:8080/v1/api",
"file_name": "Mistral-7B-Instruct-v0.3-Q8_0.gguf",
"target_directory": "folder/subfolder/file.txt",
"file_hash": "sha256:404857e776114baada71a08ebd3bba79d721ec7fca99705e7e7b892ae8bc583f",
"file_size": 7702565088,
"downloaded": 7702565088,
"progress": 10.05,
"status": "downloading",
"start_time": 1717398019.4677122,
"transfer_rate": 49028995.95526451
}
]Changes
- info
the endpoint scheme security
jwtwas added to the API - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the response optional property
/became read-only for the status - info
the response property
/became required for the status - info
added the required property
/to the response with the status
- info
- breaking
the response property
/became optional for the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
the endpoint scheme security
jwtwas removed from the API - info
the response required property
/became not read-only for the status
- breaking