The rulebook in force
GET
/api/v1/rulebook
const url = 'https://example.com/api/v1/rulebook';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/rulebookIts version, hash and URL. Public.
Authorizations
Section titled “Authorizations”- None
Responses
Section titled “Responses”OK.
Media typeapplication/json
object
version
required
The version of the rulebook in force.
string
sha256
required
The SHA-256 of its text.
string
url
required
Where its text is published.
string
Example generated
{ "version": "example", "sha256": "example", "url": "example"}