Bible Visualizer

Bible Visualizer · GPT Actions

Bible API

API for accessing public domain Bible translations.

  • GET /{BOOK}+{CHAPTER}:{VERSE}Get Bible Verse
原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "Bible API",
    "description": "API for accessing public domain Bible translations.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://bible-api.com"
    }
  ],
  "paths": {
    "/{BOOK}+{CHAPTER}:{VERSE}": {
      "get": {
        "operationId": "getBibleVerse",
        "summary": "Get Bible Verse",
        "parameters": [
          {
            "name": "BOOK",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CHAPTER",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "VERSE",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "reference": {
                      "type": "string"
                    },
                    "verses": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "book_id": {
                            "type": "string"
                          },
                          "book_name": {
                            "type": "string"
                          },
                          "chapter": {
                            "type": "integer"
                          },
                          "verse": {
                            "type": "integer"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "text": {
                      "type": "string"
                    },
                    "translation_id": {
                      "type": "string"
                    },
                    "translation_name": {
                      "type": "string"
                    },
                    "translation_note": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}