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:
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 Supported fields: created, name, type, updated Examples: |
Responses
Response samples
- 200
- 401
- 500
- default
{- "_links": {
- "_self": "string"
}, - "destinations": [
- {
- "_links": {
- "_self": "string"
}, - "archived": "2019-08-24T14:15:22Z",
- "created": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "ownership": {
- "is_owner": true,
- "owner_id": 0
}, - "parameters": {
- "bucket": "string",
- "credentials": "string"
}, - "permissions": {
- "can_write": true
}, - "pl:ref": "string",
- "type": "google_cloud_storage",
- "updated": "2019-08-24T14:15:22Z"
}
]
}
Create a new destination
Authorizations:
Request Body schema: application/jsonrequired
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
- Payload
{- "name": "string",
- "parameters": {
- "bucket": "string",
- "credentials": "string"
}, - "type": "google_cloud_storage"
}
Response samples
- 201
- 400
- 401
- 500
- default
{- "_links": {
- "_self": "string"
}, - "archived": "2019-08-24T14:15:22Z",
- "created": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "ownership": {
- "is_owner": true,
- "owner_id": 0
}, - "parameters": {
- "bucket": "string",
- "credentials": "string"
}, - "permissions": {
- "can_write": true
}, - "pl:ref": "string",
- "type": "google_cloud_storage",
- "updated": "2019-08-24T14:15:22Z"
}
Response samples
- 200
- 401
- 404
- 500
- default
{- "_links": {
- "_self": "string"
}, - "archived": "2019-08-24T14:15:22Z",
- "created": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "ownership": {
- "is_owner": true,
- "owner_id": 0
}, - "parameters": {
- "bucket": "string",
- "credentials": "string"
}, - "permissions": {
- "can_write": true
}, - "pl:ref": "string",
- "type": "google_cloud_storage",
- "updated": "2019-08-24T14:15:22Z"
}
Update a destination
Authorizations:
path Parameters
destinationID required | string |
Request Body schema: application/jsonrequired
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
- Payload
{- "archive": true,
- "name": "string",
- "parameters": {
- "credentials": "string"
}
}
Response samples
- 200
- 400
- 401
- 404
- 500
- default
{- "_links": {
- "_self": "string"
}, - "archived": "2019-08-24T14:15:22Z",
- "created": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "ownership": {
- "is_owner": true,
- "owner_id": 0
}, - "parameters": {
- "bucket": "string",
- "credentials": "string"
}, - "permissions": {
- "can_write": true
}, - "pl:ref": "string",
- "type": "google_cloud_storage",
- "updated": "2019-08-24T14:15:22Z"
}