Upsert integration bucket type
Creates or updates a bucket type for an integration, with ownership verification.
Authorization
OAuth2 upl:privateOAuth 2.0 authorization
In: header
Scope: upl:private
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
The parent integration that owns this bucket type
uuidURL-safe identifier (e.g. "npm-registry"). Immutable after creation.
hostname1 <= length <= 641 <= length <= 128length <= 1024Deprecated — the icon is now uploaded via CreateIntegrationBucketTypeIconUploadIntent and identified by icon_upload_id below. Field kept for one cycle so older clients don't error; server ignores the value on new writes.
urilength <= 2048Permission level for the auto-provisioned service account (read, write, admin)
length <= 16Upload ID of a custom icon image. Server resolves to icon_url at read time by presigning the internal-bucket upload. Mirrors the IntegrationContentType.icon_upload_id pattern. Mint via CreateIntegrationBucketTypeIconUploadIntent.
^$|^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/UpsertIntegrationBucketType" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"bucketType": {
"id": "string",
"integrationId": "string",
"slug": "string",
"displayName": "string",
"description": "string",
"iconUrl": "string",
"renderer": {
"enabled": true,
"archiveUploadId": "0f00a816-1fc2-4597-bbce-ea7af713750b",
"entryPath": "string"
},
"createdAt": "2023-01-15T01:30:15.01Z",
"updatedAt": "2023-01-15T01:30:15.01Z",
"serviceAccountId": "string",
"serviceAccountPermission": "string",
"iconUploadId": "string"
}
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}