latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
Image

Get a specific Image Object

DEPRECATED: This endpoint exists for historical compatibility and should not be used. Please use the Artefact API instead.

The response includes a list of Image Builds as well as some metadata about the Image such as its Image Source.

Note, imageId may not be the same as the container name. imageId is determined by the system making notifications about new builds.

get/orgs/{orgId}/images/{imageId}

Path parameters

orgIdstring required

The organization ID.

imageIdstring required

The Image ID.

Response

The Image Object requested.

added_atstring required

The time the first build of this Image was added to the organization

idstring required

The ID used to group different builds of the same Image together.

sourcestring required

The Image Source that this Image is added via

Example response

{
  "added_at": "2020-06-22T09:37:23.523Z",
  "builds": [
    {
      "added_at": "2020-06-22T09:37:23.523Z",
      "branch": "master",
      "commit": "884bccaa807ea27cc1997a7492a3b6279fd7bd55",
      "image": "registry.humanitec.io/my-org/my-service:1.2.7"
    }
  ],
  "id": "my-service",
  "source": "github"
}