chat

Patch Session

Rename and/or (un)pin a chat session.

重命名 / 置顶会话。需要登录,且只能改自己的会话。

patch/api/chat/sessions/{session_id}

Request

  • Base URL: https://fojin.app (the document declares no server; this is the origin it was published from)
  • URL: https://fojin.app/api/chat/sessions/{session_id}
  • Auth: HTTP bearer

Path parameters

session_idinteger required

Request body

titlestring nullable
pinnedboolean nullable

Response

Successful Response

idinteger required
titlestring nullable required
pinnedboolean
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.