Skip to main content

Destinations API Reference

Destinations API (v1.0.0)

Download OpenAPI specification:Download

The Destinations API provides a way to manage cloud storage destinations.

List all destinations

Authorizations:
JWTBasicAuth
query Parameters
archived
boolean

Filter destinations by archived status.

is_owner
boolean

Filter destinations owned by requester.

can_write
boolean

Filter destinations where the requester has write permissions.

sort_by
string

Sort destinations by one or more fields. Separate multiple fields with commas. Add ' ASC' or ' DESC' to specify direction (defaults to ASC). Default sort is created DESC.

Supported fields: created, name, type, updated

Examples: name, name DESC, name,created DESC

Responses

Response samples

Content type
application/json
{
  • "_links": {
    },
  • "destinations": [
    ]
}

Create a new destination

Authorizations:
JWTBasicAuth
Request Body schema: application/json
required
name
string [ 3 .. 63 ] characters

A name given to this Destination.

required
GoogleCloudStorageParams (object) or AmazonS3Params (object) or AzureCloudStorageParams (object) or OracleCloudStorageParams (object) or S3CompatibleParams (object) (DestinationParameters)

Parameters for the given Destination type.

type
required
string (DestinationType)
Enum: "google_cloud_storage" "amazon_s3" "azure_blob_storage" "oracle_cloud_storage" "s3_compatible"

The type of Destination.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "parameters": {
    },
  • "type": "google_cloud_storage"
}

Response samples

Content type
application/json
{
  • "_links": {
    },
  • "archived": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "id": "string",
  • "name": "string",
  • "ownership": {
    },
  • "parameters": {
    },
  • "permissions": {
    },
  • "pl:ref": "string",
  • "type": "google_cloud_storage",
  • "updated": "2019-08-24T14:15:22Z"
}

Get the OpenAPI spec

Authorizations:
JWTBasicAuth

Responses

Response samples

Content type
application/json
{ }

Get a destination

Authorizations:
JWTBasicAuth
path Parameters
destinationID
required
string

Responses

Response samples

Content type
application/json
{
  • "_links": {
    },
  • "archived": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "id": "string",
  • "name": "string",
  • "ownership": {
    },
  • "parameters": {
    },
  • "permissions": {
    },
  • "pl:ref": "string",
  • "type": "google_cloud_storage",
  • "updated": "2019-08-24T14:15:22Z"
}

Update a destination

Authorizations:
JWTBasicAuth
path Parameters
destinationID
required
string
Request Body schema: application/json
required
Any of
archive
boolean

True to archive the destination, false to unarchive.

name
string [ 3 .. 63 ] characters

A string to uniquely identify a Destination.

required
GoogleCloudStoragePatchParams (object) or AmazonS3PatchParams (object) or AzureCloudStoragePatchParams (object) or OracleCloudStoragePatchParams (object) or S3CompatiblePatchParams (object) (DestinationPatchParameters)

Patch parameters for the given Destination type.

Responses

Request samples

Content type
application/json
{
  • "archive": true,
  • "name": "string",
  • "parameters": {
    }
}

Response samples

Content type
application/json
{
  • "_links": {
    },
  • "archived": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "id": "string",
  • "name": "string",
  • "ownership": {
    },
  • "parameters": {
    },
  • "permissions": {
    },
  • "pl:ref": "string",
  • "type": "google_cloud_storage",
  • "updated": "2019-08-24T14:15:22Z"
}