List all Job targets
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobs/{jobId}/targets
Get a list of all Job targets
Request
Path Parameters
-
jobId(required): string
Concrete job id. This endpoint requires a real job id. Do not leave the placeholder value `{jobId}` in the URL. Do not use `all` unless the endpoint parameter is documented as JobIdOrAll. If the user provides a job name instead of an id, call ListJobs first with the exact `name` filter to resolve the id. If exact `name` returns no rows, retry ListJobs with `nameMatches` using `%` wildcards and suggest similar job definitions to the user.
Query Parameters
-
id: array[string]
Resource id filter for collection endpoints. To filter by multiple resource ids in one request, repeat the query parameter, for example `id=
&id= `. Do not pass comma-separated ids such as `id= , `. For ListJobs this filters job ids. For ListExecutions this filters execution ids. -
include: string
If include=total information about total number of returned records will be included in the response
-
limit: integer
Limit the number of returned items on the page
-
name: string
Resource name matching specific string
-
nameMatches: string
Resource name matching SQL-LIKE pattern (use % wildcard), for example %MG_RETRY%
-
page: string
pointer for the next set of records in pagination
-
type: string
Resource type matching specific string value
-
typeMatches: string
Resource type matching specific string filter value with wildcards
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Return a list of all job targets
Root Schema : TargetCollection
Type:
objectThis is the representation of list of target summaries.
Show Source
-
count(required): integer
Number of targets in this page.Example:
1 -
items(required): array
items
Target summaries.
-
links(required): object
links
Result set navigation links.
Nested Schema : items
Type:
arrayTarget summaries.
Show Source
-
Array of:
object TargetSummary
Summary information about a target.
Nested Schema : TargetSummary
Type:
objectSummary information about a target.
Show Source
-
blackoutStatus: string
Target blackout status display name.Example:
Started -
displayName(required): string
Display of the targetExample:
My Database Instance -
id(required): string
Target IDExample:
D91786E288D35455C3ADA1B329B49BB5 -
links: object
links
Target related links
-
name(required): string
Target NameExample:
my_database -
owner(required): string
Owner of the targetExample:
SYSMAN -
status: string
Allowed Values:
[ "DOWN", "UP", "METRIC_ERROR", "AGENT_DOWN", "UNREACHABLE", "BLACKOUT", "PENDING", "REMOTE_HOST_UNREACHABLE" ]This is the representation of a target status.Example:UP -
statusDisplayName: string
Localized statusExample:
Hochgefahren -
statusIconPath: string
Path to the status icon which is used in UIExample:
/sdk/core/uifwk/images/status/stat_arrowup_16.png -
typeDisplayName(required): string
Localized type display name of the targetExample:
Datenbankinstanz -
typeName(required): string
Target Type NameExample:
oracle_database
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported