Const
Param
See
Deprecated
Set Entry · BETA
BETA
Sets the value, metadata and user IDs associated with an entry.
Lua equivalent: GlobalDataStore:SetAsync Scopes: universe-datastores.objects:update, universe-datastores.objects:create, universe-datastores.control:create
GlobalDataStore:SetAsync
universe-datastores.objects:update
universe-datastores.objects:create
universe-datastores.control:create
body universeId The identifier of the experience with data stores that you want to access. You can find your experience's universe ID on Creator Hub. datastoreName The name of the data store. entryKey The key identifying the entry. matchVersion Provide to update only if the current version matches this. exclusiveCreate Create the entry only if it does not exist. scope The value is global by default. See Scopes. roblox-entry-attributes Attributes to be associated with new version of the entry. Serialized by JSON map objects. If not provided, existing attributes are cleared. roblox-entry-userids Comma-separated list of Roblox user IDs tagged with the entry. If not provided, existing user IDs are cleared. content-md5 The base64-encoded MD5 checksum of the content. See Content-MD5. PATCH https://apis.roblox.com/cloud/v2/universes/{universe_id}/data-stores/{data_store_id}/entries/{entry_id} PATCH https://apis.roblox.com/cloud/v2/universes/{universe_id}/data-stores/{data_store_id}/scopes/{scope_id}/entries/{entry_id} POST https://apis.roblox.com/cloud/v2/universes/{universe_id}/data-stores/{data_store_id}/entries POST https://apis.roblox.com/cloud/v2/universes/{universe_id}/data-stores/{data_store_id}/scopes/{scope_id}/entries Prefer the v2 alternative(s) listed above.
global
Set Entry ·
BETASets the value, metadata and user IDs associated with an entry.
Lua equivalent:
GlobalDataStore:SetAsyncScopes:universe-datastores.objects:update,universe-datastores.objects:create,universe-datastores.control:createbody universeId The identifier of the experience with data stores that you want to access. You can find your experience's universe ID on Creator Hub. datastoreName The name of the data store. entryKey The key identifying the entry. matchVersion Provide to update only if the current version matches this. exclusiveCreate Create the entry only if it does not exist. scope The value is
globalby default. See Scopes. roblox-entry-attributes Attributes to be associated with new version of the entry. Serialized by JSON map objects. If not provided, existing attributes are cleared. roblox-entry-userids Comma-separated list of Roblox user IDs tagged with the entry. If not provided, existing user IDs are cleared. content-md5 The base64-encoded MD5 checksum of the content. See Content-MD5. PATCH https://apis.roblox.com/cloud/v2/universes/{universe_id}/data-stores/{data_store_id}/entries/{entry_id} PATCH https://apis.roblox.com/cloud/v2/universes/{universe_id}/data-stores/{data_store_id}/scopes/{scope_id}/entries/{entry_id} POST https://apis.roblox.com/cloud/v2/universes/{universe_id}/data-stores/{data_store_id}/entries POST https://apis.roblox.com/cloud/v2/universes/{universe_id}/data-stores/{data_store_id}/scopes/{scope_id}/entries Prefer the v2 alternative(s) listed above.