Search or ask Docker

ServiceCreateResponse

ServiceCreateResponse schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

contains the information returned to a client on the creation of a new service.
ID

Type: string

The ID of the created service.
All schema constraints and annotations
{
  "description": "The ID of the created service.",
  "example": "ak7w3gjqoa3kuz8xcpnyy0pvl",
  "type": "string",
  "x-nullable": false
}
Warnings

Type: array

Optional warning message.

FIXME(thaJeztah): this should have "omitempty" in the generated type.

Array item

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "description": "Optional warning message.\n\nFIXME(thaJeztah): this should have \"omitempty\" in the generated type.\n",
  "example": [
    "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
  ],
  "items": {
    "type": "string"
  },
  "type": "array",
  "x-nullable": true
}
All schema constraints and annotations
{
  "description": "contains the information returned to a client on the\ncreation of a new service.\n",
  "properties": {
    "ID": {
      "description": "The ID of the created service.",
      "example": "ak7w3gjqoa3kuz8xcpnyy0pvl",
      "type": "string",
      "x-nullable": false
    },
    "Warnings": {
      "description": "Optional warning message.\n\nFIXME(thaJeztah): this should have \"omitempty\" in the generated type.\n",
      "example": [
        "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
      ],
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-nullable": true
    }
  },
  "type": "object"
}