Get the default league settings document (Classic)
GET
/v1/settings/default
const url = 'http://localhost:8080/v1/settings/default';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 http://localhost:8080/v1/settings/defaultScores are computed under this document until leagues score under their own.
Responses
Section titled “Responses”The document, in canonical JSON, with its hash.
Media typeapplication/json
object
sha256
required
Sha256 of the canonical JSON of body
string
body
required
The settings document; see internal/settings/schema/v1.json. Point values are integer hundredths.
object
key
additional properties
any
Example generated
{ "sha256": "example", "body": {}}