v51

latestSwagger 2.0Apache 2.0raw.githubusercontent.com2026-08-018357145.6 KB
Floor

Modify A Floor

when both "fold_v2" and "fold" are empty, reset fold; else, "fold_v2" has the priority

put/floors/{id}

Path parameters

idinteger required

id

Request body

contentstring

Owner or admin, the original content should be moved to floor_history

foldstring[]

仅管理员,留空则重置,低优先级

fold_v2string

仅管理员,留空则重置,高优先级

like'add' | 'cancel'

All user, deprecated, "add" is like, "cancel" is reset

special_tagstring

Admin and Operator only

Response

OK

anonynamestring

a random username

contentstring

content of the floor, no more than 15000, should be sensitive checked, no more than 10000 in frontend

deletedboolean

whether the floor is deleted

dislikeinteger

dislike number

dislikedboolean

whether the user has disliked the floor

floor_idinteger

old version compatibility

foldstring[]

fold reason, for v1

fold_v2string

fold reason

hole_idinteger

the hole it belongs to

idinteger

/ saved fields

is_actual_sensitiveboolean

manual sensitive check

is_meboolean

whether the user is the author of the floor

is_sensitiveboolean

auto sensitive check

likeinteger

like number

likedboolean

whether the user has liked the floor

modifiedinteger

the modification times of floor.content

rankinginteger

the ranking of this floor in the hole

reply_tointeger

floor_id that it replies to, for dialog mode, in the same hole

sensitive_detailstring

auto sensitive check detail

special_tagstring

additional info, like "树洞管理团队"

time_createdstring
time_updatedstring