Get File Upload History
Returns a paginated list of uploaded files for the authenticated user. This API is compatible with sm.ms upload_history endpoint and returns 30 files per page sorted by creation time in descending order.
page?integerPage number (default: 1)
1 <= value1OK
application/json- response
code?integerResponse status code (200 indicates success)
data?array<>List of uploaded files
message?stringHuman-readable status message
success?booleanWhether the request succeeded
curl -X GET 'https://s.ee/api/v1/files' \ -H 'Authorization: string'{ "code": 0, "data": [ { "created_at": 0, "delete": "string", "file_id": 0, "filename": "string", "hash": "string", "height": 0, "mime_type": "string", "page": "string", "path": "string", "size": 0, "storename": "string", "thumb_url": "string", "upload_status": 0, "url": "string", "width": 0 } ], "message": "string", "success": true}Replace File POST
This API replaces the content of an existing file with a new file. The short link and the file URL stay unchanged. It counts towards your upload quota. CDN caches are purged after the replacement, but browsers may keep serving a locally cached copy for a while. For files larger than 100MB, use the large file upload API with replace_file_id.
Get Private File Download URL GET
This API allows you to get a temporary download URL for a private file using its file ID. The URL is cached for a period of time, so multiple requests for the same file will return the same URL. The URL is valid for 1 hour.