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
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response
application/jsonSuccessful operation
Metaobjectrequired
Meta.org_idnumber
Example: 12345
Meta.totalnumber
Example: 1
dataobject[]required
data.keystring
Example: "file_example_JPG_2500kB.jpg"
data.last_modified_atstring
Example: "2020-08-02T06:46:08Z"
data.sizenumber
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
}
]
}