{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sequin Management Backfills Postgres Databases API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Postgres Databases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Postgres database connections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sequinstream.com/api/postgres_databases"
          },
          "docs": "Lists all Postgres database connections in your account."
        },
        {
          "info": {
            "name": "Create a Postgres database connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sequinstream.com/api/postgres_databases",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new Postgres database connection for Sequin to replicate from."
        },
        {
          "info": {
            "name": "Retrieve a Postgres database connection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sequinstream.com/api/postgres_databases/:id_or_name",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "The ID (UUID) or unique name of the resource."
              }
            ]
          },
          "docs": "Retrieves a Postgres database connection by its ID or name."
        },
        {
          "info": {
            "name": "Update a Postgres database connection",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.sequinstream.com/api/postgres_databases/:id_or_name",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "The ID (UUID) or unique name of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing Postgres database connection."
        },
        {
          "info": {
            "name": "Delete a Postgres database connection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.sequinstream.com/api/postgres_databases/:id_or_name",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "The ID (UUID) or unique name of the resource."
              }
            ]
          },
          "docs": "Deletes a Postgres database connection."
        },
        {
          "info": {
            "name": "Test a Postgres database connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sequinstream.com/api/postgres_databases/:id_or_name/test-connection",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "The ID (UUID) or unique name of the resource."
              }
            ]
          },
          "docs": "Tests connectivity and replication permissions for a database connection."
        },
        {
          "info": {
            "name": "Refresh table cache",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sequinstream.com/api/postgres_databases/:id_or_name/refresh-tables",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "The ID (UUID) or unique name of the resource."
              }
            ]
          },
          "docs": "Refreshes Sequin's cached view of the database's tables and columns."
        }
      ]
    }
  ],
  "bundled": true
}