Subscribe Targets to an Image

post

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}/actions/subscribeTargets

Subscribes targets to an image. Targets can be of the same release (for patching purposes) or can be of a lower release from which a direct upgrade path is available.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Match All
Show Source
Nested Schema : SubscribeTargetsDetails
Type: object
Details of subscription of targets
Match All
Show Source
Nested Schema : TargetList
Type: object
List of targets
Show Source
Nested Schema : SubscribeTargetCommonDetails
Type: object
Common details for subscription of a target to the image
Show Source
Nested Schema : targetList
Type: array
Array of target names
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Ok. Targets subscribed.
Body ()
Root Schema : schema
Type: object
Match All
Show Source
Nested Schema : GoldImageSubscribeTargets
Type: object
Targets subscription response
Match All
Show Source
Nested Schema : GoldImageTargetsSubscriptionSummary
Type: object
Targets subscription details
Show Source
Nested Schema : items
Type: array
List of subscription summary
Show Source
Nested Schema : SubscriptionSummary
Type: object
Target subscription summary
Show Source
Examples

400 Response

Bad Request. The payload is null or missing some parameters
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

Unauthorized. The user does not have permissions to perform the requested operation
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

403 Response

Forbidden. The user is forbidden to perform the requested operation
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

404 Response

Not Found. The requested REST API URL is not found.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

Internal Server Error. Exception in execution of REST API.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

Service Unavailable. The server is unable to process the request.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top