Subject states

Subject states are the pieces of data a subject can publish. They are fully flexible and can represent any kind of information depending on your use case.

Set subject state Request#

POST

await client.stateSet(sid, data)

request parameters
response parameters
After submitting a call, you receive a response message to inform you that your request was received and processed.Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.
HTTP Responses

Get subject state Request#

GET

await client.stateGet(sid)

request parameters
response parameters
After submitting a call, you receive a response message to inform you that your request was received and processed.Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.
HTTP Responses

© 2024 BigState