The Stack Resource

Stacks are a way to orchestrate multiple containers atomically and automatically.

For more information on stacks, see the main docs.

Attributes
  • id
    string

    The ID of the stack.

  • name
    string

    The name of the stack.

  • creator
    object
    includable

    A creator object. Describes who created the resource.

    Show child fields
  • hub_id
    string

    The ID of the hub the stack is associated with.

  • source
    object

    An object detailing the stack's source.

    Show child fields
  • state
    object

    Information regarding the current state of the stack.

    Show child fields
  • events
    object

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

    Show child fields
  • meta
    object
    optional

    A list of meta fields that can be applied to this stack. See the meta section for more details.

    Show child fields
Example Stack
{
"id": "5a98710df231a500017f9aa4",
"name": "Test",
"creator": {
"id": "5a662f3bf231a50001acbc1a",
"type": "account"
},
"hub_id": "5a6b6f3df231a50001c2317c",
"source": {
"type": "git-repo",
"details": {
"url": "https://demo.url.git/reponame.extension"
}
},
"state": {
"changed": "2018-03-01T21:31:19.793Z",
"current": "live"
},
"events": {
"created": "2018-03-01T21:30:53.296Z",
"updated": "0001-01-01T00:00:00Z",
"deleted": "0001-01-01T00:00:00Z",
"last_build": "0001-01-01T00:00:00Z"
},
"meta": {
"containers_count": 3,
"builds_count": 2
}
}