List artifacts
List artifacts of the specified project
Path parameters
The name or id of the project
Query parameters
Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=v)", "range(k=[minmax])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=v2,k3=[minmax]
Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
The page number
The size of per page
Specify whether the tags are included inside the returning artifacts
Specify whether the labels are included inside the returning artifacts
Specify whether the scan overview is included inside the returning artifacts
Specify whether the SBOM overview is included in returning artifacts, when this option is true, the SBOM overview will be included in the response
Specify whether the immutable status is included inside the tags of the returning artifacts. Only works when setting "with_immutable_status=true"
Specify whether the accessories are included of the returning artifacts. Only works when setting "with_accessory=true"
Specify whether only the latest pushed artifact of each repository is included inside the returning artifacts. Only works when either artifact_type or media_type is included in the query.
Headers
An unique ID for the request
The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name.
A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1'
Response
Success
Example response
[
{
"sbom_overview": {
"start_time": "2006-01-02T14:04:05Z",
"end_time": "2006-01-02T15:04:05Z",
"report_id": "5f62c830-f996-11e9-957f-0242c0a89008",
"duration": 300,
"scanner": {
"name": "Trivy",
"vendor": "Aqua Security",
"version": "v0.9.1"
}
}
}
]Changes
No recorded changes to this endpoint across all 1 revision of this API.