Docker Compose bot + Google Api
Build App / Build (push) Failing after 3s

This commit is contained in:
2026-08-06 16:23:50 +02:00
parent c9a3c252e1
commit 937b8554dd
44 changed files with 3360 additions and 74 deletions
+398 -1
View File
@@ -6,7 +6,7 @@
},
"servers": [
{
"url": "http://localhost:5000/"
"url": "http://localhost:5055/"
}
],
"paths": {
@@ -440,6 +440,87 @@
}
}
},
"/api/Sheets/Config": {
"get": {
"tags": [
"Sheets"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SheetsConfigDTO"
}
}
}
}
}
}
},
"/api/Sheets/Export": {
"post": {
"tags": [
"Sheets"
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/SheetExportRequestDTO"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/SheetExportRequestDTO"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/SheetExportRequestDTO"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/SheetExportRequestDTO"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SheetExportResultDTO"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/json": { }
}
},
"502": {
"description": "Bad Gateway",
"content": {
"application/json": { }
}
},
"503": {
"description": "Service Unavailable",
"content": {
"application/json": { }
}
}
}
}
},
"/api/Statistics/Matches": {
"post": {
"tags": [
@@ -500,6 +581,67 @@
}
}
},
"/api/Statistics/Players": {
"get": {
"tags": [
"Statistics"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PlayerOptionDTO"
}
}
}
}
}
}
}
},
"/api/Statistics/Versus/{playerAId}/{playerBId}": {
"get": {
"tags": [
"Statistics"
],
"parameters": [
{
"name": "playerAId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "playerBId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PlayerVersusDTO"
}
}
}
}
}
}
},
"/api/Todo": {
"post": {
"tags": [
@@ -1578,6 +1720,71 @@
}
}
},
"PlayerOptionDTO": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"sets": {
"type": "integer",
"format": "int32"
}
}
},
"PlayerVersusDTO": {
"type": "object",
"properties": {
"playerAId": {
"type": "integer",
"format": "int32"
},
"playerA": {
"type": "string",
"nullable": true
},
"playerBId": {
"type": "integer",
"format": "int32"
},
"playerB": {
"type": "string",
"nullable": true
},
"sets": {
"type": "integer",
"format": "int32"
},
"decidedSets": {
"type": "integer",
"format": "int32"
},
"winsA": {
"type": "integer",
"format": "int32"
},
"winsB": {
"type": "integer",
"format": "int32"
},
"unknownGameSets": {
"type": "integer",
"format": "int32"
},
"games": {
"type": "array",
"items": {
"$ref": "#/components/schemas/VersusGameStatsDTO"
},
"nullable": true
}
}
},
"ResultDTO": {
"type": "object",
"properties": {
@@ -1607,6 +1814,152 @@
}
}
},
"SheetExportRequestDTO": {
"type": "object",
"properties": {
"tabs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SheetTableDTO"
},
"nullable": true
}
}
},
"SheetExportResultDTO": {
"type": "object",
"properties": {
"spreadsheetId": {
"type": "string",
"nullable": true
},
"spreadsheetUrl": {
"type": "string",
"nullable": true
},
"writer": {
"type": "string",
"nullable": true
},
"tabs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SheetTabResultDTO"
},
"nullable": true
},
"warnings": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
}
},
"SheetRowDTO": {
"type": "object",
"properties": {
"player": {
"type": "string",
"nullable": true
},
"points": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"total": {
"type": "integer",
"format": "int32"
}
}
},
"SheetsConfigDTO": {
"type": "object",
"properties": {
"writer": {
"type": "string",
"nullable": true
},
"configured": {
"type": "boolean"
},
"spreadsheetId": {
"type": "string",
"nullable": true
},
"maxTabs": {
"type": "integer",
"format": "int32"
},
"maxRowsPerTab": {
"type": "integer",
"format": "int32"
}
}
},
"SheetTableDTO": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"eventId": {
"type": "integer",
"format": "int32"
},
"header": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SheetRowDTO"
},
"nullable": true
},
"footer": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
}
},
"SheetTabResultDTO": {
"type": "object",
"properties": {
"requestedName": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"rows": {
"type": "integer",
"format": "int32"
},
"columns": {
"type": "integer",
"format": "int32"
},
"created": {
"type": "boolean"
}
}
},
"TimeRangeDTO": {
"type": "object",
"properties": {
@@ -1709,6 +2062,47 @@
}
}
},
"VersusGameStatsDTO": {
"type": "object",
"properties": {
"gameId": {
"type": "integer",
"format": "int32"
},
"game": {
"type": "string",
"nullable": true
},
"gameLongName": {
"type": "string",
"nullable": true
},
"sets": {
"type": "integer",
"format": "int32"
},
"decidedSets": {
"type": "integer",
"format": "int32"
},
"winsA": {
"type": "integer",
"format": "int32"
},
"winsB": {
"type": "integer",
"format": "int32"
},
"gamesWonA": {
"type": "integer",
"format": "int32"
},
"gamesWonB": {
"type": "integer",
"format": "int32"
}
}
},
"WPBooking": {
"type": "object",
"properties": {
@@ -1905,6 +2299,9 @@
{
"name": "Game"
},
{
"name": "Sheets"
},
{
"name": "Statistics"
},