Skip to main content
prerunFetch all pre run files uploaded by the user
TestMu AI
StatusCommunityBlog
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.

GET
/files
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

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

application/json

Successful operation

Metaobjectrequired
Meta.download_urlstring
Example: "http://api.lambdatest.com/automation/api/v1/files/download"
Meta.org_idnumber
Example: 12345
Meta.totalnumber
Example: 1
dataobject[]required
data.namestring
Example: "dialog_disable"
data.last_modified_atstring
Example: "2020-08-02T06:46:08Z"
data.sizenumber
Example: 104
data.capability_urlstring
Example: "lambda:dialog_disable/pre/httpdialog.au3"
data.file_pathstring
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"
}
]
}