List immediate (direct) relationships for a target

get

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/targets/{targetId}/immediateRelationships

Lists direct relationships for the specified target. You can filter by source/destination target name/type and association type.

Request

Path Parameters
Query Parameters
  • List of association types (for example: uses, used_by, hosted_by).
  • Container snapshot identifier (optional).
  • Destination target name filter (optional).
  • Destination target type filter (optional).
  • Minimum Value: 1
    Maximum Value: 2000
    to limit the number of rows returned. If the result set is greater follow the previous and next links in the results.
    Example:
    20
  • system generated page token used in the self, next and previous links.
  • Pattern: ^(sourceTargetName|sourceTargetType|assocType|destTargetName|destTargetType)(:(ASC|DESC))?(,(sourceTargetName|sourceTargetType|assocType|destTargetName|destTargetType)(:(ASC|DESC))?)*$
    Sorts immediate target relationships by `sourceTargetName`, `sourceTargetType`, `assocType`, `destTargetName`, or `destTargetType`. Each expression has the format field:direction, where direction is ASC (ascending) or DESC (descending) and defaults to ASC. Multiple expressions are separated by commas, without spaces around the separators. Field names are case-sensitive. The default order is sourceTargetName ASC.
    Example:
    sourceTargetName:ASC
  • Source target name filter (optional).
  • Source target type filter (optional).

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : TargetImmediateCollection
Type: object
Paged list of immediate (direct) relationship summaries.
Show Source
Nested Schema : items
Type: array
Immediate relationship summaries.
Show Source
Nested Schema : ImmediateSummary
Type: object
Summary of an immediate relationship (source/destination and association type).
Show Source

401 Response

client is not authenticated
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 error serving the 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

503 Response

indicates that a required service is not available.
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