Skip to Content
Xeonr Developer Docs

List supported magic byte formats + text encodings

POST
/uplim.api.v1.IntegrationAdminService/ListSupportedMagicFormats

Static catalog of magic byte formats (from the file-type library plus our custom descriptors) and text encodings the classifier accepts in a ContentTypeMatcher. Used by the matcher editor to populate dropdowns so it stays in sync with backend support.

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

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/ListSupportedMagicFormats" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "formats": [
    "map[category:image label:png value:png]",
    "map[category:archive label:zip value:zip]"
  ],
  "encodings": [
    "map[label:utf-8 value:utf-8]",
    "map[label:latin-1 (ISO-8859-1) value:latin-1]"
  ]
}