S.EE Docs
API 參考

更新個人首頁

更新既有個人首頁的內容、連結與樣式。

PUT
/api/v1/bio

Header Parameters

Authorization*string

Your API key

Request Body

Updated bio page settings

application/json
  1. body
background_color?string

Background color, e.g. "#ffffff" or "rgba(255,255,255,1)". Send an empty string to remove.

Lengthlength <= 50
custom_links?array<>

Custom links to fully replace the existing list. Omit this field to leave custom links unchanged.

description?string

New description

Lengthlength <= 255
email?string

Contact email address (optional)

Lengthlength <= 255
id*integer

The numeric ID of the bio page to update (required)

Range1 <= value
mastodon_url?string

Mastodon profile URL

Lengthlength <= 2048
rss_url?string

RSS feed URL

Lengthlength <= 2048
style?

Style configuration for the bio page layout and theme

title*string

New title for the bio page (required)

Lengthlength <= 255
username?string

Display username shown on the bio page. Overrides the account username if provided.

Lengthlength <= 40

Response Body

OK

application/json
  1. response
code?integer

Response status code (200 indicates success)

data?unknown

Response payload

message?string

Human-readable status message

Example Request
curl -X PUT 'https://s.ee/api/v1/bio' \  -H 'Authorization: string' \  -H 'Content-Type: application/json' \  -d '{  "id": 1,  "title": "string"}'
Example Response200
{  "code": 0,  "data": null,  "message": "string"}