|
@@ -4487,6 +4487,29 @@ definitions:
|
|
|
description: "The image ID of an image that was deleted"
|
|
|
type: "string"
|
|
|
|
|
|
+ ServiceCreateResponse:
|
|
|
+ type: "object"
|
|
|
+ description: |
|
|
|
+ contains the information returned to a client on the
|
|
|
+ creation of a new service.
|
|
|
+ properties:
|
|
|
+ ID:
|
|
|
+ description: "The ID of the created service."
|
|
|
+ type: "string"
|
|
|
+ x-nullable: false
|
|
|
+ example: "ak7w3gjqoa3kuz8xcpnyy0pvl"
|
|
|
+ Warnings:
|
|
|
+ description: |
|
|
|
+ Optional warning message.
|
|
|
+
|
|
|
+ FIXME(thaJeztah): this should have "omitempty" in the generated type.
|
|
|
+ type: "array"
|
|
|
+ x-nullable: true
|
|
|
+ items:
|
|
|
+ type: "string"
|
|
|
+ example:
|
|
|
+ - "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
|
|
|
+
|
|
|
ServiceUpdateResponse:
|
|
|
type: "object"
|
|
|
properties:
|
|
@@ -4496,7 +4519,8 @@ definitions:
|
|
|
items:
|
|
|
type: "string"
|
|
|
example:
|
|
|
- Warning: "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
|
|
|
+ Warnings:
|
|
|
+ - "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
|
|
|
|
|
|
ContainerSummary:
|
|
|
type: "object"
|
|
@@ -11099,18 +11123,7 @@ paths:
|
|
|
201:
|
|
|
description: "no error"
|
|
|
schema:
|
|
|
- type: "object"
|
|
|
- title: "ServiceCreateResponse"
|
|
|
- properties:
|
|
|
- ID:
|
|
|
- description: "The ID of the created service."
|
|
|
- type: "string"
|
|
|
- Warning:
|
|
|
- description: "Optional warning message"
|
|
|
- type: "string"
|
|
|
- example:
|
|
|
- ID: "ak7w3gjqoa3kuz8xcpnyy0pvl"
|
|
|
- Warning: "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
|
|
|
+ $ref: "#/definitions/ServiceCreateResponse"
|
|
|
400:
|
|
|
description: "bad parameter"
|
|
|
schema:
|