{ "openapi": "3.0.1", "info": { "title": "EliteAPI", "description": "A backend API for https://elitebot.dev/ that provides Hypixel Skyblock data. Use of this API requires following the TOS. This API is not affiliated with Hypixel or Mojang.", "termsOfService": "https://elitebot.dev/apiterms", "contact": { "name": "- GitHub", "url": "https://github.com/EliteFarmers/API" }, "license": { "name": "GPL-3.0", "url": "https://github.com/EliteFarmers/API/blob/master/LICENSE.txt" }, "version": "v1" }, "paths": { "/Account": { "get": { "tags": [ "Account" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/AuthorizedAccountDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/AuthorizedAccountDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AuthorizedAccountDto" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Account/{discordId}": { "get": { "tags": [ "Account" ], "parameters": [ { "name": "discordId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MinecraftAccountDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MinecraftAccountDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MinecraftAccountDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Account/{playerUuidOrIgn}": { "get": { "tags": [ "Account" ], "parameters": [ { "name": "playerUuidOrIgn", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MinecraftAccountDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MinecraftAccountDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MinecraftAccountDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } }, "post": { "tags": [ "Account" ], "parameters": [ { "name": "playerUuidOrIgn", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } }, "delete": { "tags": [ "Account" ], "parameters": [ { "name": "playerUuidOrIgn", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Account/primary/{playerUuidOrIgn}": { "post": { "tags": [ "Account" ], "parameters": [ { "name": "playerUuidOrIgn", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Admins": { "get": { "tags": [ "Admin" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/AccountWithPermsDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/AccountWithPermsDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/AccountWithPermsDto" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Admin/Permissions/{memberId}/{permission}": { "post": { "tags": [ "Admin" ], "parameters": [ { "name": "memberId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "permission", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } }, "delete": { "tags": [ "Admin" ], "parameters": [ { "name": "memberId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "permission", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Admin/UpcomingContests": { "delete": { "tags": [ "Admin" ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Event/create": { "post": { "tags": [ "AdminEvent" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EditEventDto" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Event/{eventId}/edit": { "post": { "tags": [ "AdminEvent" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EditEventDto" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Event/{eventId}/bans": { "get": { "tags": [ "AdminEvent" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberBannedDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberBannedDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberBannedDto" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Event/{eventId}/bans/{playerUuid}": { "post": { "tags": [ "AdminEvent" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberBannedDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberBannedDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberBannedDto" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } }, "delete": { "tags": [ "AdminEvent" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Bot/{guildId}": { "get": { "tags": [ "Bot" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/GuildDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/GuildDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GuildDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Bot/{guildId}/jacob": { "get": { "tags": [ "Bot" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "application/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } }, "put": { "tags": [ "Bot" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } } } }, "responses": { "200": { "description": "Success" }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Bot/account": { "patch": { "tags": [ "Bot" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IncomingAccountDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/IncomingAccountDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/IncomingAccountDto" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/AuthorizedAccountDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/AuthorizedAccountDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AuthorizedAccountDto" } } } } } } }, "/Bot/account/{discordId}/{playerIgnOrUuid}": { "post": { "tags": [ "Bot" ], "parameters": [ { "name": "discordId", "in": "path", "required": true, "style": "simple", "schema": { "minimum": 0, "type": "integer", "format": "int64" } }, { "name": "playerIgnOrUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } }, "delete": { "tags": [ "Bot" ], "parameters": [ { "name": "discordId", "in": "path", "required": true, "style": "simple", "schema": { "minimum": 0, "type": "integer", "format": "int64" } }, { "name": "playerIgnOrUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/Bot/account/{discordId}/{playerIgnOrUuid}/primary": { "post": { "tags": [ "Bot" ], "parameters": [ { "name": "discordId", "in": "path", "required": true, "style": "simple", "schema": { "minimum": 0, "type": "integer", "format": "int64" } }, { "name": "playerIgnOrUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/Contests/at/{year}": { "get": { "tags": [ "Contests" ], "parameters": [ { "name": "year", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } }, { "name": "now", "in": "query", "style": "form", "schema": { "type": "boolean", "default": false } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/YearlyContestsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/YearlyContestsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/YearlyContestsDto" } } } } } } }, "/Contests/Records/{year}": { "get": { "tags": [ "Contests" ], "parameters": [ { "name": "year", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/YearlyCropRecordsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/YearlyCropRecordsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/YearlyCropRecordsDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Contests/at/now": { "get": { "tags": [ "Contests" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/YearlyContestsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/YearlyContestsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/YearlyContestsDto" } } } } } }, "post": { "tags": [ "Contests" ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } } }, "text/json": { "schema": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } } }, "application/*+json": { "schema": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } } } } }, "responses": { "200": { "description": "Success" }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Contests/at/{year}/{month}/{day}": { "get": { "tags": [ "Contests" ], "parameters": [ { "name": "year", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } }, { "name": "day", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Contests/at/{year}/{month}": { "get": { "tags": [ "Contests" ], "parameters": [ { "name": "year", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "object", "additionalProperties": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestDto" } } } }, "application/json": { "schema": { "type": "object", "additionalProperties": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestDto" } } } }, "text/json": { "schema": { "type": "object", "additionalProperties": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestDto" } } } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Contests/{timestamp}": { "get": { "tags": [ "Contests" ], "parameters": [ { "name": "timestamp", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Contest/{contestKey}": { "get": { "tags": [ "Contests" ], "parameters": [ { "name": "contestKey", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/JacobContestWithParticipationsDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Events": { "get": { "tags": [ "Event" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventDetailsDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventDetailsDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventDetailsDto" } } } } } } } }, "/Event/{eventId}": { "get": { "tags": [ "Event" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Event/{eventId}/members": { "get": { "tags": [ "Event" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberDto" } } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Event/{eventId}/member/{playerUuid}": { "get": { "tags": [ "Event" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberDto" } } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Event/{eventId}/join": { "post": { "tags": [ "Event" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "playerUuid", "in": "query", "style": "form", "schema": { "type": "string" } }, { "name": "profileId", "in": "query", "style": "form", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Event/{eventId}/leave": { "post": { "tags": [ "Event" ], "parameters": [ { "name": "eventId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EventDetailsDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Graph/{playerUuid}/{profileUuid}/crops": { "get": { "tags": [ "Graph" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "days", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 7 } }, { "name": "from", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int64", "default": 0 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Graph/{playerUuid}/{profileUuid}/skills": { "get": { "tags": [ "Graph" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "days", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 7 } }, { "name": "from", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int64", "default": 0 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Graph/Admin/{playerUuid}/{profileUuid}/crops": { "get": { "tags": [ "Graph" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "days", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 7 } }, { "name": "from", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int64", "default": 0 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CropCollectionsDataPointDto" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Graph/Admin/{playerUuid}/{profileUuid}/skills": { "get": { "tags": [ "Graph" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "days", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 7 } }, { "name": "from", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int64", "default": 0 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkillsDataPointDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkillsDataPointDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkillsDataPointDto" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Guilds": { "get": { "tags": [ "Guild" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuildDetailsDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuildDetailsDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GuildDetailsDto" } } } } } } } }, "/Guild/{guildId}": { "get": { "tags": [ "Guild" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PublicGuildDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PublicGuildDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PublicGuildDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Guild/{guildId}/Events": { "get": { "tags": [ "Guild" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventDetailsDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventDetailsDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventDetailsDto" } } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Leaderboard/{id}": { "get": { "tags": [ "Leaderboard" ], "parameters": [ { "name": "id", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "offset", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 0 } }, { "name": "limit", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 20 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Leaderboard/skill/{skillName}": { "get": { "tags": [ "Leaderboard" ], "parameters": [ { "name": "skillName", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "offset", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 0 } }, { "name": "limit", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 20 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Leaderboard/collection/{collection}": { "get": { "tags": [ "Leaderboard" ], "parameters": [ { "name": "collection", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "offset", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 0 } }, { "name": "limit", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 20 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LeaderboardDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Leaderboard/ranks/{playerUuid}/{profileUuid}": { "get": { "tags": [ "Leaderboard" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LeaderboardPositionsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LeaderboardPositionsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LeaderboardPositionsDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Leaderboard/rank/{leaderboardId}/{playerUuid}/{profileUuid}": { "get": { "tags": [ "Leaderboard" ], "parameters": [ { "name": "leaderboardId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "includeUpcoming", "in": "query", "style": "form", "schema": { "type": "boolean", "default": false } }, { "name": "atRank", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": -1 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LeaderboardPositionDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LeaderboardPositionDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LeaderboardPositionDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Login/callback": { "get": { "tags": [ "Login" ], "parameters": [ { "name": "code", "in": "query", "style": "form", "schema": { "type": "string" } }, { "name": "state", "in": "query", "style": "form", "schema": { "type": "string" } }, { "name": "error", "in": "query", "style": "form", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/Graph/Medals/now": { "get": { "tags": [ "MedalGraphs" ], "parameters": [ { "name": "months", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 2 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Graph/Medals/{sbYear}/{sbMonth}": { "get": { "tags": [ "MedalGraphs" ], "parameters": [ { "name": "sbYear", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } }, { "name": "sbMonth", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } }, { "name": "months", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 2 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Graph/Medals/{sbYear}": { "get": { "tags": [ "MedalGraphs" ], "parameters": [ { "name": "sbYear", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } }, { "name": "years", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "months", "in": "query", "style": "form", "schema": { "type": "integer", "format": "int32", "default": 2 } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestBracketsDetailsDto" } } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Player/{playerUuidOrIgn}": { "get": { "tags": [ "Player" ], "parameters": [ { "name": "playerUuidOrIgn", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PlayerDataDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PlayerDataDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlayerDataDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Player/{discordId}": { "get": { "tags": [ "Player" ], "parameters": [ { "name": "discordId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LinkedAccountsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LinkedAccountsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LinkedAccountsDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Contests/{playerUuid}": { "get": { "tags": [ "PlayerContests" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Contests/{playerUuid}/{profileUuid}": { "get": { "tags": [ "PlayerContests" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Contests/{playerUuid}/Selected": { "get": { "tags": [ "PlayerContests" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "maxLength": 32, "minLength": 32, "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Profile/{uuid}/Selected": { "get": { "tags": [ "Profile" ], "parameters": [ { "name": "uuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProfileMemberDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProfileMemberDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProfileMemberDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Profile/{playerUuid}/{profileUuid}": { "get": { "tags": [ "Profile" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProfileMemberDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProfileMemberDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProfileMemberDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Profile/{profileUuid}": { "get": { "tags": [ "Profile" ], "parameters": [ { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProfileDetailsDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProfileDetailsDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProfileDetailsDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Profiles/{playerUuid}": { "get": { "tags": [ "Profile" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileDetailsDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileDetailsDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileDetailsDto" } } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/User/Guilds": { "get": { "tags": [ "User" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserGuildDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserGuildDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserGuildDto" } } } } } } } }, "/User/Guild/{guildId}": { "get": { "tags": [ "User" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/AuthorizedGuildDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/AuthorizedGuildDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AuthorizedGuildDto" } } } } } } }, "/User/Guild/{guildId}/Invite": { "put": { "tags": [ "User" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success" } } } }, "/User/Guild/{guildId}/Jacob": { "patch": { "tags": [ "User" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } } } }, "responses": { "200": { "description": "Success" } } }, "get": { "tags": [ "User" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "application/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } } } } } } }, "/User/Guild/{guildId}/Jacob/Leaderboard": { "post": { "tags": [ "User" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboard" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboard" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboard" } } } }, "responses": { "200": { "description": "Success" } } } }, "/User/Guild/{guildId}/Jacob/{lbId}": { "put": { "tags": [ "User" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "lbId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboard" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboard" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboard" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "application/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" } } } } } }, "delete": { "tags": [ "User" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "lbId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/User/Guild/{guildId}/Jacob/{lbId}/Send": { "post": { "tags": [ "User" ], "parameters": [ { "name": "guildId", "in": "path", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int64" } }, { "name": "lbId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/Weight/{playerUuid}": { "get": { "tags": [ "Weight" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/FarmingWeightAllProfilesDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/FarmingWeightAllProfilesDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/FarmingWeightAllProfilesDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Weight/{playerUuid}/Selected": { "get": { "tags": [ "Weight" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/FarmingWeightDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/FarmingWeightDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/FarmingWeightDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Weight/{playerUuid}/{profileUuid}": { "get": { "tags": [ "Weight" ], "parameters": [ { "name": "playerUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } }, { "name": "profileUuid", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/FarmingWeightDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/FarmingWeightDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/FarmingWeightDto" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Weights": { "get": { "tags": [ "Weight" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "object", "additionalProperties": { "type": "number", "format": "double" } } }, "application/json": { "schema": { "type": "object", "additionalProperties": { "type": "number", "format": "double" } } }, "text/json": { "schema": { "type": "object", "additionalProperties": { "type": "number", "format": "double" } } } } } } } } }, "components": { "schemas": { "AccountWithPermsDto": { "type": "object", "properties": { "id": { "type": "string" }, "displayName": { "type": "string" }, "username": { "type": "string" }, "permissions": { "type": "integer", "format": "int32" }, "discriminator": { "type": "string", "nullable": true }, "avatar": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ApiAccessDto": { "type": "object", "properties": { "inventories": { "type": "boolean" }, "collections": { "type": "boolean" }, "skills": { "type": "boolean" }, "vault": { "type": "boolean" } }, "additionalProperties": false }, "AuthorizedAccountDto": { "required": [ "DisplayName", "Id", "Inventory", "MinecraftAccounts", "Redemptions", "Settings", "Username" ], "type": "object", "properties": { "id": { "type": "string" }, "displayName": { "type": "string" }, "username": { "type": "string" }, "permissions": { "type": "integer", "format": "int32" }, "discriminator": { "type": "string", "nullable": true }, "email": { "type": "string", "nullable": true }, "locale": { "type": "string", "nullable": true }, "avatar": { "type": "string", "nullable": true }, "redemptions": { "type": "array", "items": { "$ref": "#/components/schemas/RedemptionDto" } }, "inventory": { "$ref": "#/components/schemas/EliteInventoryDto" }, "settings": { "$ref": "#/components/schemas/EliteSettingsDto" }, "eventEntries": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberDetailsDto" } }, "minecraftAccounts": { "type": "array", "items": { "$ref": "#/components/schemas/MinecraftAccountDetailsDto" } } }, "additionalProperties": false }, "AuthorizedGuildDto": { "type": "object", "properties": { "id": { "type": "string" }, "permissions": { "type": "string" }, "guild": { "$ref": "#/components/schemas/GuildDto" }, "discordGuild": { "$ref": "#/components/schemas/FullDiscordGuild" } }, "additionalProperties": false }, "AutoRoles": { "type": "object", "properties": { "roleId": { "type": "string", "nullable": true }, "requiredWeight": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ChannelType": { "enum": [ 0, 1, 2, 3, 4, 5, 10, 11, 12, 13, 14, 15 ], "type": "integer", "format": "int32" }, "ContestBracketsDetailsDto": { "type": "object", "properties": { "start": { "type": "string" }, "end": { "type": "string" }, "brackets": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/ContestBracketsDto" } } }, "additionalProperties": false }, "ContestBracketsDto": { "type": "object", "properties": { "bronze": { "type": "integer", "format": "int32" }, "silver": { "type": "integer", "format": "int32" }, "gold": { "type": "integer", "format": "int32" }, "platinum": { "type": "integer", "format": "int32" }, "diamond": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ContestMedal": { "enum": [ 0, 1, 2, 3, 4, 5 ], "type": "integer", "format": "int32" }, "ContestParticipationDto": { "type": "object", "properties": { "crop": { "type": "string" }, "timestamp": { "type": "integer", "format": "int64" }, "collected": { "type": "integer", "format": "int32" }, "position": { "type": "integer", "format": "int32" }, "participants": { "type": "integer", "format": "int32" }, "medal": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ContestParticipationWithTimestampDto": { "type": "object", "properties": { "playerUuid": { "type": "string" }, "playerName": { "type": "string" }, "profileUuid": { "type": "string" }, "removed": { "type": "boolean" }, "timestamp": { "type": "integer", "format": "int64" }, "collected": { "type": "integer", "format": "int32" }, "position": { "type": "integer", "format": "int32" }, "participants": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "Crop": { "enum": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], "type": "integer", "format": "int32" }, "CropCollectionsDataPointDto": { "type": "object", "properties": { "timestamp": { "type": "integer", "format": "int64" }, "crops": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } } }, "additionalProperties": false }, "CropRecords": { "type": "object", "properties": { "cactus": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "carrot": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "potato": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "wheat": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "melon": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "pumpkin": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "mushroom": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "cocoaBeans": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "sugarCane": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } }, "netherWart": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboardEntry" } } }, "additionalProperties": false }, "DiscordChannel": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "type": { "$ref": "#/components/schemas/ChannelType" }, "flags": { "type": "integer", "format": "int32" }, "position": { "type": "integer", "format": "int32" }, "guild_id": { "type": "string", "nullable": true }, "parent_id": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DiscordRole": { "type": "object", "properties": { "name": { "type": "string" }, "id": { "type": "string" } }, "additionalProperties": false }, "DiscordRoleData": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "permissions": { "type": "string", "nullable": true }, "position": { "type": "integer", "format": "int32" }, "color": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "EarnedMedalInventoryDto": { "type": "object", "properties": { "bronze": { "type": "integer", "format": "int32" }, "silver": { "type": "integer", "format": "int32" }, "gold": { "type": "integer", "format": "int32" }, "platinum": { "type": "integer", "format": "int32" }, "diamond": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "EditEventDto": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "rules": { "type": "string", "nullable": true }, "prizeInfo": { "type": "string", "nullable": true }, "banner": { "type": "string", "nullable": true }, "thumbnail": { "type": "string", "nullable": true }, "startTime": { "type": "integer", "format": "int64", "nullable": true }, "endTime": { "type": "integer", "format": "int64", "nullable": true }, "dynamicStartTime": { "type": "boolean", "nullable": true }, "active": { "type": "boolean", "nullable": true }, "requiredRole": { "type": "string", "nullable": true }, "blockedRole": { "type": "string", "nullable": true }, "guildId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EliteInventoryDto": { "required": [ "EventTokens", "EventTokensSpent", "LeaderboardTokens", "LeaderboardTokensSpent", "SpentMedals", "TotalEarnedMedals", "UnlockedCosmetics" ], "type": "object", "properties": { "totalEarnedMedals": { "$ref": "#/components/schemas/MedalInventoryDto" }, "spentMedals": { "$ref": "#/components/schemas/MedalInventoryDto" }, "eventTokens": { "type": "integer", "format": "int32" }, "eventTokensSpent": { "type": "integer", "format": "int32" }, "leaderboardTokens": { "type": "integer", "format": "int32" }, "leaderboardTokensSpent": { "type": "integer", "format": "int32" }, "unlockedCosmetics": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "EliteSettingsDto": { "type": "object", "properties": { "defaultPlayerUuid": { "type": "string" }, "hideDiscordTag": { "type": "boolean" } }, "additionalProperties": false }, "EventCreatedDto": { "type": "object", "properties": { "id": { "type": "string" }, "createdAt": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "EventDetailsDto": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string", "nullable": true }, "rules": { "type": "string", "nullable": true }, "prizeInfo": { "type": "string", "nullable": true }, "banner": { "type": "string", "nullable": true }, "thumbnail": { "type": "string", "nullable": true }, "startTime": { "type": "string", "nullable": true }, "endTime": { "type": "string", "nullable": true }, "dynamicStartTime": { "type": "boolean" }, "active": { "type": "boolean" }, "requiredRole": { "type": "string", "nullable": true }, "blockedRole": { "type": "string", "nullable": true }, "guildId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EventMemberBannedDto": { "type": "object", "properties": { "playerUuid": { "type": "string", "nullable": true }, "playerName": { "type": "string", "nullable": true }, "amountGained": { "type": "string", "nullable": true }, "notes": { "type": "string", "nullable": true }, "lastUpdated": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EventMemberDetailsDto": { "type": "object", "properties": { "playerUuid": { "type": "string", "nullable": true }, "playerName": { "type": "string", "nullable": true }, "profileId": { "type": "string", "nullable": true }, "eventId": { "type": "string" }, "status": { "$ref": "#/components/schemas/EventMemberStatus" }, "amountGained": { "type": "string", "nullable": true }, "lastUpdated": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EventMemberDto": { "type": "object", "properties": { "playerUuid": { "type": "string", "nullable": true }, "playerName": { "type": "string", "nullable": true }, "profileId": { "type": "string", "nullable": true }, "eventId": { "type": "string" }, "status": { "$ref": "#/components/schemas/EventMemberStatus" }, "amountGained": { "type": "string", "nullable": true }, "startConditions": { "$ref": "#/components/schemas/EventMemberStartConditions" }, "lastUpdated": { "type": "string", "nullable": true }, "disqualified": { "type": "boolean" }, "notes": { "maxLength": 128, "type": "string", "nullable": true } }, "additionalProperties": false }, "EventMemberStartConditions": { "type": "object", "properties": { "initialCollection": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } }, "increasedCollection": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } }, "countedCollection": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } }, "toolStates": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/EventToolState" } }, "tools": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } } }, "additionalProperties": false }, "EventMemberStatus": { "enum": [ 0, 1, 2, 3 ], "type": "integer", "format": "int32" }, "EventToolCounterState": { "type": "object", "properties": { "initial": { "type": "integer", "format": "int64" }, "previous": { "type": "integer", "format": "int64" }, "current": { "type": "integer", "format": "int64" }, "uncounted": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "EventToolState": { "type": "object", "properties": { "skyblockId": { "type": "string" }, "crop": { "$ref": "#/components/schemas/Crop" }, "firstSeen": { "type": "integer", "format": "int64" }, "lastSeen": { "type": "integer", "format": "int64" }, "isActive": { "type": "boolean" }, "counter": { "$ref": "#/components/schemas/EventToolCounterState" }, "cultivating": { "$ref": "#/components/schemas/EventToolCounterState" } }, "additionalProperties": false }, "ExcludedTimespan": { "type": "object", "properties": { "start": { "type": "integer", "format": "int64" }, "end": { "type": "integer", "format": "int64" }, "reason": { "type": "string", "nullable": true } }, "additionalProperties": false }, "FarmingInventoryDto": { "type": "object", "properties": { "armor": { "type": "array", "items": { "$ref": "#/components/schemas/ItemDto" } }, "tools": { "type": "array", "items": { "$ref": "#/components/schemas/ItemDto" } }, "equipment": { "type": "array", "items": { "$ref": "#/components/schemas/ItemDto" } }, "accessories": { "type": "array", "items": { "$ref": "#/components/schemas/ItemDto" } } }, "additionalProperties": false }, "FarmingWeightAllProfilesDto": { "type": "object", "properties": { "selectedProfileId": { "type": "string", "nullable": true }, "profiles": { "type": "array", "items": { "$ref": "#/components/schemas/FarmingWeightWithProfileDto" } } }, "additionalProperties": false }, "FarmingWeightDto": { "type": "object", "properties": { "totalWeight": { "type": "number", "format": "double" }, "cropWeight": { "type": "object", "additionalProperties": { "type": "number", "format": "double" } }, "bonusWeight": { "type": "object", "additionalProperties": { "type": "number", "format": "double" } }, "inventory": { "$ref": "#/components/schemas/FarmingInventoryDto" } }, "additionalProperties": false }, "FarmingWeightWithProfileDto": { "type": "object", "properties": { "profileId": { "type": "string" }, "profileName": { "type": "string" }, "totalWeight": { "type": "number", "format": "double" }, "cropWeight": { "type": "object", "additionalProperties": { "type": "number", "format": "double" } }, "bonusWeight": { "type": "object", "additionalProperties": { "type": "number", "format": "double" } } }, "additionalProperties": false }, "FullDiscordGuild": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "splash": { "type": "string", "nullable": true }, "discovery_splash": { "type": "string", "nullable": true }, "features": { "type": "array", "items": { "type": "string" } }, "banner": { "type": "string", "nullable": true }, "owner_id": { "type": "string", "nullable": true }, "application_id": { "type": "integer", "format": "int32", "nullable": true }, "region": { "type": "string", "nullable": true }, "verification_level": { "type": "integer", "format": "int32" }, "roles": { "type": "array", "items": { "$ref": "#/components/schemas/DiscordRoleData" } }, "channels": { "type": "array", "items": { "$ref": "#/components/schemas/DiscordChannel" } }, "vanity_url_code": { "type": "string", "nullable": true }, "premium_tier": { "type": "integer", "format": "int32" }, "premium_subscription_count": { "type": "integer", "format": "int32" }, "preferred_locale": { "type": "string", "nullable": true }, "approximate_member_count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "GuildDetailsDto": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string", "nullable": true }, "banner": { "type": "string", "nullable": true }, "inviteCode": { "type": "string", "nullable": true }, "memberCount": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "GuildDto": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "features": { "$ref": "#/components/schemas/GuildFeatures" }, "icon": { "type": "string", "nullable": true }, "inviteCode": { "type": "string", "nullable": true }, "banner": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "adminRole": { "type": "string", "nullable": true }, "botPermissions": { "type": "string", "nullable": true }, "botPermissionsNew": { "type": "string" }, "discordFeatures": { "type": "array", "items": { "type": "string" } }, "memberCount": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "GuildEventSettings": { "type": "object", "properties": { "maxMonthlyEvents": { "type": "integer", "format": "int32" }, "publicEventsEnabled": { "type": "boolean" }, "createdEvents": { "type": "array", "items": { "$ref": "#/components/schemas/EventCreatedDto" } } }, "additionalProperties": false }, "GuildFeatures": { "type": "object", "properties": { "jacobLeaderboardEnabled": { "type": "boolean" }, "jacobLeaderboard": { "$ref": "#/components/schemas/GuildJacobLeaderboardFeature" }, "verifiedRoleEnabled": { "type": "boolean" }, "verifiedRole": { "$ref": "#/components/schemas/VerifiedRoleFeature" }, "eventsEnabled": { "type": "boolean" }, "eventSettings": { "$ref": "#/components/schemas/GuildEventSettings" } }, "additionalProperties": false }, "GuildJacobLeaderboard": { "type": "object", "properties": { "id": { "type": "string" }, "channelId": { "type": "string", "nullable": true }, "startCutoff": { "type": "integer", "format": "int64" }, "endCutoff": { "type": "integer", "format": "int64" }, "title": { "maxLength": 64, "type": "string", "nullable": true }, "active": { "type": "boolean" }, "requiredRole": { "type": "string", "nullable": true }, "blockedRole": { "type": "string", "nullable": true }, "updateChannelId": { "type": "string", "nullable": true }, "updateRoleId": { "type": "string", "nullable": true }, "pingForSmallImprovements": { "type": "boolean" }, "crops": { "$ref": "#/components/schemas/CropRecords" } }, "additionalProperties": false }, "GuildJacobLeaderboardEntry": { "type": "object", "properties": { "uuid": { "type": "string" }, "ign": { "type": "string" }, "discordId": { "type": "string" }, "record": { "$ref": "#/components/schemas/ContestParticipationDto" } }, "additionalProperties": false }, "GuildJacobLeaderboardFeature": { "type": "object", "properties": { "maxLeaderboards": { "type": "integer", "format": "int32" }, "blockedRoles": { "type": "array", "items": { "$ref": "#/components/schemas/DiscordRole" } }, "blockedUsers": { "type": "array", "items": { "type": "integer", "format": "int64" } }, "requiredRoles": { "type": "array", "items": { "$ref": "#/components/schemas/DiscordRole" } }, "excludedParticipations": { "type": "array", "items": { "type": "string" } }, "excludedTimespans": { "type": "array", "items": { "$ref": "#/components/schemas/ExcludedTimespan" } }, "leaderboards": { "type": "array", "items": { "$ref": "#/components/schemas/GuildJacobLeaderboard" } } }, "additionalProperties": false }, "IncomingAccountDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "username": { "type": "string" }, "displayName": { "type": "string", "nullable": true }, "discriminator": { "type": "string", "nullable": true }, "avatar": { "type": "string", "nullable": true }, "locale": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ItemDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" }, "skyblockId": { "type": "string", "nullable": true }, "uuid": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "lore": { "type": "array", "items": { "type": "string" }, "nullable": true }, "enchantments": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32", "nullable": true }, "nullable": true }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "JacobContestDto": { "type": "object", "properties": { "crop": { "type": "string" }, "timestamp": { "type": "integer", "format": "int64" }, "participants": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "JacobContestWithParticipationsDto": { "type": "object", "properties": { "crop": { "type": "string" }, "timestamp": { "type": "integer", "format": "int64" }, "participants": { "type": "integer", "format": "int32" }, "brackets": { "$ref": "#/components/schemas/ContestBracketsDto" }, "participations": { "type": "array", "items": { "$ref": "#/components/schemas/StrippedContestParticipationDto" } } }, "additionalProperties": false }, "JacobDataDto": { "type": "object", "properties": { "medals": { "$ref": "#/components/schemas/MedalInventoryDto" }, "earnedMedals": { "$ref": "#/components/schemas/EarnedMedalInventoryDto" }, "perks": { "$ref": "#/components/schemas/JacobPerksDto" }, "stats": { "$ref": "#/components/schemas/JacobStatsDto" }, "participations": { "type": "integer", "format": "int32" }, "firstPlaceScores": { "type": "integer", "format": "int32" }, "contests": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationDto" } } }, "additionalProperties": false }, "JacobPerksDto": { "type": "object", "properties": { "doubleDrops": { "type": "integer", "format": "int32" }, "levelCap": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "JacobStatsDto": { "type": "object", "properties": { "brackets": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/ContestMedal" } }, "personalBests": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } } }, "additionalProperties": false }, "LeaderboardDto": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "limit": { "type": "integer", "format": "int32" }, "offset": { "type": "integer", "format": "int32" }, "maxEntries": { "type": "integer", "format": "int32" }, "entries": { "type": "array", "items": { "$ref": "#/components/schemas/LeaderboardEntryDto" } } }, "additionalProperties": false }, "LeaderboardEntryDto": { "type": "object", "properties": { "ign": { "type": "string", "nullable": true }, "profile": { "type": "string", "nullable": true }, "amount": { "type": "number", "format": "double" } }, "additionalProperties": false }, "LeaderboardPositionDto": { "type": "object", "properties": { "rank": { "type": "integer", "format": "int32" }, "upcomingRank": { "type": "integer", "format": "int32" }, "upcomingPlayers": { "type": "array", "items": { "$ref": "#/components/schemas/LeaderboardEntryDto" }, "nullable": true } }, "additionalProperties": false }, "LeaderboardPositionsDto": { "type": "object", "properties": { "misc": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32" } }, "skills": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32" } }, "collections": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32" } } }, "additionalProperties": false }, "LinkedAccountsDto": { "type": "object", "properties": { "selectedUuid": { "type": "string", "nullable": true }, "players": { "type": "array", "items": { "$ref": "#/components/schemas/PlayerDataDto" } } }, "additionalProperties": false }, "MedalInventoryDto": { "type": "object", "properties": { "bronze": { "type": "integer", "format": "int32" }, "silver": { "type": "integer", "format": "int32" }, "gold": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "MemberDetailsDto": { "type": "object", "properties": { "uuid": { "type": "string" }, "username": { "type": "string" }, "profileName": { "type": "string", "nullable": true }, "active": { "type": "boolean" }, "farmingWeight": { "type": "number", "format": "double" } }, "additionalProperties": false }, "MinecraftAccountDetailsDto": { "required": [ "Id", "Name", "PrimaryAccount", "Properties" ], "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "primaryAccount": { "type": "boolean" }, "properties": { "type": "array", "items": { "$ref": "#/components/schemas/MinecraftAccountPropertyDto" } } }, "additionalProperties": false }, "MinecraftAccountDto": { "required": [ "EventEntries", "Id", "Name", "PrimaryAccount", "Profiles", "Properties" ], "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "primaryAccount": { "type": "boolean" }, "discordId": { "type": "string", "nullable": true }, "discordUsername": { "type": "string", "nullable": true }, "discordAvatar": { "type": "string", "nullable": true }, "properties": { "type": "array", "items": { "$ref": "#/components/schemas/MinecraftAccountPropertyDto" } }, "eventEntries": { "type": "array", "items": { "$ref": "#/components/schemas/EventMemberDetailsDto" } }, "profiles": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileDetailsDto" } }, "playerData": { "$ref": "#/components/schemas/PlayerDataDto" } }, "additionalProperties": false }, "MinecraftAccountPropertyDto": { "required": [ "Name", "Value" ], "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } }, "additionalProperties": false }, "PetDto": { "type": "object", "properties": { "uuid": { "type": "string", "nullable": true }, "type": { "type": "string" }, "exp": { "type": "number", "format": "double" }, "active": { "type": "boolean" }, "tier": { "type": "string", "nullable": true }, "heldItem": { "type": "string", "nullable": true }, "candyUsed": { "type": "integer", "format": "int32" }, "skin": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PlayerDataDto": { "type": "object", "properties": { "uuid": { "type": "string" }, "displayname": { "type": "string", "nullable": true }, "firstLogin": { "type": "integer", "format": "int64" }, "lastLogin": { "type": "integer", "format": "int64" }, "lastLogout": { "type": "integer", "format": "int64" }, "karma": { "type": "integer", "format": "int32" }, "networkExp": { "type": "number", "format": "double" }, "rewardHighScore": { "type": "integer", "format": "int32" }, "rewardScore": { "type": "integer", "format": "int32" }, "rewardStreak": { "type": "integer", "format": "int32" }, "totalDailyRewards": { "type": "integer", "format": "int32" }, "totalRewards": { "type": "integer", "format": "int32" }, "prefix": { "type": "string", "nullable": true }, "rank": { "type": "string", "nullable": true }, "newPackageRank": { "type": "string", "nullable": true }, "rankPlusColor": { "type": "string", "nullable": true }, "monthlyPackageRank": { "type": "string", "nullable": true }, "mostRecentMonthlyPackageRank": { "type": "string", "nullable": true }, "monthlyRankColor": { "type": "string", "nullable": true }, "socialMedia": { "$ref": "#/components/schemas/SocialMediaLinksDto" } }, "additionalProperties": false }, "ProfileDetailsDto": { "type": "object", "properties": { "profileId": { "type": "string" }, "profileName": { "type": "string" }, "gameMode": { "type": "string" }, "selected": { "type": "boolean" }, "bankBalance": { "type": "number", "format": "double" }, "members": { "type": "array", "items": { "$ref": "#/components/schemas/MemberDetailsDto" } } }, "additionalProperties": false }, "ProfileMemberDto": { "type": "object", "properties": { "profileId": { "type": "string" }, "playerUuid": { "type": "string" }, "profileName": { "type": "string" }, "api": { "$ref": "#/components/schemas/ApiAccessDto" }, "skyblockXp": { "type": "integer", "format": "int32" }, "purse": { "type": "number", "format": "double" }, "bankBalance": { "type": "number", "format": "double" }, "collections": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } }, "collectionTiers": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32" } }, "craftedMinions": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32" } }, "pets": { "type": "array", "items": { "$ref": "#/components/schemas/PetDto" } }, "unparsed": { "$ref": "#/components/schemas/UnparsedApiDataDto" }, "jacob": { "$ref": "#/components/schemas/JacobDataDto" }, "farmingWeight": { "$ref": "#/components/schemas/FarmingWeightDto" }, "skills": { "$ref": "#/components/schemas/SkillsDto" }, "isSelected": { "type": "boolean" }, "wasRemoved": { "type": "boolean" }, "lastUpdated": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "PublicGuildDto": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string", "nullable": true }, "banner": { "type": "string", "nullable": true }, "inviteCode": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "memberCount": { "type": "integer", "format": "int32" }, "features": { "$ref": "#/components/schemas/PublicGuildFeaturesDto" } }, "additionalProperties": false }, "PublicGuildFeaturesDto": { "type": "object", "properties": { "jacobLeaderboardEnabled": { "type": "boolean" }, "jacobLeaderboard": { "$ref": "#/components/schemas/PublicJacobLeaderboardFeatureDto" }, "eventsEnabled": { "type": "boolean" }, "eventSettings": { "$ref": "#/components/schemas/GuildEventSettings" } }, "additionalProperties": false }, "PublicJacobLeaderboardDto": { "type": "object", "properties": { "id": { "type": "string" }, "channelId": { "type": "string", "nullable": true }, "startCutoff": { "type": "integer", "format": "int64" }, "endCutoff": { "type": "integer", "format": "int64" }, "title": { "type": "string", "nullable": true }, "active": { "type": "boolean" }, "requiredRole": { "type": "string", "nullable": true }, "blockedRole": { "type": "string", "nullable": true }, "updateChannelId": { "type": "string", "nullable": true }, "updateRoleId": { "type": "string", "nullable": true }, "pingForSmallImprovements": { "type": "boolean" }, "crops": { "$ref": "#/components/schemas/CropRecords" } }, "additionalProperties": false }, "PublicJacobLeaderboardFeatureDto": { "type": "object", "properties": { "maxLeaderboards": { "type": "integer", "format": "int32" }, "blockedRoles": { "type": "array", "items": { "$ref": "#/components/schemas/DiscordRole" } }, "requiredRoles": { "type": "array", "items": { "$ref": "#/components/schemas/DiscordRole" } }, "excludedTimespans": { "type": "array", "items": { "$ref": "#/components/schemas/ExcludedTimespan" } }, "leaderboards": { "type": "array", "items": { "$ref": "#/components/schemas/PublicJacobLeaderboardDto" } } }, "additionalProperties": false }, "RedemptionDto": { "type": "object", "properties": { "itemId": { "type": "string" }, "cost": { "type": "string" }, "timestamp": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "SkillsDataPointDto": { "type": "object", "properties": { "timestamp": { "type": "integer", "format": "int64" }, "skills": { "type": "object", "additionalProperties": { "type": "number", "format": "double" } } }, "additionalProperties": false }, "SkillsDto": { "type": "object", "properties": { "farming": { "type": "number", "format": "double" }, "mining": { "type": "number", "format": "double" }, "combat": { "type": "number", "format": "double" }, "foraging": { "type": "number", "format": "double" }, "fishing": { "type": "number", "format": "double" }, "enchanting": { "type": "number", "format": "double" }, "alchemy": { "type": "number", "format": "double" }, "carpentry": { "type": "number", "format": "double" }, "runecrafting": { "type": "number", "format": "double" }, "taming": { "type": "number", "format": "double" }, "social": { "type": "number", "format": "double" } }, "additionalProperties": false }, "SocialMediaLinksDto": { "type": "object", "properties": { "discord": { "type": "string", "nullable": true }, "hypixel": { "type": "string", "nullable": true }, "youtube": { "type": "string", "nullable": true } }, "additionalProperties": false }, "StrippedContestParticipationDto": { "type": "object", "properties": { "collected": { "type": "integer", "format": "int32" }, "position": { "type": "integer", "format": "int32" }, "medal": { "type": "string", "nullable": true }, "removed": { "type": "boolean" }, "playerUuid": { "type": "string" }, "playerName": { "type": "string" } }, "additionalProperties": false }, "TempStatBuff": { "type": "object", "properties": { "stat": { "type": "integer", "format": "int32" }, "key": { "type": "string", "nullable": true }, "amount": { "type": "integer", "format": "int32" }, "expire_at": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "UnparsedApiDataDto": { "type": "object", "properties": { "perks": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32", "nullable": true }, "nullable": true }, "tempStatBuffs": { "type": "array", "items": { "$ref": "#/components/schemas/TempStatBuff" }, "nullable": true }, "accessoryBagSettings": { "nullable": true }, "bestiary": { "nullable": true } }, "additionalProperties": false }, "UserGuildDto": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string", "nullable": true }, "hasBot": { "type": "boolean" }, "permissions": { "type": "string" } }, "additionalProperties": false }, "VerifiedRoleFeature": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "autoRoles": { "type": "array", "items": { "$ref": "#/components/schemas/AutoRoles" } } }, "additionalProperties": false }, "YearlyContestsDto": { "type": "object", "properties": { "year": { "type": "integer", "format": "int32" }, "count": { "type": "integer", "format": "int32" }, "complete": { "type": "boolean" }, "contests": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } } }, "additionalProperties": false }, "YearlyCropRecordsDto": { "type": "object", "properties": { "year": { "type": "integer", "format": "int32" }, "crops": { "type": "object", "additionalProperties": { "type": "array", "items": { "$ref": "#/components/schemas/ContestParticipationWithTimestampDto" } } } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "http", "description": "Enter Discord Bearer Token", "scheme": "Bearer", "bearerFormat": "JWT" } } }, "security": [ { "Bearer": [ ] } ] }