The Image Source Resource

A source resource, which hold information information about the source of an image.

The Source Resource
  • id
    string

    A unique identifier for the source.

  • name
    string

    A user defined name for the source resource.

  • about
    object
    optional

    Contains details regarding the source.

    Show child fields
  • origin
    object
    The origin of the image source.
    Show child fields
  • creator
    object
    includable

    A creator object. Describes who created the resource.

    Show child fields
  • hub_id
    string

    A unique identifier for the hub that this source is associated with.

  • state
    object

    Information regarding the current state of the source.

    Show child fields
  • events
    object

    A collection of timestamps for each event in the source's lifetime.

    Show child fields
Example Image Source
{
"data": {
"id": "5b9c2a77b6393d0001eb45fd",
"type": "direct",
"name": "demo",
"about": {
"description": null
},
"origin": {
"type": "docker-hub",
"details": {
"target": "cycleplatform/getting-started:latest"
}
},
"creator": {
"id": "5a232a77b6393d0001ac2df2",
"type": "api-key"
},
"hub_id": "5fff2a77b6393d0001eb3333",
"state": {
"changed": "2021-02-10T20:08:29.734Z",
"current": "live"
},
"events": {
"created": "2021-02-10T20:08:29.734Z",
"updated": "0001-01-01T00:00:00Z",
"deleted": "0001-01-01T00:00:00Z"
}
}
}