A published game
GET
/play/{slug}/
const url = 'https://coggs.ai/play/example/';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://coggs.ai/play/example/Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
Responses
Section titled “Responses”The game’s page. A client that sends no Sec-Fetch-Dest header, such as a link-preview crawler, receives a small page with the title and picture tags instead.
Media typetext/html
Not published, withdrawn or never existed. The three answers are identical.