API Reference
Update Text Sharing
Updates the content and/or title of an existing text sharing. The domain and slug identify which text to update.
Header Parameters
Authorization*string
Your API key
Request Body
application/json
Updated text content and settings
content*string
The new text content (up to 2MB)
Length
length <= 2097152domain*string
The domain where the text sharing is hosted (e.g., "fs.to")
Length
length <= 255slug*string
The slug of the text sharing to update
Length
length <= 255title*string
The new title for this text sharing
Length
length <= 255Response Body
application/json
curl -X PUT "https://s.ee/api/v1/text" \ -H "Authorization: string" \ -H "Content-Type: application/json" \ -d '{ "content": "string", "domain": "string", "slug": "string", "title": "string" }'{
"code": 0,
"data": {
"tags": [
{
"id": 0,
"name": "string"
}
]
},
"message": "string"
}