prerun › Fetch all pre run files uploaded by the user
prerun
Fetch all pre run files uploaded by the user This API fetches all the pre run executable which are uploaded to our lambda storage.
Fetch all pre run files uploaded by the user curl -- request GET \
-- url "https://api.lambdatest.com/automation/api/v1/files" \
-- header "Authorization: Basic <encoded-value>"
{
"Meta" : {
"download_url" : "http://api.lambdatest.com/automation/api/v1/files/download" ,
"org_id" : 12345 ,
"total" : 1
} ,
"data" : [
{
"name" : "dialog_disable" ,
"last_modified_at" : "2020-08-02T06:46:08Z" ,
"size" : 104 ,
"capability_url" : "lambda:dialog_disable/pre/httpdialog.au3" ,
"file_path" : "dialog_disable/pre/httpdialog.au3"
}
]
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response 200▼
application/json Successful operation
Meta object required
▶ Hide child attributesMeta. download_url string
Example: "http://api.lambdatest.com/automation/api/v1/files/download"
Meta. org_id number
Example: 12345
Meta. total number
Example: 1
data object[] required
▶ Hide child attributesdata. name string
Example: "dialog_disable"
data. last_modified_at string
Example: "2020-08-02T06:46:08Z"
data. size number
Example: 104
data. capability_url string
Example: "lambda:dialog_disable/pre/httpdialog.au3"
data. file_path string
Example: "dialog_disable/pre/httpdialog.au3"
Fetch all pre run files uploaded by the user curl -- request GET \
-- url "https://api.lambdatest.com/automation/api/v1/files" \
-- header "Authorization: Basic <encoded-value>"
{
"Meta" : {
"download_url" : "http://api.lambdatest.com/automation/api/v1/files/download" ,
"org_id" : 12345 ,
"total" : 1
} ,
"data" : [
{
"name" : "dialog_disable" ,
"last_modified_at" : "2020-08-02T06:46:08Z" ,
"size" : 104 ,
"capability_url" : "lambda:dialog_disable/pre/httpdialog.au3" ,
"file_path" : "dialog_disable/pre/httpdialog.au3"
}
]
}