actors::sleep
Puts an actor to sleep. The request body is ignored.
Changed onpost/actors/{actor_id}/sleep
Request
- Base URLhttps://api.rivet.dev
- URLhttps://api.rivet.dev/actors/{actor_id}/sleep
- Auth
- HTTP bearer
- or API key in header x-rivet-token
Path parameters
actor_idstring required
A Rivet ID: 30 lowercase base36 characters.
Example:d97pbq1nyqxw1w5qdwz0iirbqiblh2
ID of the actor.
Query parameters
namespacestring
Name of the namespace to operate in. Defaults to default.
Response
The sleep was accepted.
Actors Sleep Response required
Changes
- breaking
removed the request body
- breaking
added the pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$to thequeryrequest parameternamespace - warning
for the
queryrequest parameternamespace, the maxLength was set to63 - info
the endpoint scheme security
rivet_token_headerwas added to the API - info
the
queryrequest parameternamespacebecame optional - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info