--- openapi: 3.0.2 info: title: Game Season API description: https://github.com/ergofriend/game-season-api version: '1.0' servers: - url: https://game-season-api.kasu.dev description: Production paths: "/apex/current": get: tags: - Apex Legends summary: Get Current Season operationId: apex-legends-current-season parameters: [] responses: '200': description: Successful Response content: application/json: schema: type: object properties: season: type: object properties: number: type: integer example: 15 name: type: string example: Eclipse start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' split: type: string example: '2021-06-08T00:00:00Z' required: - number - name - start - end progress: type: object properties: split: type: integer example: 2 splitProgress: type: string example: '30.4' seasonProgress: type: string example: '73.2' required: - seasonProgress required: - season - progress '410': description: Not found current season content: application/json: schema: type: object properties: message: type: string example: Not found current season required: - message "/apex/history": get: tags: - Apex Legends summary: Get Season History operationId: apex-legends-season-history parameters: [] responses: '200': description: Successful Response content: application/json: schema: type: object properties: history: type: array items: type: object properties: number: type: integer example: 15 name: type: string example: Eclipse start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' split: type: string example: '2021-06-08T00:00:00Z' required: - number - name - start - end required: - history "/apex/{season}": get: tags: - Apex Legends summary: Get Season operationId: apex-legends-get-season parameters: - description: Season number required: true schema: type: number description: Season number name: season in: path responses: '200': description: Successful Response content: application/json: schema: type: object properties: season: type: object properties: number: type: integer example: 15 name: type: string example: Eclipse start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' split: type: string example: '2021-06-08T00:00:00Z' required: - number - name - start - end required: - season '404': description: Not found season content: application/json: schema: type: object properties: message: type: string example: Not found season required: - message "/valorant/current": get: tags: - Valorant summary: Get Current Season operationId: valorant-current-season parameters: [] responses: '200': description: Successful Response content: application/json: schema: type: object properties: season: type: object properties: number: type: integer example: 15 name: type: string example: Eclipse start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' acts: type: array items: type: object properties: number: type: integer example: 15 start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' required: - number - start - end required: - number - name - start - end - acts progress: type: object properties: act: type: integer example: 2 seasonProgress: type: string example: '70' actProgress: type: string example: '89.3' required: - act - seasonProgress - actProgress required: - season - progress '410': description: Not found current season content: application/json: schema: type: object properties: message: type: string example: Not found current season required: - message "/valorant/history": get: tags: - Valorant summary: Get Season History operationId: valorant-season-history parameters: [] responses: '200': description: Successful Response content: application/json: schema: type: object properties: history: type: array items: type: object properties: number: type: integer example: 15 name: type: string example: Eclipse start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' acts: type: array items: type: object properties: number: type: integer example: 15 start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' required: - number - start - end required: - number - name - start - end - acts required: - history "/valorant/{season}": get: tags: - Valorant summary: Get Season operationId: valorant-get-season parameters: - description: Season number required: true schema: type: number description: Season number name: season in: path responses: '200': description: Successful Response content: application/json: schema: type: object properties: season: type: object properties: number: type: integer example: 15 name: type: string example: Eclipse start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' acts: type: array items: type: object properties: number: type: integer example: 15 start: type: string example: '2021-03-09T00:00:00Z' end: type: string example: '2021-06-08T00:00:00Z' required: - number - start - end required: - number - name - start - end - acts required: - season '404': description: Not found season content: application/json: schema: type: object properties: message: type: string example: Not found season required: - message