Presigned Urls (cam/v1)

Request a presigned upload URL for a new Connect Artifact.

General Availability

Request a presigned upload URL to upload a Connect Artifact archive.

post/cam/v1/presigned-upload-url

Request body

api_version'cam/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 Connect Artifact.

cloudstring required

Cloud provider where the Connect Artifact archive is uploaded.

environmentstring required

The Environment the uploaded Connect Artifact belongs to.

Example request

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/cam/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": "JAR",
  "cloud": "AWS",
  "environment": "env-00000"
}

Response

Presigned Url.

api_version'cam/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 Connect Artifact archive.

cloudstring

Cloud provider where the Connect Artifact archive is uploaded.

environmentstring

The Environment the uploaded Connect Artifact belongs to.

upload_idstring

Unique identifier of this upload.

upload_urlstring uri

Upload URL for the Connect Artifact archive.

upload_form_dataobject

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

Example response

{
  "content_format": "JAR",
  "cloud": "AWS",
  "environment": "env-00000",
  "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/flink-artifact/2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/flink-e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66/artifact.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.