List all files in an artifacts archive
GET
/api/v4/projects/{id}/jobs/{job_id}/artifacts/tree
Lists all files in a specified artifacts archive without extracting them.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Query Parameters
Section titled “ Query Parameters ” path
string
Path to browse in the artifacts archive. Defaults to root directory.
Example
coverage/reports recursive
boolean
If true, return all entries recursively.
Example
false job_token
string
CI/CD job token for multi-project pipelines. Premium and Ultimate only.
page
integer
Current page number
Example
1 per_page
integer
Number of items per page
Example
20Responses
Section titled “ Responses ”OK
Media type application/json
object
name
string
path
string
type
string
size
integer
mode
string
Example
{ "name": "index.html", "path": "coverage/index.html", "type": "file", "size": 12345, "mode": "100644"}Bad Request
Unauthorized
Forbidden
Not found