Skip to Content
Xeonr Developer Docs

Upsert integration bucket type

POST
/uplim.api.v1.IntegrationAdminService/UpsertIntegrationBucketType

Creates or updates a bucket type for an integration, with ownership verification.

Required scopes: upl:private

Authorization

OAuth2 upl:private
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:private

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

integrationId?string

The parent integration that owns this bucket type

Formatuuid
updateMask?string
slug?|

URL-safe identifier (e.g. "npm-registry"). Immutable after creation.

Formathostname
Length1 <= length <= 64
displayName?|
Length1 <= length <= 128
description?|
Lengthlength <= 1024
iconUrl?|

Deprecated — 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.

Formaturi
Lengthlength <= 2048
renderer?|
serviceAccountPermission?|

Permission level for the auto-provisioned service account (read, write, admin)

Lengthlength <= 16
iconUploadId?|

Upload 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.

Match^$|^[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}$
[key: string]?never

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": "map[createdAt:2026-09-14T11:02:00Z description:A bucket laid out as a Markdown notes vault. displayName:Notes vault iconUploadId:1f2e3d4c-5b6a-4978-8695-a4b3c2d1e0f9 id:7e6d5c4b-3a2f-4e1d-9c8b-7a6f5e4d3c2b integrationId:6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f renderer:map[archiveUploadId:4d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a0f enabled:true entryPath:index.html] serviceAccountId:urn:xeonr:auth:uid:service_account:9 serviceAccountPermission:write slug:notes-vault updatedAt:2026-10-22T09:30:00Z]"
}