Skip to Content
Xeonr Developer Docs
UplApiUploads

Get text content

POST
/uplim.api.v1.BucketUploadsService/GetTextContent

Retrieves the text content of an upload inline. For binary content, use GetUploadDownloadUrl instead.

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

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/GetTextContent" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "upload": "map[author:map[userId:3 username:luke] contentUrl:https://storage.upl.im/uploads/9b/7e/4d/2a/9b7e4d2a-3c1f-4e8b-a6d5-2f0c8e1b7a94.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=900&X-Amz-Signature=3f9a… createdAt:2026-10-22T09:30:00Z externalPath:/notes integrationHidden:false isVirtualFile:false order:0 path:/notes private:false sizeBytes:214 slug:notes.md tags:[screenshot work] thumbnailContentTypeIconName:faFileImage thumbnailContentTypeUrn:default:image updatedAt:2026-10-22T10:15:00Z uploadId:9b7e4d2a-3c1f-4e8b-a6d5-2f0c8e1b7a94 url:https://i.example.com/notes/notes.md version:1]",
  "content": "# Release notes\n\n- Fixed the upload retry loop.\n",
  "contentType": "text/markdown"
}