Skip to content

Commit 05520cb

Browse files
authored
Improve "New submission" and "Task fulfilled" triggers (#3659)
1 parent 156f53f commit 05520cb

File tree

1 file changed

+37
-4
lines changed

1 file changed

+37
-4
lines changed

certified-connectors/MoreApp Forms/apiDefinition.swagger.json

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,15 @@
9494
"properties": {
9595
"data": {
9696
"type": "object",
97-
"properties": {},
98-
"description": "Form data"
97+
"x-ms-dynamic-schema": {
98+
"operationId": "GetFormVersion",
99+
"value-path": "schema",
100+
"parameters": {
101+
"formId": {
102+
"parameter": "formId"
103+
}
104+
}
105+
}
99106
},
100107
"meta": {
101108
"type": "object",
@@ -228,6 +235,19 @@
228235
"operationId": "NewSubmission",
229236
"x-ms-trigger": "single",
230237
"parameters": [
238+
{
239+
"name": "formId",
240+
"description": "Form",
241+
"in": "header",
242+
"required": false,
243+
"type": "string",
244+
"x-ms-summary": "Form",
245+
"x-ms-dynamic-values": {
246+
"operationId": "ListForms",
247+
"value-path": "id",
248+
"value-title": "meta/name"
249+
}
250+
},
231251
{
232252
"name": "body",
233253
"in": "body",
@@ -337,6 +357,19 @@
337357
"operationId": "TaskFulfilled",
338358
"x-ms-trigger": "single",
339359
"parameters": [
360+
{
361+
"name": "formId",
362+
"description": "Form",
363+
"in": "header",
364+
"required": false,
365+
"type": "string",
366+
"x-ms-summary": "Form",
367+
"x-ms-dynamic-values": {
368+
"operationId": "ListForms",
369+
"value-path": "id",
370+
"value-title": "meta/name"
371+
}
372+
},
340373
{
341374
"name": "body",
342375
"in": "body",
@@ -564,7 +597,7 @@
564597
}
565598
}
566599
},
567-
"summary": "Download File",
600+
"summary": "Download file",
568601
"description": "Downloads a file.",
569602
"operationId": "DownloadFile",
570603
"parameters": [
@@ -589,7 +622,7 @@
589622
}
590623
}
591624
},
592-
"summary": "Download Report",
625+
"summary": "Download report",
593626
"operationId": "DownloadReport",
594627
"parameters": [
595628
{

0 commit comments

Comments
 (0)