I have a website where I am using Roblox Open Cloud API to access DataStores. I am using PHP for the request. The initial request is working; however, it is only displaying one of the DataStores in the game when there are multiple.
PHP Code:
$url = "https://apis.roblox.com/datastores/v1/universes/3021566345/standard-datastores";
$key = array(
"x-api-key: blablabla"
);
$curl = curl_init();
curl_setopt($curl,CURLOPT_URL,$url);
curl_setopt($curl,CURLOPT_HTTPHEADER, $key);
curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);
$output = curl_exec($curl);
curl_close($curl);
echo $output;
I am also sure the DataStore that I want to appear exists because I can use it within Roblox.
The response I am getting from the Open Cloud API is:
{"datastores":[{"name":"HttpRequestsCache","createdTime":"2022-11-20T21:54:48.4571971Z"}],"nextPageCursor":"secret"}
I was thinking maybe nextPageCursor
may have something to do with getting the next set of data however I can’t find any documentation regarding it. Unfortunately, Open Cloud doesn’t have that many tutorials on it yet, although the documentation page is quite detailed.
Any help would be useful. Thanks in advance.