{
  "openapi": "3.1.0",
  "info": {
    "title": "Marked Publish API",
    "version": "0.1.0"
  },
  "servers": [
    {
      "url": "/"
    }
  ],
  "paths": {
    "/health/live": {
      "get": {
        "operationId": "getLiveness"
      }
    },
    "/health/ready": {
      "get": {
        "operationId": "getReadiness"
      }
    },
    "/explore": {
      "get": {
        "operationId": "listPublicSites"
      }
    },
    "/api/v1/sites": {
      "post": {
        "operationId": "createSiteVersion",
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/api/v1/sites/{slug}/versions/{versionId}/files/{path}": {
      "put": {
        "operationId": "uploadSiteFile",
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/api/v1/sites/{slug}/finalize": {
      "post": {
        "operationId": "finalizeSiteVersion",
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/api/v1/sites/{slug}/access": {
      "put": {
        "operationId": "updateSiteAccess",
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/s/{slug}/{path}": {
      "get": {
        "operationId": "getPublishedFile"
      }
    },
    "/s/{slug}/unlock": {
      "post": {
        "operationId": "unlockPrivateSite"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}
