Roblox Cloud icon

Roblox Cloud

Access Roblox Open Cloud APIs for groups, users, universes, places, storage, and more

Actions94

Storage → Create Memory Store Sorted Map Item

AI-generated

Overview

This node operation creates a new item in a memory store sorted map within the Roblox Cloud Storage resource. It is useful for applications that need to store and manage sorted data items in a memory store, such as leaderboards, real-time data tracking, or caching sorted information. For example, a game developer might use this to add a player's score to a sorted leaderboard stored in Roblox Cloud.

Use Case Examples

  1. Creating a new sorted map item with a specific ID and value in a memory store for quick retrieval and sorting.
  2. Adding a new entry to a sorted map to track real-time game statistics.

Properties

Name Meaning
Universe ID The universe ID that owns the storage resource, required to specify the context of the storage.
Sorted Map ID The memory store sorted map ID where the item will be created, required to identify the target sorted map.
Query Parameters Optional query parameters for the request, including the sorted map item ID to create.
Memory Store Sorted Map Item The JSON body of the memory store sorted map item, including its value and TTL (time to live), required for the item creation.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • id - The ID of the created sorted map item.
  • value - The value stored in the sorted map item.
  • ttl - The time to live for the sorted map item, indicating how long it remains valid.

Dependencies

  • An API key credential for Roblox Cloud API authentication

Troubleshooting

  • Ensure the Universe ID and Sorted Map ID are correctly specified and exist in Roblox Cloud to avoid resource not found errors.
  • Verify the JSON structure of the Memory Store Sorted Map Item is valid and includes required fields like value and ttl to prevent request validation errors.
  • Check network connectivity and proxy settings if requests time out or fail to connect.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.

Discussion