MemoryStoreSortedMapItem
Attributes
One of the following for expiration:
One of the following for sortKey:
Base URL
https://apis.roblox.com/cloud
The MemoryStoreSortedMapItem Resource
{
"path": "string",
"value": "JSON value",
"etag": "string",
"ttl": "3s",
"id": "string",
"stringSortKey": "string"
}
MemoryStoreSortedMapItem
List Memory Store Sorted Map Items
GET /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items
Scopesuniverse.memory-store.sorted-map:read
RequestPath ParametersResponsememoryStoreSortedMapItemsarray<MemoryStoreSortedMapItem> nextPageTokenstring
GET /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items
curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items?maxPageSize=1&pageToken={string}&orderBy={string}&filter={string}' \
-H 'x-api-key: {your-api-key}'
Response
{
"memoryStoreSortedMapItems": [
{
"path": "string",
"value": "JSON value",
"etag": "string",
"id": "string",
"stringSortKey": "string"
}
],
"nextPageToken": "string"
}
MemoryStoreSortedMapItem
Create Memory Store Sorted Map Item
POST /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items
Scopesuniverse.memory-store.sorted-map:write
RequestPath ParametersResponseMemoryStoreSortedMapItem
POST /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items
curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items?id=Hello!' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"value": "JSON value", \
"ttl": "3s", \
"id": "string", \
"stringSortKey": "string" \
}'
Response
{
"path": "string",
"value": "JSON value",
"etag": "string",
"id": "string",
"stringSortKey": "string"
}
MemoryStoreSortedMapItem
Get Memory Store Sorted Map Item
GET /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}
Scopesuniverse.memory-store.sorted-map:read
RequestPath ParametersResponseMemoryStoreSortedMapItem
GET /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}
curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}' \
-H 'x-api-key: {your-api-key}'
Response
{
"path": "string",
"value": "JSON value",
"etag": "string",
"id": "string",
"stringSortKey": "string"
}
MemoryStoreSortedMapItem
Delete Memory Store Sorted Map Item
DELETE /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}
Scopesuniverse.memory-store.sorted-map:write
RequestPath ParametersDELETE /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}
curl -L -X DELETE 'https://apis.roblox.com/cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}' \
-H 'x-api-key: {your-api-key}'
MemoryStoreSortedMapItem
Update Memory Store Sorted Map Item
PATCH /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}
Scopesuniverse.memory-store.sorted-map:write
RequestPath ParametersResponseMemoryStoreSortedMapItem
PATCH /cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}
curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/universes/{universe}/memory-store/sorted-maps/{sorted-map}/items/{item}?allowMissing={boolean}' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"value": "JSON value", \
"ttl": "3s", \
"id": "string", \
"stringSortKey": "string" \
}'
Response
{
"path": "string",
"value": "JSON value",
"etag": "string",
"id": "string",
"stringSortKey": "string"
}