demoState
GET
/api/v1/demo
const url = 'https://example.com/api/v1/demo';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/demoRegistered only when TILECAST_ENV is demo. Returns the seeded scenario and the state of each simulated player.
Responses
Section titled “ Responses ”Demo scenario and simulated player state
Authentication required