List data stores
GET /v1/stores: the data stores Atomo keeps for this game.
GET
/v1/storesAPI keyThe data stores Atomo keeps for the key’s game, with the data path of each. No parameters.
Request
curl https://api.useatomo.com/v1/stores \
-H "Authorization: Bearer $ATOMO_API_KEY"
local response = HttpService:RequestAsync({
Url = "https://api.useatomo.com/v1/stores",
Method = "GET",
Headers = { Authorization = key:AddPrefix("Bearer ") },
})
local stores = HttpService:JSONDecode(response.Body).stores
Answer
{
"asOf": 1796474085457,
"stores": [
{ "store": "PlayerData", "scope": "global", "dataPath": [] },
{ "store": "Profiles", "scope": "global", "dataPath": ["Data"] }
]
}
Each store
- storestring
The data store’s name.
- scopestring
Its scope.
- dataPathstring[]
Where the player’s data sits in each save:
["Data"]for ProfileStore,[]when the save is the data. Players’datain the other answers is what is below it.
Ordered by name, then scope. A game with no data store yet has none. Errors: Errors and limits.