S.EE Docs
API 參考

取得文字分享建立紀錄

分頁傳回目前帳號建立的文字分享清單。

GET
/api/v1/texts

Query Parameters

page?integer

Page number (default: 1)

Range1 <= value
Default1

Header Parameters

Authorization*string

API key

Response Body

OK

application/json
  1. response
code?integer

Response status code (200 indicates success)

data?array<>

List of text sharings

message?string

Human-readable status message

success?boolean

Whether the request succeeded

Example Request
curl -X GET 'https://s.ee/api/v1/texts' \  -H 'Authorization: string'
Example Response200
{  "code": 0,  "data": [    {      "content_preview": "string",      "created_at": 0,      "domain": "string",      "id": 0,      "is_expired": true,      "short_url": "string",      "slug": "string",      "text_type": "string",      "title": "string"    }  ],  "message": "string",  "success": true}