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
- https://api.cloudflare.com/client/v4
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:
|
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
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.