Endpoint

/v3/replication/object-relationships/{id}

GET

Get information about the specified object replication relationship.

Parameters

Name Description Required
id Relationship identifier Yes

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "api_object_relationship_v3",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier of the replication relationship",
      "type": "string"
    },
    "direction": {
      "type": "string",
      "enum": [
        "COPY_TO_OBJECT",
        "COPY_FROM_OBJECT"
      ],
      "description": "The object relationship can either copy data to or from the object store:\n * `COPY_FROM_OBJECT` - COPY_FROM_OBJECT,\n * `COPY_TO_OBJECT` - COPY_TO_OBJECT"
    },
    "local_directory_id": {
      "description": "File ID of the qumulo directory",
      "type": "string"
    },
    "object_store_address": {
      "description": "S3-compatible server address",
      "type": "string"
    },
    "port": {
      "description": "HTTPS port to use when communicating with the object store",
      "type": "number"
    },
    "ca_certificate": {
      "description": "Public certificate of the certificate authority to trust for connections to the object store, in PEM format. If empty, the built-in trusted public CAs are used.",
      "type": "string"
    },
    "bucket": {
      "description": "Bucket in the object store to use",
      "type": "string"
    },
    "bucket_style": {
      "type": "string",
      "enum": [
        "BUCKET_STYLE_PATH",
        "BUCKET_STYLE_VIRTUAL_HOSTED"
      ],
      "description": "Addressing style for requests to the bucket. BUCKET_STYLE_PATH indicates path-style addressing while BUCKET_STYLE_VIRTUAL_HOSTED indicates virtual hosted-style.:\n * `BUCKET_STYLE_PATH` - BUCKET_STYLE_PATH,\n * `BUCKET_STYLE_VIRTUAL_HOSTED` - BUCKET_STYLE_VIRTUAL_HOSTED"
    },
    "object_folder": {
      "description": "Folder in the object store bucket to use",
      "type": "string"
    },
    "region": {
      "description": "Region the bucket is located in",
      "type": "string"
    },
    "access_key_id": {
      "description": "Access key ID to use when communicating with the object store",
      "type": "string"
    }
  }
}

DELETE

Delete the specified object replication relationship, which must not be running a job.

Parameters

Name Description Required
id Relationship identifier Yes
If-Match ETag for expected version No

Response

Codes

Code Description
200 Return value on success