Skip to content

Commit 70b2bc7

Browse files
committed
Replace dates with variables
1 parent 05a6644 commit 70b2bc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sites/platform/src/development/email-observability.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ curl "https://sendgrid.pltfrm.sh/api/v1/sendgrid/messages/get/platformsh-auth/{{
4444
Example filtering by a specific month:
4545

4646
```bash
47-
curl "https://sendgrid.pltfrm.sh/api/v1/sendgrid/messages/get/platformsh-auth/{{< variable "PROJECT_ID" >}}?from_date=2026-03-01&to_date=2026-03-31&limit=50" \
47+
curl "https://sendgrid.pltfrm.sh/api/v1/sendgrid/messages/get/platformsh-auth/{{< variable "PROJECT_ID" >}}?from_date={{< variable "FROM_DATE" "YYYY-MM-DD" >}}&to_date={{< variable "TO_DATE" "YYYY-MM-DD" >}}&limit=50" \
4848
-H "Authorization: Bearer {{< variable "ACCESS_TOKEN" >}}" \
4949
-H "accept: application/json" | jq '.'
5050
```
@@ -101,7 +101,7 @@ curl "https://sendgrid.pltfrm.sh/api/v1/sendgrid/stats/platformsh-auth/{{< varia
101101
Example narrowing the range to a specific month:
102102

103103
```bash
104-
curl "https://sendgrid.pltfrm.sh/api/v1/sendgrid/stats/platformsh-auth/{{< variable "PROJECT_ID" >}}?start_date=2026-03-01&end_date=2026-03-31" \
104+
curl "https://sendgrid.pltfrm.sh/api/v1/sendgrid/stats/platformsh-auth/{{< variable "PROJECT_ID" >}}?start_date={{< variable "START_DATE" "YYYY-MM-DD" >}}&end_date={{< variable "END_DATE" "YYYY-MM-DD" >}}" \
105105
-H "Authorization: Bearer {{< variable "ACCESS_TOKEN" >}}" \
106106
-H "accept: application/json" | jq '.'
107107
```

0 commit comments

Comments
 (0)