POST /accounts/{account_id}/images/v2/sourcingkit/sources

Create a new migration source by providing storage credentials. The service will verify connectivity to the bucket before accepting the source.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
account String No

Account identifier for the bucket (required for R2 vendor).

name String Yes

A human-readable name for the source.

vendor String Yes

The cloud storage vendor of the source bucket.

Valid values:

  • "s3"
  • "r2"
bucket String Yes

The name of the storage bucket.

secret Object Yes

Storage credentials for accessing the bucket. Shape depends on vendor.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.