Presigned Urls (ccpm/v1)

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

General Availability

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

post/ccpm/v1/presigned-upload-url

Request body

api_version'ccpm/v1'

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

kind'PresignedUrl'

Kind defines the object this REST resource represents.

content_formatstring required

Content format of the Custom Connect Plugin archive.

cloudstring required

Cloud provider where the Custom Connect Plugin archive is uploaded.

upload_idstring

Unique identifier of this upload.

upload_urlstring uri

Upload URL for the Custom Connect Plugin archive.

upload_form_dataobject

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

Example request

{
  "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"
  },
  "environment": {
    "id": "env-00000"
  }
}

Response

A Presigned Url was created.

api_version'ccpm/v1'

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

kind'PresignedUrl'

Kind defines the object this REST resource represents.

content_formatstring required

Content format of the Custom Connect Plugin archive.

cloudstring required

Cloud provider where the Custom Connect Plugin archive is uploaded.

upload_idstring

Unique identifier of this upload.

upload_urlstring uri

Upload URL for the Custom Connect Plugin archive.

upload_form_dataobject

Upload form data of the Custom Connect 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"
  },
  "environment": {
    "id": "env-00000",
    "related": "https://api.confluent.cloud/v2/environments/env-00000",
    "resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-00000"
  }
}

Changes

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