Title Generator

Title Generator · Ações GPT

Title Suggestion API

API for getting suggested titles based on a search term

  • POST /api/suggested_titlesGet Suggested Titles

    Returns a list of suggested titles based on the provided search term

Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "Title Suggestion API",
    "description": "API for getting suggested titles based on a search term",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://tpeak1.ue.r.appspot.com"
    }
  ],
  "paths": {
    "/api/suggested_titles": {
      "post": {
        "operationId": "getSuggestedTitles",
        "summary": "Get Suggested Titles",
        "description": "Returns a list of suggested titles based on the provided search term",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "search": {
                    "type": "string",
                    "description": "Search term to get suggestions for"
                  }
                },
                "required": [
                  "search"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "suggestions": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}