Resources Artifact Get Artifact Info
🤬
Get Artifact Info
Get artifact info of specified path
Http Method
GET
End Point
/~api/artifacts/{buildId}/infos{artifactPath:(/.*)?}
Placeholder Description Example
{buildId} Build Id 1
{artifactPath} Artifact Path /path/to/directoryOrFile
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
{
"@type" : "DirectoryInfo" ,
"children" : [ {
"@type" : "DirectoryInfo" ,
"children" : null ,
"path" : "directory/sub-directory" ,
"lastModified" : 1
}
, {
"@type" : "FileInfo" ,
"length" : 1000 ,
"mediaType" : null ,
"path" : "directory/file" ,
"lastModified" : 1
}
]
,
"path" : "directory" ,
"lastModified" : 1
}
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> https://crash.software/~api/artifacts/1/infos/path/to/directoryOrFile
Please wait...
Page is in error, reload to recover