Microsoft Azure Blob Using REST API

Creating a Connection

Create a basic connection using the example below. Replace the example values with the information relevant to your connection.

POST {{url}}v1/connections/

POST {{url}}v1/connections/

{ "name": "display name goes here", "platform": { "id": "azure-blob" }, "auth": { "client_secret": "this is the access key", "domain": "this is the account name", "container": "this is the container name" } }

Creating a Job

The sample code below shows how to create a basic copy job for a connection created to connect as a standard user. Replace the source and destination IDs and paths with information relevant to your connections and jobs.

POST {{url}}v1/jobs

POST {{url}}v1/jobs

{ "name":"Simple Job", "kind": "transfer", "transfer": { "transfer_type": "copy", "source": { "connection": { "id": "{{Connection_sourceID}}" }, "target": { "path": "/sourceDocumentLibrary" } }, "destination": { "connection": { "id": "{{Connection_destinationID}}" }, "target": { "path": "/destinationFolder" } }, "simulation_mode": false }, "schedule": { "mode": "manual" }, "stop_policy": { "on_success": 5, "on_failure": 5, "on_execute": 25 }, "category": { "name": "Report {Name}" } }

 

DryvIQ Platform Version: 5.9.2
Release Date: December 17, 2024