Skip to Content
Xeonr Developer Docs

Set bucket default Open-With

POST
/uplim.api.v1.IntegrationsService/SetBucketDefaultOpenWith

Records the bucket's default app for the (content_type, extension) pair. Bucket admin only. An empty integration_id records 'use built-in preview'.

Required scopes: upl:bucket:manage

Authorization

OAuth2 upl:bucket:manage
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:bucket:manage

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

bucketRef?|&|
contentTypeId?string
Formatuuid
extension?string

Empty string applies the default to all matches of the content type.

Lengthlength <= 32
integrationId?string

Empty string explicitly records "no app — use built-in preview" for this pair. When set it must equal the content type's owning integration ID.

Lengthlength <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationsService/SetBucketDefaultOpenWith" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "default": "map[contentTypeId:9b8a7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d extension:md integrationId:6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f updatedAt:2026-10-22T09:30:00Z]"
}