Set text content
Creates or updates text content inline. Supports create, replace, or upsert modes. For binary uploads, use RequestUpload + CreateUpload.
Required scopes: upl:uploads:create
Authorization
OAuth2 upl:uploads:createAuthorizationBearer <token>
OAuth 2.0 authorization
In: header
Scope: upl:uploads:create
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?|&|
content?string
10MB max, UTF-8 text
Length
length <= 10485760contentType?string
MIME type (e.g. text/plain, text/markdown, application/json). Defaults to text/plain.
Length
length <= 1024filename?string
Length
length <= 4096tags?array<>
Items
items <= 1000integrationHidden?|
Whether this upload is private to the owning integration. When true, only the owning integration (with API key if api_key_enabled) can access it. validate:skip a bool has no bounds
create?
Create a new text upload
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/SetTextContent" \ -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:/screenshots 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/screenshots/a8Kd3x.png version:1]"
}