List Data Files
API Explorer: /multi-tests/{collectionId}/files
To return a list of files in a test, a collectionId
is required. The sample code returns a list of files for the test with collectionId
of 12345678
. Use the actual ID values for the test to return the list of its files.
List Data Files Parameters
Parameters
-
filter
stringThe unique string for a filename to search for. For example, the string
color.csv
will pull all results with this string in thename
of the file. Must be the full name of the file that was uploaded
List Data Files Response Attributes
List Data Files
curl 'https://a.blazemeter.com/api/v4/multi-tests/12345678/files' \
--user 'api_key_id:api_key_secret'
Attributes
-
lastModified
integerThe timestamp when the file was last modified
-
name
stringThe name of the file
-
size
integerThe size (in bytes) of the file
-
link
stringThe download link for the file. This link remains active for 20 minutes
-
linkExpire
integerThe timestamp of when the link will expire
Response200 OK
{
"api_version": 4,
"error": null,
"result": [
{
"lastModified": 1598555803,
"name": "colors.csv",
"size": 84,
"link": "https://storage.blazemeter.com/blazemeter-gcp/users/123456/collections/12345678/data/colors.csv?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EE7F7ZECFQG2AMFT47JPCFCTXTGEW52TQE7AA2Y6DS4SCW37UO4ZSCNI%2F20200902%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200902T185544Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=d4ad38efe23994d8938176696df5a73087ffda1caf23d277b5ad588255cce3d3",
"linkExpire": 1599159344
}
],
"request_id": "5f4feaafd80aa"
}