List Targets Subscribed to Image
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}/targets
Lists targets subscribed to image
Request
Path Parameters
-
goldImageId(required): string
ID of the image
Query Parameters
-
limit: integer(int32)
Limit count of the items in the responseExample:
10
-
page: string
Marker indicating the next set (page) of itemsExample:
b2Zmc2V0OjA
-
sort: string
Comma separated list of fields along with an optional sort direction. The supported attributes of sorting are 'targetName'.Valid sort directions include asc and desc. If sort direction is not specified asc is used by default.Example:
targetName:asc
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Ok. Image subscription details retrieved.
Root Schema : GoldImageTargetCollection
Type:
object
Image subscription response
Show Source
-
items(required): array
items
List of the image subscription summary
Match All
Show Source
-
object
Pagination
Collection of items with links
Nested Schema : items
Type:
array
List of the image subscription summary
Show Source
-
Array of:
object ImageSubscriptionSummary
Image subscription summary
Nested Schema : Pagination
Type:
object
Collection of items with links
Show Source
-
count: integer
Count of this fetchExample:
40
-
links: object
Links
Represents the array of links
-
total: integer
total countExample:
40
Nested Schema : ImageSubscriptionSummary
Type:
object
Image subscription summary
Show Source
-
imageId: string
ID of the imageExample:
4B7738536B6E7888E053057FB10ACF8C
-
parentId: string
ID of the parent targetExample:
01DB50F6963F0E39C72F8651DCC93A6A
-
targetId: string
ID of the targetExample:
4B620EC24DCE61FAE053057FB10AC7D0
-
targetName: string
Name of the targetExample:
sales_db1
-
targetType: string
Target typeExample:
oracle_database
-
timeSubscribed: string
(date-time)
Time of subscriptionExample:
2022-01-13 15:52:28.0
Nested Schema : Links
Type:
object
Represents the array of links
Show Source
-
next: object
Link
Represents a link(could be self, previous or next)
-
previous: object
Link
Represents a link(could be self, previous or next)
-
self: object
Link
Represents a link(could be self, previous or next)
Nested Schema : Link
Type:
object
Represents a link(could be self, previous or next)
Show Source
-
href: string
URL for LinkExample:
/em/api/<resources>?page=b2Zmc2V0OjA&limit=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