Consume the next numbers. Never blocks — there is no contention to wait on.
Path Parameters
name*Name
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
How many numbers to consume, and an optional high-water mark.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/sequences/string/next" \ -H "Content-Type: application/json" \ -d '{}'{
"name": "string",
"value": 0,
"first": 0,
"count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}