prerun›Download pre run executable file.
prerun
Download pre run executable file.
Download pre run executable file.
Download pre run executable file. curl --request PUT \
--url "https://api.lambdatest.com/automation/api/v1/files/download" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"file_path": "<file_path>"
}'
{
"message": "Error in downloading file from lambda storage",
"status": "fail"
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/jsonTo download a pre run executable
file_pathstringrequired
file path of pre run file in our lambda storage. You can get file_path from the GET /files API
Response
application/jsonSuccessful operation
Download pre run executable file. curl --request PUT \
--url "https://api.lambdatest.com/automation/api/v1/files/download" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"file_path": "<file_path>"
}'
{
"message": "Error in downloading file from lambda storage",
"status": "fail"
}