Presigned Urls (connect/v1)

Request a presigned upload URL for a new Custom Connector Plugin.

General Availability

Request a presigned upload URL to upload a Custom Connector Plugin archive.

post/connect/v1/presigned-upload-url

Request body

api_version'connect/v1'

APIVersion defines the schema version of this representation of a resource.

kind'PresignedUrlRequest'

Kind defines the object this REST resource represents.

idstring

ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space").

content_formatstring required

Archive format of the Custom Connector Plugin.

cloudstring

Cloud provider where the Custom Connector Plugin archive is uploaded.

Example request

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/connect/v1/presigned-url-requests/pur-12345",
    "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/presigned-url-request=pur-12345",
    "created_at": "2006-01-02T15:04:05-07:00",
    "updated_at": "2006-01-02T15:04:05-07:00",
    "deleted_at": "2006-01-02T15:04:05-07:00"
  },
  "content_format": "ZIP",
  "cloud": "AWS"
}

Response

Presigned Url.

api_version'connect/v1' required

APIVersion defines the schema version of this representation of a resource.

kind'PresignedUrl' required

Kind defines the object this REST resource represents.

content_formatstring

Content format of the Custom Connector Plugin archive.

cloudstring

Cloud provider where the Custom Connector Plugin archive is uploaded.

upload_idstring

Unique identifier of this upload.

upload_urlstring uri

Upload URL for the Custom Connector Plugin archive.

upload_form_dataobject

Upload form data of the Custom Connector Plugin. All values should be strings.

Example response

{
  "content_format": "ZIP",
  "cloud": "AWS",
  "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66",
  "upload_url": "https://confluent-custom-connectors-stag-us-west-2.s3.dualstack.us-west-2.amazonaws.com/",
  "upload_form_data": {
    "bucket": "confluent-custom-connectors-stag-us-west-2",
    "key": "staging/custom-plugin/2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/connect-e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66/plugin.zip",
    "policy": "string",
    "x-amz-algorithm": "AWS4-HMAC-SHA256",
    "x-amz-credential": "string",
    "x-amz-date": "20230725T013857Z",
    "x-amz-security-token": "string",
    "x-amz-signature": "string"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.