API documentation update: chat API guide update¶
I changed the API classification and modified several field information.
http API update¶
- Added message API classification
- Changed API classification
- Existing: Channel API > Announcement Message Sending API
- Changed: Message API > Channel Announcement Message Sending API
- Added user announcement message API
- Added channel custom message API
- Added user custom message API
- Added channel message history retrieval API
- Changed API classification
- Added detailed error codes
- New code added for HTTP status code 400
400 Custom message size exceeded. The maximum size is 8,000 bytes.: Custom message size exceeded (maximum 8,000 bytes)
- New code added for HTTP status code 400
- Removed
extraDatafrom response values- Channel retrieval API (response > data > members)
- Channel participants retrieval API (response > data > members)
- Added
chatHistoryAllowedmessage history retrieval availability- Response value for retrieving the entire channel list
- Response value for channel retrieval
- Request value for channel creation
- Response value for retrieving user participation channels
- Fixed typos and changed descriptions
- Retrieving the entire channel list
- Changed description of query parameter
sizefield- Existing: Minimum 10 ~ Maximum 100
- Changed: Minimum 1 ~ Maximum 10
- Changed description of query parameter
- Changed time type of
timestampMillis- integer → long
- Channel entry
- Changed request example
- Channel message history retrieval
- Changed API endpoint
- Removed Content-Type from path parameters
- Channel creation
- Changed guidance on actions based on the presence of
playerIdin request data
- Changed guidance on actions based on the presence of
- Channel exit
- Added explanation that channels without participants, where the channel owner is not
SYSTEM, will be periodically deleted
- Added explanation that channels without participants, where the channel owner is not
- User blocking
- Added explanation that it is a feature to limit real-time message sending and receiving
- Channel announcement message
- Added guidance on actions based on the presence of
channelIdandlangCodein request data
- Added guidance on actions based on the presence of
- Revised overview description
- Changed wording
- Time → Date
- Fixed some spacing
- Changed the notation of type array
- Example:
array→object array
- Example:
- Retrieving the entire channel list
websocket API changes¶
- Packet Type
- Added
NOTIFY_NOTICE
- Added
- Client Connection
- Changed request example
- Client Reconnection
- Changed request example
- Notice Message
- Renamed to user notice message
- Changed Body
playerIdinformation
- Channel Notice Message
- Changed Body
channelIdinformation
- Changed Body
- Changed extraData data transmission packet
- Removed
extraDatafrom request valuesCONNECTRECONNECT
- Added
extraDatato request valuesCHANNEL_CHATDIRECT_CHAT
- Removed
extraDatafrom response valuesNOTIFY_ENTER_CHANNELNOTIFY_EXIT_CHANNEL
- Changed response key value (
fromExtra→extraData)NOTIFY_CHANNEL_CHATNOTIFY_DIRECT_CHAT
- Removed
- Added
timestampMillisto response valuesNOTIFY_ENTER_CHANNELNOTIFY_EXIT_CHANNELNOTIFY_DELETE_CHANNELNOTIFY_CHANNEL_NOTICENOTIFY_CHANNEL_CHATNOTIFY_DIRECT_CHAT
- Added
langCodeto request valuesCONNECTRECONNECT
- Added Socket Server Event Message
NOTIFY_NOTICE
- Removed deprecated packets
NOTIFY_DISCONNECT