Workspace Wizard

Workspace Wizard · GPT 작업

search and update file data using Script API

  • GET /macros/s/AKfycbwDPJ5R0Nlg-hnfhCtGAmjq47HDXeiClMtANKpa8AY7rBEiRPpxaQZNGMYdWjmbEc2JSQ/execgetData
  • POST /macros/s/AKfycbwDPJ5R0Nlg-hnfhCtGAmjq47HDXeiClMtANKpa8AY7rBEiRPpxaQZNGMYdWjmbEc2JSQ/execpostData

    将修改过的数据提交到文件

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "search and update file data using Script API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://script.google.com"
    }
  ],
  "paths": {
    "/macros/s/AKfycbwDPJ5R0Nlg-hnfhCtGAmjq47HDXeiClMtANKpa8AY7rBEiRPpxaQZNGMYdWjmbEc2JSQ/exec": {
      "get": {
        "operationId": "getData",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postData",
        "description": "将修改过的数据提交到文件",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "POST request received",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "POST request received successfully."
                }
              }
            }
          }
        }
      }
    }
  }
}