{
  "openapi": "3.1.1",
  "info": {
    "title": "FunctionalCMS.API | v1",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://api.functional-cms.com/"
    }
  ],
  "paths": {
    "/websites/v1": {
      "get": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/websites/v1/{s0}/pages": {
      "get": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/File"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/websites/v1/{s0}/pages/{s1}": {
      "get": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Stream"
                }
              }
            }
          }
        }
      }
    },
    "/lists/v1/{s0}/{s1}/entities": {
      "get": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/lists/v1/{s0}/{s1}/entities/{s2}": {
      "get": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s2",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/lists/v1/{s0}/{s1}/entity/{s2}": {
      "get": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s2",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s2",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s2",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/lists/v1/{s0}/{s1}": {
      "put": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/files/v1/{s0}": {
      "get": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/files/v1/{s0}/{s1}": {
      "get": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Stream"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "post": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s1",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/messages/v1/{s0}/send": {
      "post": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/messages/v1/{s0}/send-text": {
      "post": {
        "tags": [
          "FunctionalCMS.API"
        ],
        "parameters": [
          {
            "name": "s0",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "File": {
        "type": "object"
      },
      "Stream": {
        "type": "string",
        "format": "binary"
      }
    }
  },
  "tags": [
    {
      "name": "FunctionalCMS.API"
    }
  ]
}