6Ps: Pathway Edition

6Ps: Pathway Edition · GPT Actions

6PsGame

6Ps Game

  • GET /6Ps/problemReturns a randomly selected global world problem.
  • GET /6Ps/emTechGet help for the assistant based on the last emTech used by the player
原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "6PsGame",
    "description": "6Ps Game",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.warmersun.com"
    }
  ],
  "paths": {
    "/6Ps/problem": {
      "get": {
        "operationId": "getProblem",
        "summary": "Returns a randomly selected global world problem.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "parameters": []
      }
    },
    "/6Ps/emTech": {
      "get": {
        "operationId": "getNextEmTech",
        "summary": "Get help for the assistant based on the last emTech used by the player",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "parameters": [
          {
            "name": "lastEmTechUsed",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "ai",
                "robots",
                "network",
                "transportation",
                "iot",
                "3dprinting",
                "synbio",
                "arvr",
                "computing",
                "energy",
                "crypto"
              ]
            }
          }
        ]
      }
    }
  }
}