user-files › Fetch all user files uploaded by the user
user-files
Fetch all user files uploaded by the user This API fetches all the user files which are uploaded to our lambda storage.
Fetch all user files uploaded by the user curl -- request GET \
-- url "https://api.lambdatest.com/automation/api/v1/user-files" \
-- header "Authorization: Basic <encoded-value>"
{
"Meta" : {
"org_id" : 12345 ,
"total" : 1
} ,
"data" : [
{
"key" : "file_example_JPG_2500kB.jpg" ,
"last_modified_at" : "2020-08-02T06:46:08Z" ,
"size" : 104
}
]
}
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. org_id number
Example: 12345
Meta. total number
Example: 1
data object[] required
▶ Hide child attributesdata. key string
Example: "file_example_JPG_2500kB.jpg"
data. last_modified_at string
Example: "2020-08-02T06:46:08Z"
data. size number
Example: 104
Fetch all user files uploaded by the user curl -- request GET \
-- url "https://api.lambdatest.com/automation/api/v1/user-files" \
-- header "Authorization: Basic <encoded-value>"
{
"Meta" : {
"org_id" : 12345 ,
"total" : 1
} ,
"data" : [
{
"key" : "file_example_JPG_2500kB.jpg" ,
"last_modified_at" : "2020-08-02T06:46:08Z" ,
"size" : 104
}
]
}