Xeonr Developer Docs

Create content type icon upload intent

POST
/uplim.api.v1.IntegrationAdminService/CreateIntegrationContentTypeIconUploadIntent

Creates a signed upload intent for uploading a custom icon image for an integration content type. Same internal bucket as archive uploads; the resulting upload_id goes on IntegrationContentType.icon_upload_id.

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

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

clientId?string|null
Formatuuid
extension?string

Image filename extension (no dot), used to shape the upload path and the eventual public URL slug. Lowercased server-side. Caller should pick one of: png, jpg, jpeg, gif, webp, svg.

Match^[a-zA-Z0-9]{1,8}$
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/CreateIntegrationContentTypeIconUploadIntent" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "signedToken": "string",
  "uploadPath": "string",
  "expiresAt": "2023-01-15T01:30:15.01Z"
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}