Version

The Version endpoint provides the current API version. As the current API is designed to be quickly updated, this can be handy to check when it was updated.

Endpoint

https://api.donutteam.com/
https://api.donutteam.com/?Event=Version

Arguments

This endpoint takes no arguments.

Example response

XML

https://api.donutteam.com/?Format=XML
<?xml version="1.0"?>
<DonutTeamAPI>
  <Accessor>Unidentified Developer</Accessor>
  <Method>GET</Method>
  <Event>Version</Event>
  <Version>1.0.0</Version>
</DonutTeamAPI>

JSON

https://api.donutteam.com/?Accessor=Jack%20Powell
{
    "Accessor": "Jack Powell",
    "Method": "GET",
    "Event": "Version",
    "Version": "1.0.0"
}
Back to top