{
  "opencollection": "1.0.0",
  "info": {
    "name": "Windmill admin postgres_trigger API",
    "version": "1.694.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "postgres_trigger",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Postgres Version",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/postgres/version/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Postgres Version"
        },
        {
          "info": {
            "name": "Check if Postgres Configuration is Set to Logical",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/is_valid_postgres_configuration/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Check if Postgres Configuration is Set to Logical"
        },
        {
          "info": {
            "name": "Create Template Script",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/postgres_triggers/create_template_script",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Template Script"
        },
        {
          "info": {
            "name": "Get Template Script",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/get_template_script/:id",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Template Script"
        },
        {
          "info": {
            "name": "List Postgres Replication Slot",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/slot/list/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Postgres Replication Slot"
        },
        {
          "info": {
            "name": "Create Replication Slot for Postgres",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/postgres_triggers/slot/create/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Replication Slot for Postgres"
        },
        {
          "info": {
            "name": "Delete Postgres Replication Slot",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/w/:workspace/postgres_triggers/slot/delete/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete Postgres Replication Slot"
        },
        {
          "info": {
            "name": "List Postgres Publication",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/publication/list/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Postgres Publication"
        },
        {
          "info": {
            "name": "Get Postgres Publication",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/publication/get/:publication/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              },
              {
                "name": "publication",
                "value": "",
                "type": "path",
                "description": "The name of the publication"
              }
            ]
          },
          "docs": "Get Postgres Publication"
        },
        {
          "info": {
            "name": "Create Publication for Postgres",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/postgres_triggers/publication/create/:publication/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              },
              {
                "name": "publication",
                "value": "",
                "type": "path",
                "description": "The name of the publication"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Publication for Postgres"
        },
        {
          "info": {
            "name": "Update Publication for Postgres",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/postgres_triggers/publication/update/:publication/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              },
              {
                "name": "publication",
                "value": "",
                "type": "path",
                "description": "The name of the publication"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Publication for Postgres"
        },
        {
          "info": {
            "name": "Delete Postgres Publication",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/w/:workspace/postgres_triggers/publication/delete/:publication/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              },
              {
                "name": "publication",
                "value": "",
                "type": "path",
                "description": "The name of the publication"
              }
            ]
          },
          "docs": "Delete Postgres Publication"
        },
        {
          "info": {
            "name": "Create Postgres Trigger",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/postgres_triggers/create",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Postgres Trigger"
        },
        {
          "info": {
            "name": "Update Postgres Trigger",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/postgres_triggers/update/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Postgres Trigger"
        },
        {
          "info": {
            "name": "Delete Postgres Trigger",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/w/:workspace/postgres_triggers/delete/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Postgres Trigger"
        },
        {
          "info": {
            "name": "Get Postgres Trigger",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/get/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Postgres Trigger"
        },
        {
          "info": {
            "name": "List Postgres Triggers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/list",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "which page to return (start at 1, default 1)"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "number of items to return for a given page (default 30, max 100)"
              },
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "filter by path"
              },
              {
                "name": "is_flow",
                "value": "",
                "type": "query"
              },
              {
                "name": "path_start",
                "value": "",
                "type": "query"
              },
              {
                "name": "label",
                "value": "",
                "type": "query",
                "description": "Filter by label"
              }
            ]
          },
          "docs": "List Postgres Triggers"
        },
        {
          "info": {
            "name": "Does Postgres Trigger Exists",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/postgres_triggers/exists/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Does Postgres Trigger Exists"
        },
        {
          "info": {
            "name": "Set Enabled Postgres Trigger",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/postgres_triggers/setmode/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Set Enabled Postgres Trigger"
        },
        {
          "info": {
            "name": "Test Postgres Connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/postgres_triggers/test",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Test Postgres Connection"
        }
      ]
    }
  ],
  "bundled": true
}