Clarify the meaning and usage of the "id" field in a websocket message (#2244)

This commit is contained in:
Rob Coleman 2024-07-09 09:20:11 -07:00 committed by GitHub
parent 7ac7af4cd5
commit 394fc9777c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ During the command phase, the client attaches a unique identifier to each messag
## Message format
Each API message is a JSON serialized object containing a `type` key. After the authentication phase messages also must contain an `id`, an integer that contains the number of interactions.
Each API message is a JSON serialized object containing a `type` key. After the authentication phase messages also must contain an `id`, an integer that the caller can use to correlate messages to responses.
Example of an auth message: