FANZAマスター【漫画】

FANZAマスター【漫画】 · GPT-Aktionen

Connecting to CloudFlare Workers

API to interact with a specific CloudFlare Worker with API key authentication. It now includes functionality to use the user's text message as a search keyword.

  • GET /DMMAPI Endpoint
Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Connecting to CloudFlare Workers",
    "description": "API to interact with a specific CloudFlare Worker with API key authentication. It now includes functionality to use the user's text message as a search keyword.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://dmm.alice731.workers.dev/"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "summary": "DMMAPI Endpoint",
        "operationId": "DMMAPI",
        "parameters": [
          {
            "name": "site",
            "in": "query",
            "description": "Category ID of the large segment",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "FANZA"
              ]
            }
          },
          {
            "name": "service",
            "in": "query",
            "description": "Category ID of the Medium segment",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "doujin",
                "ebook"
              ]
            }
          },
          {
            "name": "floor",
            "in": "query",
            "description": "Category ID of the small segment",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "digital_doujin",
                "comic"
              ]
            }
          },
          {
            "name": "hits",
            "in": "query",
            "description": "Number of items per page for pagination",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 3
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Offset for pagination, specifies where to start searching from in the dataset",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 3
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "User's text message as a search keyword",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "Successful operation"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "APIKEY"
      }
    },
    "schemas": {}
  }
}