### GET /v1/leaderboards/playtime/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the shards playtime ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/playtime/{page}" ``` ``` -------------------------------- ### GET /v1/shield/bedrock/config/{service} Source: https://api.donutsmp.net/doc.json Sends a copy of service metrics for shield ```markdown ### Parameters - **service** (string, path, required): Service ID ### Responses #### 200 - Response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/shield/bedrock/config/{service}" ``` ``` -------------------------------- ### GET /v1/leaderboards/shards/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the shards leaderboard ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/shards/{page}" ``` ``` -------------------------------- ### GET /v1/leaderboards/money/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the money leaderboard ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/money/{page}" ``` ``` -------------------------------- ### GET /v1/shield/java/config/{service} Source: https://api.donutsmp.net/doc.json Sends a copy of service metrics for shield ```markdown ### Parameters - **service** (string, path, required): Service ID ### Responses #### 200 - Response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/shield/java/config/{service}" ``` ``` -------------------------------- ### GET /v1/leaderboards/deaths/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the deaths leaderboard ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/deaths/{page}" ``` ``` -------------------------------- ### GET /v1/leaderboards/kills/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the kills leaderboard ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/kills/{page}" ``` ``` -------------------------------- ### GET /v1/leaderboards/mobskilled/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the mobs killed leaderboard ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/mobskilled/{page}" ``` ``` -------------------------------- ### GET /v1/lookup/{user} Source: https://api.donutsmp.net/doc.json Sends a copy of the player information as you would see with /findplayer ```markdown ### Parameters - **user** (string, path, required): Player Username ### Responses #### 200 - Lookup data Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/lookup/{user}" ``` ``` -------------------------------- ### GET /v1/leaderboards/shop/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the leaderboard for amount spent on /shop ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/shop/{page}" ``` ``` -------------------------------- ### GET /v1/auction/list/{page} Source: https://api.donutsmp.net/doc.json Process an auction request and return the result. ```markdown ### Parameters - **page** (string, path, optional): Page - **auction** (ah.RequestBody, body, optional): Optional search and sort information ### Responses #### 200 - Auction data Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/auction/list/{page}" ``` ``` -------------------------------- ### GET /v1/leaderboards/sell/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the leaderboard for amount made on /sell ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/sell/{page}" ``` ``` -------------------------------- ### GET /v1/shield/metrics/{service} Source: https://api.donutsmp.net/doc.json Sends a copy of service metrics for shield ```markdown ### Parameters - **service** (string, path, required): Service ID ### Responses #### 200 - Response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/shield/metrics/{service}" ``` ``` -------------------------------- ### GET /v1/stats/{user} Source: https://api.donutsmp.net/doc.json Sends a copy of the player profile as you would see with /stats ```markdown ### Parameters - **user** (string, path, required): Player Username ### Responses #### 200 - Profile data Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/stats/{user}" ``` ``` -------------------------------- ### GET /v1/shield/stats/{service} Source: https://api.donutsmp.net/doc.json Sends a copy of service stats for shield ```markdown ### Parameters - **service** (string, path, required): Service ID ### Responses #### 200 - Response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/shield/stats/{service}" ``` ``` -------------------------------- ### GET /v1/leaderboards/placedblocks/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the leaderboard for amount of placed blocks ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/placedblocks/{page}" ``` ``` -------------------------------- ### GET /v1/auction/transactions/{page} Source: https://api.donutsmp.net/doc.json Process an auction transaction request and return the result. ```markdown ### Parameters - **page** (string, path, optional): Page (Max 10, Min 1, 100 items per page, order of date sold) ### Responses #### 200 - Auction transaction data Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/auction/transactions/{page}" ``` ``` -------------------------------- ### GET /v1/leaderboards/brokenblocks/{page} Source: https://api.donutsmp.net/doc.json Sends a copy of the leaderboard for the amount of blocks broken ```markdown ### Parameters - **page** (string, path, optional): Page ### Responses #### 200 - Leaderboard response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X GET "https://api.example.com/v1/leaderboards/brokenblocks/{page}" ``` ``` -------------------------------- ### PUT /v1/shield/bedrock/config/{service} Source: https://api.donutsmp.net/doc.json Updates the server backends for the Shield service ```markdown ### Parameters - **service** (string, path, required): Service ID - **data** (api.BedrockShieldConfig, body, required): Backend List ### Responses #### 200 - Response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X PUT "https://api.example.com/v1/shield/bedrock/config/{service}" ``` ``` -------------------------------- ### PUT /v1/shield/java/config/{service} Source: https://api.donutsmp.net/doc.json Updates the server backends for the Shield service ```markdown ### Parameters - **service** (string, path, required): Service ID - **data** (api.ShieldConfig, body, required): Domains List ### Responses #### 200 - Response Empty response body #### 401 - Unauthorized request Unauthorized request #### 500 - Could not handle query Could not handle query ### Example Usage ```bash curl -X PUT "https://api.example.com/v1/shield/java/config/{service}" ``` ``` -------------------------------- ### API Overview: DonutSMP Public API Source: https://api.donutsmp.net/doc.json Official Public API for DonutSMP For authentication, create an API key in game using /api. Then copy this key and set the Authorization header as follows: Authorization: Bearer {YOUR_API_KEY} There is currently a limit of 250/reqs per minute per API key. ```yaml # DonutSMP Public API # Version: 1.0 Official Public API for DonutSMP For authentication, create an API key in game using /api. Then copy this key and set the Authorization header as follows: Authorization: Bearer {YOUR_API_KEY} There is currently a limit of 250/reqs per minute per API key. # Base URL: Not specified ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.