Get Target Subscription
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/actions/getTargetSubscription
Gets the image information of which the specified target is subscribed to.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : schema
Type:
object
Target details
Show Source
-
targetName: string
Name of the targetExample:
sales_db1
-
targetType: string
Type of the targetExample:
oracle_database
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Ok. Target subscription details retrieved.
Root Schema : DatabaseGoldImageTargetSubscription
Type:
object
Target subscription input
Show Source
-
imageId: string
ID of the imageExample:
4B7738536B6E7888E053057FB10ACF8C
-
imageName: string
Name of the imageExample:
FM_DB19_14_image
-
parentId: string
ID of the parentExample:
01DB50F6963F0E39C72F8651DCC93A6A
-
targetId: string
ID of the targetExample:
4B620EC24DCE61FAE053057FB10AC7D0
-
targetName: string
Name of the targetExample:
sales_db1
-
targetType: string
Target type
-
timeSubscribed: string
(date-time)
Subscription timeExample:
2022-01-13 15:52:28.0
Examples
400 Response
Bad Request. The payload is null or missing some parameters
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
Unauthorized. The user does not have permissions to perform the requested operation
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
403 Response
Forbidden. The user is forbidden to perform the requested operation
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
404 Response
Not Found. The requested REST API URL is not found.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
Internal Server Error. Exception in execution of REST API.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
503 Response
Service Unavailable. The server is unable to process the request.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string