The resource path of the memory store sorted map item.
Format: universes/{universe_id}/memory-store/sorted-maps/{memory_store_sorted_map_id}/items/{memory_store_sorted_map_item_id}.
Represents an item within a sorted map structure.
The resource path of the memory store sorted map item.
Format: universes/{universe_id}/memory-store/sorted-maps/{memory_store_sorted_map_id}/items/{memory_store_sorted_map_item_id}.
The value of the item.
A JSON value can be null, boolean, string, number, array, or object.
The server generated tag of an item.
The TTL for the item.
The expiration time of the item. This string is formatted as a Timestamp.
The name of the item.
The item will be sorted lexicographically according to this string.
The item will be sorted according to this number.
https://apis.roblox.com
{
"path": "universes/123/memory-store/sorted-maps/some-memory-store-sorted-map-id/items/some-memory-store-sorted-map-item-id",
"value": "JSON value",
"etag": "string",
"ttl": "3s",
"id": "string",
"stringSortKey": "string"
}
Gets and returns items in the map with a given order and filter.
The universe ID.
The sorted-map ID.
The maximum number of memory store sorted map items to return. The service might return fewer than this value. If unspecified, at most 1 memory store sorted map items are returned. The maximum value is 100 and higher values are set to 100.
A page token, received from a previous call, to retrieve a subsequent page.
When paginating, all other parameters provided to the subsequent call must match the call that provided the page token.
If specified, results are ordered according to the specified fields.
Values must be a comma-separated list of fields, with an optional, per-field " desc" suffix to sort by descending rather than ascending values. You can access subfields with a . operator.
Results may be ordered by the following fields: id.
Example: "id desc" .
This field may be set in order to filter the resources returned.
Filtering conforms to Common Expression Language (CEL). Only the id and sortKey fields are supported. In terms of operators, only <, > and && are allowed'
Example: id > "key-001" && id < "key-100".
A list of MemoryStoreSortedMapItems in the parent collection.
The MemoryStoreSortedMapItems from the specified MemoryStoreSortedMap.
A token that you can send as a pageToken parameter to retrieve the next page. If this field is omitted, there are no subsequent pages.
curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/memory-store/sorted-maps/{sorted_map_id}/items?maxPageSize=1&pageToken={string}&orderBy={string}&filter={string}' \
-H 'x-api-key: {your-api-key}'
{
"memoryStoreSortedMapItems": [
{
"path": "universes/123/memory-store/sorted-maps/some-memory-store-sorted-map-id/items/some-memory-store-sorted-map-item-id",
"value": "JSON value",
"etag": "string",
"id": "string",
"stringSortKey": "string"
}
],
"nextPageToken": "string"
}
Creates the specified map item if it doesn't exist.
The universe ID.
The sorted-map ID.
The ID to use for the memory store sorted map item, which will become the final component of the memory store sorted map item's resource path.
This value should be a 1-127 character string that supports alphanumeric and special characters. This id is case sensitive. The id must be url encoded if it contains any url breaking special characters.
curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/memory-store/sorted-maps/{sorted_map_id}/items?id=Hello!' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{
"value": "JSON value",
"ttl": "3s",
"id": "string",
"stringSortKey": "string"
}'
{
"path": "universes/123/memory-store/sorted-maps/some-memory-store-sorted-map-id/items/some-memory-store-sorted-map-item-id",
"value": "JSON value",
"etag": "string",
"id": "string",
"stringSortKey": "string"
}
Gets and returns the value of the given key in the map.
The universe ID.
The sorted-map ID.
The item ID.
curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/memory-store/sorted-maps/{sorted_map_id}/items/{item_id}' \
-H 'x-api-key: {your-api-key}'
{
"path": "universes/123/memory-store/sorted-maps/some-memory-store-sorted-map-id/items/some-memory-store-sorted-map-item-id",
"value": "JSON value",
"etag": "string",
"id": "string",
"stringSortKey": "string"
}
Deletes the specified item from the map.
The universe ID.
The sorted-map ID.
The item ID.
curl -L -X DELETE 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/memory-store/sorted-maps/{sorted_map_id}/items/{item_id}' \
-H 'x-api-key: {your-api-key}'
Updates the specified map item.
The universe ID.
The sorted-map ID.
The item ID.
If set to true, and the memory store sorted map item is not found, a memory store sorted map item is created.
curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/memory-store/sorted-maps/{sorted_map_id}/items/{item_id}?allowMissing={boolean}' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{
"value": "JSON value",
"ttl": "3s",
"id": "string",
"stringSortKey": "string"
}'
{
"path": "universes/123/memory-store/sorted-maps/some-memory-store-sorted-map-id/items/some-memory-store-sorted-map-item-id",
"value": "JSON value",
"etag": "string",
"id": "string",
"stringSortKey": "string"
}