Skip to main content

Retrieve the relationship endpoints

Retrieves the relationship endpoints, providing access to the details of existing relationships for sync or copy operations.

HTTP method and endpoint

GET /api/accounts/{accountId}/relationships/end-points

Parameters

Name Type In Required Description

accountId

string

path

True

NetApp tenancy account ID

Response

Status: 200, Default Response
Name Type Required Description

relationships

array[relationships]

False

Example response
{
  "relationships": [
    {
      "source": {
        "id": "string",
        "metadata": {
          "bucket": "string",
          "host": "string",
          "container": "string",
          "provider": "string"
        }
      },
      "target": {
        "id": "string",
        "metadata": {
          "bucket": "string",
          "host": "string",
          "container": "string",
          "provider": "string"
        }
      }
    }
  ]
}

Definitions

See Definitions

metadata

Name Type Required Description

bucket

string

False

Bucket name

host

string

False

Host

container

string

False

Container

provider

string

False

Provider

source

Name Type Required Description

id

string

True

Endpoint ID system ID or aws,azure,gcp,sgws,ibm

metadata

metadata

False

target

Name Type Required Description

id

string

True

Endpoint ID system ID or aws,azure,gcp,sgws,ibm

metadata

metadata

False

relationships

Name Type Required Description

source

source

False

target

target

False