Skip to Content
Xeonr Developer Docs

List content types visible in a bucket

POST
/uplim.api.v1.IntegrationsService/ListBucketContentTypes

Per-bucket scoping for the consumer portal's icon resolver / Open-With picker. Returns the system Default integration's content types plus the CTs of every integration with an active install on the bucket. Apps' CTs only show in buckets where the app is installed — pre-M3 they leaked globally via ListInstalledContentTypes.

Required scopes: upl:bucket:read

Authorization

OAuth2 upl:bucket:read
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:bucket:read

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?|&|
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationsService/ListBucketContentTypes" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "contentTypes": [
    "map[contentTypeId:9b8a7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d displayLabel:Markdown document iconName:faFileLines integrationId:6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f integrationIsSystem:false integrationName:Markdown Studio integrationSlug:markdown-studio openWith:map[callbackUrl:https://markdown.example.com/open enabled:true] renderer:map[archiveUploadId:4d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a0f enabled:true entryPath:index.html] urn:markdown-studio:markdown]"
  ]
}