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
  • 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
  • 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.
  • If include=total information about total number of returned records will be included in the response
  • Limit the number of returned items on the page
  • Resource name matching specific string
  • Resource name matching SQL-LIKE pattern (use % wildcard), for example %MG_RETRY%
  • pointer for the next set of records in pagination
  • Resource type matching specific string value
  • Resource type matching specific string filter value with wildcards

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Return a list of all job targets
Body ()
Root Schema : TargetCollection
Type: object
This is the representation of list of target summaries.
Show Source
Nested Schema : items
Type: array
Target summaries.
Show Source
Nested Schema : TargetSummary
Type: object
Summary information about a target.
Show Source

400 Response

Bad Request
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

401 Response

Unauthorized
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

500 Response

Internal Server Error
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

503 Response

Service Unavailable
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported
Back to Top