Message

Send to multiple recipients and save to db, admin only.

post/messages

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/messages
  • Auth
    none declared

Request body

descriptionstring

MessageTypeMail

recipientsinteger[] required

Response

Created

code'favorite' | 'reply' | 'mention' | 'modify' | 'permission' | 'report' | 'report_dealt' | 'mail' | 'sensitive'
dataunknown
descriptionstring
has_readboolean

兼容旧版, 永远为false,以MessageUser的HasRead为准

idinteger
messagestring
message_idinteger

兼容旧版 id

related_floor_idinteger
related_hole_idinteger
time_createdstring
time_updatedstring
urlstring

Changes