Skip to main content

Retrieve the relationship endpoints

Contributors

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

Retrieves the relationship endpoints.

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 workingEnvironmentId or aws,azure,gcp,sgws,ibm

metadata

metadata

False

target

Name Type Required Description

id

string

True

Endpoint id workingEnvironmentId or aws,azure,gcp,sgws,ibm

metadata

metadata

False

relationships

Name Type Required Description

source

source

False

target

target

False