[GH-ISSUE #65] [FR] Variables for the Webhook Body #54

Closed
opened 2026-02-26 21:34:13 +03:00 by kerem · 1 comment
Owner

Originally created by @quorn23 on GitHub (Dec 8, 2024).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/65

Would be great to have some variables available for the Webhooks.

iE DB Name, Backup Size, Duration etc. Basically what the "Executions" page provides.

This way we can have it dynamically filled out.

Thanks for consideration.

Edit to add an example:

  "embeds": [
    {
      "title": "✅ Database Backup Successful",
      "description": "The database backup has completed successfully.",
      "color": 3066993,
      "fields": [
        {
          "name": "Database Name",
          "value": "$databasename",
          "inline": true
        },
        {
          "name": "Backup Size",
          "value": "$size",
          "inline": true
        },
        {
          "name": "Duration",
          "value": "$duration",
          "inline": true
        }
      ],
      "footer": {
        "text": "Backup System",
        "icon_url": "https://example.com/img/postgres.png"
      }
    }
  ]
}
Originally created by @quorn23 on GitHub (Dec 8, 2024). Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/65 Would be great to have some variables available for the Webhooks. iE DB Name, Backup Size, Duration etc. Basically what the "Executions" page provides. This way we can have it dynamically filled out. Thanks for consideration. Edit to add an example: ```{ "embeds": [ { "title": "✅ Database Backup Successful", "description": "The database backup has completed successfully.", "color": 3066993, "fields": [ { "name": "Database Name", "value": "$databasename", "inline": true }, { "name": "Backup Size", "value": "$size", "inline": true }, { "name": "Duration", "value": "$duration", "inline": true } ], "footer": { "text": "Backup System", "icon_url": "https://example.com/img/postgres.png" } } ] }
kerem closed this issue 2026-02-26 21:34:13 +03:00
Author
Owner

@eduardolat commented on GitHub (Apr 7, 2025):

This is a duplicate of #46 and will be added in future releases

<!-- gh-comment-id:2783985538 --> @eduardolat commented on GitHub (Apr 7, 2025): This is a duplicate of #46 and will be added in future releases
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pgbackweb#54
No description provided.