Subjects

Subject — entity with mutable state. A Subject represents a logical entity inside the BigState system whose state can change over time. It acts as a uniquely identifiable object that your application can track, update, and query.

Subjects are used whenever you need to model something that evolves — such as user location, device status, workflow step, sensor values, or any other piece of data that changes dynamically.
Subjects are ideal for representing anything that requires real-time updates, state transitions, or continuous monitoring.

Create new subject Request#

POST

await client.subjectCreate(data, 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

Get subject Request#

GET

await client.subjectGet(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