latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
ArtefactVersion

List all Artefacts Versions in the org.

Returns the Artefact Versions registered with your organization. If no elements are found, an empty list is returned.

get/orgs/{orgId}/artefact-versions

Path parameters

orgIdstring required

The organization ID.

Query parameters

namestring

(Optional) Filter Artefact Versions by name.

referencestring

(Optional) Filter Artefact Versions by the reference to a Version of the same Artefact. This cannot be used together with name.

archivedboolean

(Optional) Filter for non-archived Artefact Versions. If no filter is defined only non-archived Artefact Versions are returned, if the filter is true both archived and non-archived Versions are returned.

typestring

(Optional) Filter by artefact type.

Response

A list of Artefact Versions registered with your organization.

Example response

[
  {
    "type": "container",
    "artefact_id": "01234567-89ab-cdef-0123-456789abcdef",
    "commit": "060c3d6530a881afb808f105f36af25e1ad1b2f3",
    "created_at": "2020-06-22T09:37:23.523Z",
    "created_by": "01234567-89ab-cdef-0123-456789abcdef",
    "id": "01234567-89ab-cdef-0123-456789abcdef",
    "name": "registry.humanitec.io/my-org/my-service",
    "ref": "refs/heads/main",
    "updated_at": "2020-06-22T09:37:23.523Z",
    "updated_by": "01234567-89ab-cdef-0123-456789abcdef",
    "version": "1.2.7",
    "digest": "sha256:8414aa82208bc4c2761dc149df67e25c6b8a9380e5d8c4e7b5c84ca2d04bb244"
  }
]