MemoryStoreQueueItem

Attributes

pathstring
dataJSON value
prioritynumber

One of the following for expiration:

ttlstring
Input Only
expireTimestring
Output Only
idstring
Output Only
Base URL

https://apis.roblox.com/cloud
The MemoryStoreQueueItem Resource

{
"path": "universes/123/memory-store/queues/some-memory-store-queue-id/items/some-memory-store-queue-item-id",
"data": "JSON value",
"priority": "number",
"ttl": "3s",
"id": "string"
}

MemoryStoreQueueItem

Create Memory Store Queue Item
Beta

POST /cloud/v2/universes/{universe}/memory-store/queues/{queue}/items
Scopes
universe.memory-store.queue:write
RequestPath Parameters
universestring
Required
queuestring
Required
Request BodyMemoryStoreQueueItem
POST /cloud/v2/universes/{universe}/memory-store/queues/{queue}/items

curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe}/memory-store/queues/{queue}/items' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"data": "JSON value", \
"priority": "number", \
"ttl": "3s" \
}'
Response

{
"path": "universes/123/memory-store/queues/some-memory-store-queue-id/items/some-memory-store-queue-item-id",
"data": "JSON value",
"priority": "number",
"id": "string"
}

MemoryStoreQueueItem

Discard Memory Store Queue Items
Beta

POST /cloud/v2/universes/{universe}/memory-store/queues/{queue}/items:discard
Scopes
universe.memory-store.queue:discard
RequestPath Parameters
universestring
Required
queuestring
Required
Request Body
readIdstring
POST /cloud/v2/universes/{universe}/memory-store/queues/{queue}/items:discard

curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe}/memory-store/queues/{queue}/items:discard' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"readId": "string" \
}'

MemoryStoreQueueItem

Read Memory Store Queue Items
Beta

GET /cloud/v2/universes/{universe}/memory-store/queues/{queue}/items:read
Scopes
universe.memory-store.queue:dequeue
RequestPath Parameters
universestring
Required
queuestring
Required
Query Parameters
countnumber
allOrNothingboolean
invisibilityWindowstring
Response
readIdstring
GET /cloud/v2/universes/{universe}/memory-store/queues/{queue}/items:read

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/memory-store/queues/{queue}/items:read?count={integer}&allOrNothing={boolean}&invisibilityWindow={string}' \
-H 'x-api-key: {your-api-key}'
Response

{
"readId": "string",
"items": [
{
"path": "universes/123/memory-store/queues/some-memory-store-queue-id/items/some-memory-store-queue-item-id",
"data": "JSON value",
"priority": "number",
"id": "string"
}
]
}