The Tony

The Tony · Actions GPT

API to send suggestions to Lucas Montano

  • POST /Submit a request to the GPT action API
Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "API to send suggestions to Lucas Montano",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://topicsbygpt-vjy3fm6nfa-uc.a.run.app"
    }
  ],
  "paths": {
    "/": {
      "post": {
        "operationId": "sendTopics",
        "summary": "Submit a request to the GPT action API",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "content": {
                    "type": "string"
                  },
                  "link": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "result": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "headers": {
          "content-length": {
            "schema": {
              "type": "string"
            }
          },
          "content-type": {
            "schema": {
              "type": "string"
            },
            "example": "application/json; charset=utf-8"
          },
          "dca-filename": {
            "schema": {
              "type": "string"
            }
          },
          "dca-response-id": {
            "schema": {
              "type": "string"
            }
          },
          "Authorization": {
            "schema": {
              "type": "string"
            }
          },
          "content-encoding": {
            "schema": {
              "type": "string"
            }
          },
          "dca-dataset": {
            "schema": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}