API 参考
更新文本分享
更新已有文本分享的内容或标题,通过域名和别名指定文本分享。
PUT
Updated text content and settings
application/json- body
content*stringThe new text content (up to 2MB)
Length
length <= 2097152domain*stringThe domain where the text sharing is hosted (e.g., "fs.to")
Length
length <= 255slug*stringThe slug of the text sharing to update
Length
length <= 255title*stringThe new title for this text sharing
Length
length <= 255OK
application/json- response
code?integerResponse status code (200 indicates success)
data?unknownResponse payload
message?stringHuman-readable status message
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"}'Example Response200
{ "code": 0, "data": null, "message": "string"}