Access Information of Published Files


Information of published files can be accessed by build id using http GET method through below url:

http://localhost:8810/rest/files?build_id=<build id>&path=<path>

Here <path> represents the relative path under publish directory of the specified build. The response is of mime type application/xml and the content is XML representation of the information about files and directories under the specified path. A sample response is like below:


    <!-- size in bytes -->
    <!-- number of milliseconds since January 1, 1970, 00:00:00 GMT -->




You will need to use http BASIC authentication to login as an authorized QuickBuild user if the anonymous is not allowed to access artifacts of specified build.


Below curl command demonstrates how to get information of artifacts in build with id 100:

curl -u admin:admin "http://localhost:8810/rest/files?build_id=100&path=artifacts"


Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.