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.

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

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketRef?|

Reference to a bucket by ID or hostname

[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 "Content-Type: application/json" \  -d '{}'
{
  "contentTypes": [
    {
      "urn": "string",
      "contentTypeId": "string",
      "displayLabel": "string",
      "iconName": "string",
      "integrationId": "string",
      "integrationName": "string",
      "integrationSlug": "string",
      "integrationIsSystem": true,
      "renderer": {
        "enabled": true,
        "archiveUploadId": "0f00a816-1fc2-4597-bbce-ea7af713750b",
        "entryPath": "string"
      },
      "iconUploadId": "string",
      "iconUrl": "string",
      "openWith": {
        "enabled": true,
        "callbackUrl": "http://example.com"
      }
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}