Files
Get File
GET
https://[customer].testresults.io/api/projects/:projectId/files/:fileId
Gets file data.
Path Parameters
Name
Type
Description
projectId
string
Project ID
fileId
string
File ID
Headers
Name
Type
Description
Authentication
string
Authentication token
{
"Name": "TC02_Rev5_20190430_091523.testcontainer",
"Size": 41209,
"Uri": "https://pavestoreprogile01.blob.core.windows.net/f00d03ed-38d1-4c65-b42e-cb1ab768ff05/TC02_Rev5_20190430_091523_fa5cf47a340442698c6134786531428d.testcontainer?sv=2018-03-28&sr=b&sig=X1J1wvxhg8YhPHFoKkuciqmHMbqZs4vROYnM7mFfkV8%3D&se=2019-05-02T05%3A20%3A51Z&sp=r",
"FileType": "TestContainer",
"DataVersion": "AAAAAAAzcP0=",
"Id": "492403cd-4953-4d95-b92b-b564c8539173"
}
Convert Webpage Uri
POST
https://[customer].testresults.io/api/projects/:projectId/files/convert/uri
Path Parameters
Name
Type
Description
pId
string
Project ID
Headers
Name
Type
Description
Authentication
string
Authentication token
Request Body
Name
Type
Description
uri
string
Webpage uri
{
"uploaded": true,
"fileUid": "4b7c39ca-791b-42e9-a9ba-415469ad5e99",
"error": false,
"trioreference": {
"Name": "webpage.bat",
"Size": 27,
"Uri": "https://pavestoreprogile01.blob.core.windows.net/3decf98f-2c20-4aef-9daa-cde692f7e9fa/webpage_37bd9220e5a44f09a120b0600b18a27f.bat?sv=2018-03-28&sr=b&sig=p6fWrtR7NKoABmoQix8ui0CPiQfM6uWzT%2FCeieJLUiU%3D&se=2019-05-05T00%3A15%3A16Z&sp=r",
"FileType": "UrlFile",
"DataVersion": null,
"Id": "16ed7298-71b4-4c88-9030-8f0e7332c88a"
}
}
Last updated
Was this helpful?