全言語対応!専属外国語教師

全言語対応!専属外国語教師 · Acciones GPT

User Register API

API for sending name and password for register.

  • POST /macros/s/AKfycbxccnEU-p60hxpdnysYFaKqzzBHLwP3LFQxo9pdRmQPUVxVfEQCfQFl4G64RKduXRgS/execRegister User
  • POST /macros/s/AKfycbzwRAi9ClAS4ahRkvhvZt8eRTZHrlnsdggzJu3XuVqR3zyu0IyACW5og6stqyrGx_Rx/execTravel Login
  • POST /macros/s/AKfycbyH4qxJQIK6YW1Rwi2uu_lss3EyJ3s0TgD7IG_WG6tX0VQ6-3A1oCtOI1aWbLDKvsiylA/execSave or Update Language Profile
Esquema original API
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "User Register API",
    "description": "API for sending name and password for register."
  },
  "servers": [
    {
      "url": "https://script.google.com"
    }
  ],
  "paths": {
    "/macros/s/AKfycbxccnEU-p60hxpdnysYFaKqzzBHLwP3LFQxo9pdRmQPUVxVfEQCfQFl4G64RKduXRgS/exec": {
      "post": {
        "summary": "Register User",
        "operationId": "RegisterUser",
        "tags": [
          "user"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "password"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Register successful",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/macros/s/AKfycbzwRAi9ClAS4ahRkvhvZt8eRTZHrlnsdggzJu3XuVqR3zyu0IyACW5og6stqyrGx_Rx/exec": {
      "post": {
        "summary": "Travel Login",
        "operationId": "TravelLogin",
        "tags": [
          "travel"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "password"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Login successful",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/macros/s/AKfycbyH4qxJQIK6YW1Rwi2uu_lss3EyJ3s0TgD7IG_WG6tX0VQ6-3A1oCtOI1aWbLDKvsiylA/exec": {
      "post": {
        "summary": "Save or Update Language Profile",
        "operationId": "SaveLanguageProfile",
        "tags": [
          "language"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token",
                  "languages"
                ],
                "properties": {
                  "token": {
                    "type": "string"
                  },
                  "languages": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "language",
                        "level"
                      ],
                      "properties": {
                        "language": {
                          "type": "string"
                        },
                        "level": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Language profile saved or updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}