---
agentTools:
  projectIndex: https://dubble.readme.io/llms.txt
---

# Get guide as HTML

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Dubble Public API",
    "version": "1.0.0",
    "description": "API for managing collections and guides in Dubble"
  },
  "servers": [
    {
      "url": "https://api.dubble.so/v1"
    }
  ],
  "paths": {
    "/guides/{guideId}/html": {
      "get": {
        "summary": "Get guide as HTML",
        "operationId": "getGuideHtml",
        "tags": [
          "Guides"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/guideId"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "guide_id": {
                          "type": "string",
                          "description": "Unique identifier for the guide"
                        },
                        "html": {
                          "type": "string",
                          "description": "The HTML content of the guide"
                        }
                      },
                      "required": [
                        "guide_id",
                        "html"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/Throttled"
          },
          "5XX": {
            "$ref": "#/components/responses/Unexpected"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "guideId": {
        "name": "guideId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        },
        "description": "The ID of the Guide",
        "example": "7bf9nseqjhkma9xwag08"
      }
    },
    "responses": {
      "NotFound": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "allOf": [
                {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "error"
                      ],
                      "example": "error"
                    },
                    "message": {
                      "type": "string",
                      "description": "An error message.",
                      "example": "Invalid request"
                    },
                    "details": {
                      "type": "array",
                      "description": "Suggested actions to resolve the error.",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                {
                  "properties": {
                    "error_type": {
                      "type": "string",
                      "enum": [
                        "not_found"
                      ],
                      "description": "The requested resource was not found."
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "allOf": [
                {
                  "$ref": "#/components/responses/NotFound/content/application~1json/schema/allOf/0"
                },
                {
                  "properties": {
                    "error_type": {
                      "type": "string",
                      "enum": [
                        "authentication"
                      ],
                      "description": "Token not provided for not valid."
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "Forbidden": {
        "description": "Not Permitted",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "allOf": [
                {
                  "$ref": "#/components/responses/NotFound/content/application~1json/schema/allOf/0"
                },
                {
                  "properties": {
                    "error_type": {
                      "type": "string",
                      "enum": [
                        "permission"
                      ],
                      "description": "Not permitted to access requested resource."
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "Unexpected": {
        "description": "Unexpected Error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "allOf": [
                {
                  "$ref": "#/components/responses/NotFound/content/application~1json/schema/allOf/0"
                },
                {
                  "properties": {
                    "error_type": {
                      "type": "string",
                      "enum": [
                        "server_error"
                      ],
                      "description": "An unexpected error."
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "Throttled": {
        "description": "Too Many Requests",
        "content": {
          "text/html": {
            "schema": {
              "type": "string",
              "enum": [
                "Too many requests."
              ]
            }
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 180,
      "2": 101,
      "3": 211,
      "4": 66,
      "5": 42,
      "6": 91,
      "7": 0,
      "8": 54,
      "9": 141,
      "10": 113,
      "11": 156
    }
  }
}
```