Last updated 4 months ago
Get many communities
const response = await fetch('https://rounds.wtf/api/public/v1/communities', { method: 'GET', headers: {}, }); const data = await response.json();
Get a single community
const response = await fetch('https://rounds.wtf/api/public/v1/communities/{communityId}', { method: 'GET', headers: {}, }); const data = await response.json();
Get many rounds
const response = await fetch('https://rounds.wtf/api/public/v1/rounds', { method: 'GET', headers: {}, }); const data = await response.json();
Get a single round
const response = await fetch('https://rounds.wtf/api/public/v1/rounds/{roundId}', { method: 'GET', headers: {}, }); const data = await response.json();
Get many winners for a single round
const response = await fetch('https://rounds.wtf/api/public/v1/rounds/{roundId}/winners', { method: 'GET', headers: {}, }); const data = await response.json();
Get many submissions
Get a single submission
const response = await fetch('https://rounds.wtf/api/public/v1/submissions', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('https://rounds.wtf/api/public/v1/submissions/{submissionId}', { method: 'GET', headers: {}, }); const data = await response.json();