Skip to content

Commit b4715af

Browse files
update version and re-order requests (#4065)
Co-authored-by: APhanSpAARC <A.Phan@fugro.com>
1 parent c9c5cf2 commit b4715af

File tree

1 file changed

+64
-81
lines changed

1 file changed

+64
-81
lines changed

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

Lines changed: 64 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Team Forms",
55
"description": "Teams Forms brings digital forms into Microsoft Teams. The software will empower your teams to build and deliver forms from within the productivity tools that they already know and trust. Unlike many other forms solutions on the market, Team Forms talks directly with your Teams SharePoint so that data captured by forms remains in your ownership and never leaves your trusted office 365 environment.",
6-
"version": "1.1.0",
6+
"version": "1.1.1",
77
"termsOfService": "https://teamforms.app/terms",
88
"contact": {
99
"name": "Team Forms",
@@ -13,9 +13,7 @@
1313
},
1414
"host": "api.teamforms.app",
1515
"basePath": "/",
16-
"schemes": [
17-
"https"
18-
],
16+
"schemes": ["https"],
1917
"consumes": [],
2018
"produces": [],
2119
"paths": {
@@ -215,6 +213,52 @@
215213
"$ref": "#/definitions/dynamicResponseSchema"
216214
}
217215
},
216+
"delete": {
217+
"responses": {
218+
"200": {
219+
"description": "OK",
220+
"schema": {
221+
"type": "object",
222+
"properties": {
223+
"status": {
224+
"type": "string",
225+
"description": "status"
226+
}
227+
}
228+
}
229+
}
230+
},
231+
"summary": "Delete a subscription",
232+
"description": "Internal operation used to delete Webhook if the hook is edited or deleted",
233+
"operationId": "UnsubscribeResponse",
234+
"parameters": [
235+
{
236+
"name": "groupId",
237+
"in": "query",
238+
"type": "string",
239+
"description": "",
240+
"required": true
241+
},
242+
{
243+
"name": "formId",
244+
"in": "query",
245+
"type": "string"
246+
},
247+
{
248+
"name": "webHookId",
249+
"in": "query",
250+
"required": false,
251+
"type": "string"
252+
},
253+
{
254+
"name": "origin",
255+
"in": "query",
256+
"required": false,
257+
"type": "string"
258+
}
259+
],
260+
"x-ms-visibility": "internal"
261+
},
218262
"post": {
219263
"responses": {
220264
"201": {
@@ -227,9 +271,7 @@
227271
"operationId": "SubscribeResponse",
228272
"x-ms-visibility": "important",
229273
"x-ms-trigger": "single",
230-
"consumes": [
231-
"application/json"
232-
],
274+
"consumes": ["application/json"],
233275
"parameters": [
234276
{
235277
"$ref": "#/parameters/groupId"
@@ -271,12 +313,18 @@
271313
"x-ms-notification-url": true
272314
}
273315
},
274-
"required": [
275-
"webHookUrl"
276-
]
316+
"required": ["webHookUrl"]
277317
}
278318
}
279319
]
320+
}
321+
},
322+
"/response-deletion-subscription": {
323+
"x-ms-notification-content": {
324+
"description": "Webhook response",
325+
"schema": {
326+
"$ref": "#/definitions/dynamicResponseSchema"
327+
}
280328
},
281329
"delete": {
282330
"responses": {
@@ -295,7 +343,7 @@
295343
},
296344
"summary": "Delete a subscription",
297345
"description": "Internal operation used to delete Webhook if the hook is edited or deleted",
298-
"operationId": "UnsubscribeResponse",
346+
"operationId": "UnsubscribeResponseDeletion",
299347
"parameters": [
300348
{
301349
"name": "groupId",
@@ -323,14 +371,6 @@
323371
}
324372
],
325373
"x-ms-visibility": "internal"
326-
}
327-
},
328-
"/response-deletion-subscription": {
329-
"x-ms-notification-content": {
330-
"description": "Webhook response",
331-
"schema": {
332-
"$ref": "#/definitions/dynamicResponseSchema"
333-
}
334374
},
335375
"post": {
336376
"responses": {
@@ -344,9 +384,7 @@
344384
"operationId": "SubscribeResponseDeletion",
345385
"x-ms-visibility": "important",
346386
"x-ms-trigger": "single",
347-
"consumes": [
348-
"application/json"
349-
],
387+
"consumes": ["application/json"],
350388
"parameters": [
351389
{
352390
"$ref": "#/parameters/groupId"
@@ -382,58 +420,10 @@
382420
"x-ms-notification-url": true
383421
}
384422
},
385-
"required": [
386-
"webHookUrl"
387-
]
423+
"required": ["webHookUrl"]
388424
}
389425
}
390426
]
391-
},
392-
"delete": {
393-
"responses": {
394-
"200": {
395-
"description": "OK",
396-
"schema": {
397-
"type": "object",
398-
"properties": {
399-
"status": {
400-
"type": "string",
401-
"description": "status"
402-
}
403-
}
404-
}
405-
}
406-
},
407-
"summary": "Delete a subscription",
408-
"description": "Internal operation used to delete Webhook if the hook is edited or deleted",
409-
"operationId": "UnsubscribeResponseDeletion",
410-
"parameters": [
411-
{
412-
"name": "groupId",
413-
"in": "query",
414-
"type": "string",
415-
"description": "",
416-
"required": true
417-
},
418-
{
419-
"name": "formId",
420-
"in": "query",
421-
"type": "string"
422-
},
423-
{
424-
"name": "webHookId",
425-
"in": "query",
426-
"required": false,
427-
"type": "string"
428-
},
429-
{
430-
"name": "origin",
431-
"in": "query",
432-
"required": false,
433-
"type": "string"
434-
}
435-
],
436-
"x-ms-visibility": "internal"
437427
}
438428
}
439429
},
@@ -795,22 +785,15 @@
795785
"in": "query",
796786
"type": "string",
797787
"description": "Types of events to trigger this workflow. Submitted and Resubmitted by default",
798-
"enum": [
799-
"Submitted",
800-
"Resubmitted",
801-
"Submitted and Resubmitted"
802-
],
788+
"enum": ["Submitted", "Resubmitted", "Submitted and Resubmitted"],
803789
"x-ms-summary": "Triggers",
804790
"x-ms-visibility": "advanced"
805791
},
806792
"environment": {
807793
"name": "environment",
808794
"in": "query",
809795
"type": "string",
810-
"enum": [
811-
"draft",
812-
"published"
813-
],
796+
"enum": ["draft", "published"],
814797
"description": "The environment to set.",
815798
"required": false,
816799
"x-ms-summary": "Environment",
@@ -822,7 +805,7 @@
822805
"oauth2_auth": {
823806
"type": "oauth2",
824807
"flow": "accessCode",
825-
"authorizationUrl": "https://login.windows.net/common/oauth2/authorize",
808+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
826809
"tokenUrl": "https://login.windows.net/common/oauth2/authorize",
827810
"scopes": {}
828811
}

0 commit comments

Comments
 (0)