Skip to content

Commit 25ff5bd

Browse files
author
github-actions
committed
Update REST API documentation Sat Apr 19 15:28:49 UTC 2025
1 parent f385a3b commit 25ff5bd

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

restapi.json

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@
8989
"application/json": {
9090
"schema": {
9191
"properties": {
92+
"template_id": {
93+
"type": "integer",
94+
"example": 1
95+
},
9296
"message_content": {
9397
"properties": {
9498
"subject": {
@@ -153,6 +157,11 @@
153157
},
154158
"message_schedule": {
155159
"properties": {
160+
"embargo": {
161+
"type": "string",
162+
"format": "date-time",
163+
"example": "2025-04-17 09:00:00"
164+
},
156165
"repeat_interval": {
157166
"type": "string",
158167
"example": "24 hours"
@@ -188,10 +197,6 @@
188197
"type": "string",
189198
"example": "[email protected]"
190199
},
191-
"embargo": {
192-
"type": "string",
193-
"example": "2025-04-17 09:00:00"
194-
},
195200
"user_selection": {
196201
"type": "string",
197202
"example": "all-active-users"
@@ -256,6 +261,15 @@
256261
"schema": {
257262
"type": "string"
258263
}
264+
},
265+
{
266+
"name": "messageId",
267+
"in": "path",
268+
"description": "message ID",
269+
"required": true,
270+
"schema": {
271+
"type": "string"
272+
}
259273
}
260274
],
261275
"responses": {
@@ -1549,6 +1563,11 @@
15491563
"type": "string",
15501564
"format": "date-time",
15511565
"nullable": true
1566+
},
1567+
"embargo": {
1568+
"type": "string",
1569+
"example": "2023-01-01T12:00:00Z",
1570+
"nullable": true
15521571
}
15531572
},
15541573
"type": "object"
@@ -1569,11 +1588,6 @@
15691588
"type": "string",
15701589
"nullable": true
15711590
},
1572-
"embargo": {
1573-
"type": "string",
1574-
"example": "2023-01-01T12:00:00Z",
1575-
"nullable": true
1576-
},
15771591
"user_selection": {
15781592
"type": "string",
15791593
"nullable": true

0 commit comments

Comments
 (0)