codeapp-js 0.3.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/AI/codeapp.agent.md +105 -0
  2. package/AI/skills/connections/SKILL.md +47 -0
  3. package/AI/skills/dataverse/SKILL.md +99 -0
  4. package/AI/skills/environment-variables/SKILL.md +89 -0
  5. package/AI/skills/frontend-design/SKILL.md +34 -0
  6. package/AI/skills/jira/SKILL.md +81 -0
  7. package/AI/skills/office365-groups/SKILL.md +61 -0
  8. package/AI/skills/office365-outlook/SKILL.md +52 -0
  9. package/AI/skills/office365-users/SKILL.md +78 -0
  10. package/AI/skills/sharepoint/SKILL.md +77 -0
  11. package/AI/skills/sql/SKILL.md +85 -0
  12. package/AI/skills/start/SKILL.md +46 -0
  13. package/AI/skills/teams/SKILL.md +55 -0
  14. package/{examples/combined demo/.power/schemas/office365groups/office365groups.Schema.json → codeApp/.power/schemas/office365groups/office365groups.Schema.json} +2203 -2203
  15. package/codeApp/dist/codeapp.js +95 -1792
  16. package/codeApp/dist/connectors/azureKeyvault.js +459 -0
  17. package/codeApp/dist/connectors/jira.js +1247 -0
  18. package/codeApp/dist/connectors/office365groups.js +642 -0
  19. package/codeApp/dist/connectors/office365users.js +513 -0
  20. package/codeApp/dist/connectors/outlook.js +1393 -0
  21. package/{dev files/sharepoint.js → codeApp/dist/connectors/sharepoint.js} +239 -112
  22. package/codeApp/dist/connectors/sql.js +149 -0
  23. package/codeApp/dist/connectors/teams.js +280 -0
  24. package/codeApp/dist/power-apps-data.js +16 -2
  25. package/examples/{kanban → apps/kanban}/dist/dataverse.js +94 -94
  26. package/examples/{kanban → apps/kanban}/dist/environmentVar.js +55 -55
  27. package/examples/{kanban → apps/kanban}/dist/index.css +605 -605
  28. package/examples/{kanban → apps/kanban}/dist/index.html +21 -21
  29. package/examples/{kanban → apps/kanban}/dist/index.js +860 -860
  30. package/examples/{kanban → apps/kanban}/dist/office365groups.js +97 -97
  31. package/examples/apps/kanban/dist/office365users.js +451 -0
  32. package/examples/{kanban → apps/kanban}/dist/outlook.js +162 -162
  33. package/examples/{planning Poker/dist/power-apps-data.js → apps/kanban/dist/power-apps-data.js} +2953 -2953
  34. package/examples/{kanban → apps/kanban}/dist/sharepoint.js +435 -339
  35. package/examples/{kanban → apps/kanban}/power.config.json +35 -35
  36. package/examples/{planning Poker → apps/planning Poker}/additional files/customizations (tables).xml +6428 -6428
  37. package/examples/{planning Poker → apps/planning Poker}/additional files/dataverse-tables.json +165 -165
  38. package/examples/{planning Poker → apps/planning Poker}/additional files/readme.md +122 -122
  39. package/examples/{planning Poker → apps/planning Poker}/dist/dataverse.js +78 -78
  40. package/examples/{planning Poker → apps/planning Poker}/dist/index.html +198 -198
  41. package/examples/{planning Poker → apps/planning Poker}/dist/index.js +954 -954
  42. package/examples/{todo/dist/power-apps-data.js → apps/planning Poker/dist/power-apps-data.js } +2953 -2953
  43. package/examples/{planning Poker → apps/planning Poker}/dist/styles.css +815 -815
  44. package/examples/{planning Poker → apps/planning Poker}/power.config.json +50 -50
  45. package/examples/{outlook Demo2 → apps/solution explorer}/dist/codeapp.js +9 -245
  46. package/examples/apps/solution explorer/dist/index.html +80 -0
  47. package/examples/apps/solution explorer/dist/index.js +735 -0
  48. package/examples/apps/solution explorer/dist/styles.css +571 -0
  49. package/examples/apps/solution explorer/power.config.json +151 -0
  50. package/examples/{todo → apps/todo}/dist/dataverse.js +64 -64
  51. package/examples/{todo → apps/todo}/dist/index.html +75 -75
  52. package/examples/{todo → apps/todo}/dist/index.js +8 -8
  53. package/examples/{kanban → apps/todo}/dist/power-apps-data.js +2953 -2953
  54. package/examples/{todo → apps/todo}/dist/renderer.js +375 -375
  55. package/examples/{todo → apps/todo}/dist/styles.css +691 -691
  56. package/examples/{todo → apps/todo}/power.config.json +34 -34
  57. package/examples/combined demo/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -7830
  58. package/examples/combined demo/.power/schemas/jira/jira.Schema.json +6903 -0
  59. package/examples/combined demo/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
  60. package/examples/combined demo/.power/schemas/teams/teams.Schema.json +11112 -0
  61. package/examples/combined demo/dist/codeapp.js +394 -1098
  62. package/examples/{outlook Demo2/OutlookDemo_1_0_0_1.zip → combined demo/dist/icon-512.png} +0 -0
  63. package/examples/combined demo/dist/index.html +29 -511
  64. package/examples/combined demo/dist/index.js +490 -470
  65. package/examples/combined demo/dist/office365users.js +513 -0
  66. package/examples/combined demo/dist/outlook.js +1393 -0
  67. package/examples/combined demo/dist/power-apps-data.js +3079 -3006
  68. package/examples/combined demo/dist/styles.css +483 -0
  69. package/examples/combined demo/power.config.json +33 -42
  70. package/examples/combined demo/src/generated/index.ts +12 -14
  71. package/examples/combined demo/src/generated/models/AzureKeyVaultModel.ts +107 -0
  72. package/examples/combined demo/src/generated/models/JiraModel.ts +501 -0
  73. package/examples/combined demo/src/generated/services/AzureKeyVaultService.ts +257 -0
  74. package/examples/combined demo/src/generated/services/JiraService.ts +1124 -0
  75. package/examples/dataverse Demo/dist/codeapp.js +394 -1085
  76. package/examples/dataverse Demo/dist/icon-512.png +0 -0
  77. package/examples/dataverse Demo/dist/index.html +146 -54
  78. package/examples/dataverse Demo/dist/index.js +693 -83
  79. package/examples/dataverse Demo/dist/power-apps-data.js +3079 -2911
  80. package/examples/dataverse Demo/dist/styles.css +528 -0
  81. package/examples/dataverse Demo/power.config.json +41 -35
  82. package/examples/dataverse Demo/readme.md +79 -79
  83. package/examples/groups Demo/dist/codeapp.js +394 -1085
  84. package/examples/groups Demo/dist/icon-512.png +0 -0
  85. package/examples/groups Demo/dist/index.html +21 -25
  86. package/examples/groups Demo/dist/index.js +304 -113
  87. package/examples/groups Demo/dist/office365groups.js +642 -0
  88. package/examples/groups Demo/dist/power-apps-data.js +3079 -2911
  89. package/examples/groups Demo/dist/styles.css +509 -0
  90. package/examples/groups Demo/power.config.json +25 -25
  91. package/examples/myProfile/dist/codeapp.js +398 -0
  92. package/examples/myProfile/dist/index.html +21 -184
  93. package/examples/myProfile/dist/index.js +324 -141
  94. package/examples/myProfile/dist/office365users.js +517 -169
  95. package/examples/myProfile/dist/power-apps-data.js +3080 -2953
  96. package/examples/myProfile/dist/styles.css +458 -0
  97. package/examples/myProfile/power.config.json +24 -23
  98. package/examples/outlook Demo/dist/codeapp.js +394 -1085
  99. package/examples/outlook Demo/dist/index.html +150 -35
  100. package/examples/outlook Demo/dist/index.js +516 -170
  101. package/examples/outlook Demo/dist/outlook.js +1393 -121
  102. package/examples/outlook Demo/dist/power-apps-data.js +3079 -2911
  103. package/examples/outlook Demo/dist/styles.css +408 -84
  104. package/examples/outlook Demo/power.config.json +24 -23
  105. package/examples/outlook Demo/readme.md +92 -82
  106. package/examples/sharePoint Demo/dist/codeapp.js +394 -1085
  107. package/examples/sharePoint Demo/dist/icon-512.png +0 -0
  108. package/examples/sharePoint Demo/dist/index.html +22 -255
  109. package/examples/sharePoint Demo/dist/index.js +899 -262
  110. package/examples/sharePoint Demo/dist/power-apps-data.js +3079 -2911
  111. package/examples/sharePoint Demo/dist/sharepoint.js +466 -0
  112. package/examples/sharePoint Demo/dist/styles.css +587 -0
  113. package/examples/sharePoint Demo/power.config.json +23 -22
  114. package/package.json +1 -1
  115. package/readme.md +465 -76
  116. package/.vscode/settings.json +0 -6
  117. package/dev files/customConnector.js +0 -98
  118. package/dev files/dataverse.js +0 -120
  119. package/dev files/environmentVar.js +0 -55
  120. package/dev files/office365groups.js +0 -65
  121. package/dev files/office365users.js +0 -169
  122. package/dev files/outlook.js +0 -330
  123. package/dev files/power-apps-data.js +0 -2952
  124. package/examples/combined demo/.power/schemas/office365/office365.Schema.json +0 -21098
  125. package/examples/combined demo/.power/schemas/office365users/office365users.Schema.json +0 -2094
  126. package/examples/kanban/agent/decision-log.md +0 -9
  127. package/examples/kanban/agent/mockup-01-editorial-glass.html +0 -159
  128. package/examples/kanban/agent/mockup-02-dark-rail.html +0 -147
  129. package/examples/kanban/agent/mockup-03-paper-grid.html +0 -114
  130. package/examples/kanban/agent/mockup-04-neon-minimal.html +0 -141
  131. package/examples/kanban/agent/mockup-05-mono-architect.html +0 -119
  132. package/examples/kanban/dist/office365users.js +0 -169
  133. package/examples/kanban/src/generated/index.ts +0 -14
  134. package/examples/kanban/src/generated/models/Office365GroupsModel.ts +0 -363
  135. package/examples/kanban/src/generated/models/Office365OutlookModel.ts +0 -2046
  136. package/examples/kanban/src/generated/models/Office365UsersModel.ts +0 -254
  137. package/examples/kanban/src/generated/services/Office365GroupsService.ts +0 -326
  138. package/examples/kanban/src/generated/services/Office365OutlookService.ts +0 -2476
  139. package/examples/kanban/src/generated/services/Office365UsersService.ts +0 -358
  140. package/examples/outlook Demo2/agent/decision-log.md +0 -7
  141. package/examples/outlook Demo2/dist/index.html +0 -98
  142. package/examples/outlook Demo2/dist/index.js +0 -272
  143. package/examples/outlook Demo2/dist/styles.css +0 -639
  144. package/examples/outlook Demo2/power.config.json +0 -23
  145. package/examples/planning Poker/.vscode/settings.json +0 -5
  146. package/examples/sharePoint Demo/agent/decision-log.md +0 -17
  147. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/index.ts +0 -0
  148. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365GroupsModel.ts +0 -0
  149. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365OutlookModel.ts +0 -0
  150. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365UsersModel.ts +0 -0
  151. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365GroupsService.ts +0 -0
  152. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365OutlookService.ts +0 -0
  153. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365UsersService.ts +0 -0
  154. /package/examples/{planning Poker → apps/planning Poker}/additional files/AgilePoker_1_0_0_1.zip +0 -0
  155. /package/examples/{planning Poker → apps/planning Poker}/additional files/PokerTables_1_0_0_1.zip +0 -0
  156. /package/examples/{outlook Demo2 → apps/solution explorer}/dist/icon-512.png +0 -0
  157. /package/examples/{outlook Demo2 → apps/solution explorer}/dist/power-apps-data.js +0 -0
  158. /package/examples/{todo → apps/todo}/dist/icon192.png +0 -0
@@ -1,2094 +0,0 @@
1
- {
2
- "name": "shared_office365users",
3
- "id": "/providers/Microsoft.PowerApps/apis/shared_office365users",
4
- "type": "Microsoft.PowerApps/apis",
5
- "properties": {
6
- "displayName": "Office 365 Users",
7
- "iconUri": "https://conn-afd-prod-endpoint-bmc9bqahasf3grgk.b01.azurefd.net/releases/v1.0.1788/1.0.1788.4544/office365users/icon.png",
8
- "iconBrandColor": "#FFFFFF",
9
- "apiEnvironment": "Shared",
10
- "isCustomApi": false,
11
- "blobUrisAreProxied": false,
12
- "connectionParameters": {
13
- "Token": {
14
- "type": "oauthSetting",
15
- "oAuthSettings": {
16
- "identityProvider": "office365usercertificate",
17
- "clientId": "7ab7862c-4c57-491e-8a45-d52a7e023983",
18
- "scopes": [],
19
- "redirectMode": "GlobalPerConnector",
20
- "redirectUrl": "https://global.consent.azure-apim.net/redirect/office365users",
21
- "properties": {
22
- "IsFirstParty": "True",
23
- "IsOnbehalfofLoginSupported": true
24
- },
25
- "customParameters": {
26
- "ResourceUri": {
27
- "value": "https://graph.microsoft.com"
28
- },
29
- "loginUri": {
30
- "value": "https://login.windows.net"
31
- },
32
- "LoginUriAAD": {
33
- "value": "https://login.windows.net"
34
- }
35
- }
36
- },
37
- "uiDefinition": {
38
- "displayName": "Log in with Office 365 Credentials",
39
- "description": "Log in with Office 365 Credentials",
40
- "tooltip": "Provide Office 365 Credentials",
41
- "constraints": {
42
- "required": "true"
43
- }
44
- }
45
- },
46
- "Token:TenantId": {
47
- "type": "string",
48
- "metadata": {
49
- "sourceType": "AzureActiveDirectoryTenant"
50
- },
51
- "uiDefinition": {
52
- "displayName": "Tenant",
53
- "description": "The tenant ID of for the Microsoft Entra ID application",
54
- "constraints": {
55
- "required": "false",
56
- "hidden": "true"
57
- }
58
- }
59
- }
60
- },
61
- "swagger": {
62
- "swagger": "2.0",
63
- "info": {
64
- "version": "1.0",
65
- "title": "Office 365 Users",
66
- "description": "Office 365 Users Connection provider lets you access user profiles in your organization using your Office 365 account. You can perform various actions such as get your profile, a user's profile, a user's manager or direct reports and also update a user profile.",
67
- "x-ms-api-annotation": {
68
- "status": "Production"
69
- },
70
- "contact": {
71
- "name": "Office 365 Users",
72
- "url": "https://learn.microsoft.com/en-us/connectors/office365users/",
73
- "email": "idcknowledgeeco@microsoft.com"
74
- }
75
- },
76
- "host": "unitedstates-002.azure-apim.net",
77
- "basePath": "/apim/office365users",
78
- "schemes": [
79
- "https"
80
- ],
81
- "produces": [
82
- "application/json"
83
- ],
84
- "paths": {
85
- "/{connectionId}/codeless/v1.0/me": {
86
- "patch": {
87
- "summary": "Update my profile",
88
- "description": "Updates the profile of the current user",
89
- "operationId": "UpdateMyProfile",
90
- "parameters": [
91
- {
92
- "name": "connectionId",
93
- "in": "path",
94
- "required": true,
95
- "x-ms-visibility": "internal",
96
- "type": "string"
97
- },
98
- {
99
- "name": "body",
100
- "in": "body",
101
- "required": false,
102
- "schema": {
103
- "$ref": "#/definitions/GraphUserUpdateable_V1"
104
- }
105
- }
106
- ],
107
- "responses": {
108
- "default": {
109
- "description": "default"
110
- }
111
- },
112
- "deprecated": false,
113
- "x-ms-visibility": "advanced",
114
- "x-ms-api-annotation": {
115
- "status": "Production"
116
- },
117
- "externalDocs": {
118
- "url": "https://docs.microsoft.com/connectors/office365users/#update-my-profile"
119
- }
120
- },
121
- "get": {
122
- "summary": "Get my profile (V2)",
123
- "description": "Retrieves the profile of the current user. Learn more about available fields to select: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties",
124
- "operationId": "MyProfile_V2",
125
- "parameters": [
126
- {
127
- "name": "connectionId",
128
- "in": "path",
129
- "required": true,
130
- "x-ms-visibility": "internal",
131
- "type": "string"
132
- },
133
- {
134
- "name": "$select",
135
- "in": "query",
136
- "required": false,
137
- "type": "string",
138
- "description": "Comma separated list of fields to select. Example: surname, department, jobTitle",
139
- "x-ms-summary": "Select fields",
140
- "x-ms-visibility": "advanced"
141
- }
142
- ],
143
- "deprecated": false,
144
- "x-ms-api-annotation": {
145
- "status": "Production",
146
- "family": "MyProfile",
147
- "revision": 2
148
- },
149
- "responses": {
150
- "200": {
151
- "description": "OK",
152
- "schema": {
153
- "$ref": "#/definitions/GraphUser_V1"
154
- }
155
- }
156
- },
157
- "externalDocs": {
158
- "url": "https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v2)"
159
- }
160
- }
161
- },
162
- "/{connectionId}/codeless/v1.0/me/photo/$value": {
163
- "put": {
164
- "summary": "Update my profile photo",
165
- "description": "Updates the profile photo of the current user. The size of the photo must be less than 4 MB.",
166
- "operationId": "UpdateMyPhoto",
167
- "parameters": [
168
- {
169
- "name": "connectionId",
170
- "in": "path",
171
- "required": true,
172
- "x-ms-visibility": "internal",
173
- "type": "string"
174
- },
175
- {
176
- "name": "body",
177
- "in": "body",
178
- "schema": {
179
- "type": "string",
180
- "format": "binary"
181
- },
182
- "required": true,
183
- "description": "Image content",
184
- "x-ms-summary": "Image content"
185
- },
186
- {
187
- "name": "Content-Type",
188
- "in": "header",
189
- "type": "string",
190
- "default": "image/jpeg",
191
- "required": true,
192
- "description": "Image content type (like 'image/jpeg')",
193
- "x-ms-summary": "Content-Type",
194
- "x-ms-visibility": "advanced"
195
- }
196
- ],
197
- "responses": {
198
- "default": {
199
- "description": "default"
200
- }
201
- },
202
- "deprecated": false,
203
- "x-ms-visibility": "advanced",
204
- "x-ms-api-annotation": {
205
- "status": "Production"
206
- },
207
- "externalDocs": {
208
- "url": "https://docs.microsoft.com/connectors/office365users/#update-my-profile-photo"
209
- }
210
- }
211
- },
212
- "/{connectionId}/codeless/beta/me/insights/trending": {
213
- "get": {
214
- "summary": "Get my trending documents",
215
- "description": "Retrieves the trending documents for the signed in user",
216
- "operationId": "MyTrendingDocuments",
217
- "parameters": [
218
- {
219
- "name": "connectionId",
220
- "in": "path",
221
- "required": true,
222
- "x-ms-visibility": "internal",
223
- "type": "string"
224
- },
225
- {
226
- "name": "$filter",
227
- "in": "query",
228
- "required": false,
229
- "type": "string",
230
- "description": "An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType",
231
- "x-ms-summary": "Filter query"
232
- },
233
- {
234
- "name": "extractSensitivityLabel",
235
- "in": "query",
236
- "description": "Select if you want to extract Sensitivity label ( false, true).",
237
- "required": false,
238
- "x-ms-summary": "Extract Sensitivity Label",
239
- "type": "boolean"
240
- },
241
- {
242
- "name": "fetchSensitivityLabelMetadata",
243
- "in": "query",
244
- "required": false,
245
- "description": "A boolean whether to fetch sensitivity label Metadata for associated LabelId.",
246
- "x-ms-summary": "Sensitivity Label Metadata",
247
- "type": "boolean"
248
- }
249
- ],
250
- "responses": {
251
- "200": {
252
- "description": "200",
253
- "schema": {
254
- "description": "List of trending documents",
255
- "type": "object",
256
- "properties": {
257
- "value": {
258
- "type": "array",
259
- "items": {
260
- "$ref": "#/definitions/GraphTrending"
261
- },
262
- "description": "value",
263
- "x-ms-summary": "value"
264
- }
265
- }
266
- }
267
- }
268
- },
269
- "externalDocs": {
270
- "url": "https://docs.microsoft.com/connectors/office365users/#get-my-trending-documents"
271
- }
272
- }
273
- },
274
- "/{connectionId}/users/{userId}/relevantpeople": {
275
- "get": {
276
- "tags": [
277
- "People"
278
- ],
279
- "summary": "Get relevant people",
280
- "description": "Get relevant people.",
281
- "operationId": "RelevantPeople",
282
- "consumes": [],
283
- "produces": [
284
- "application/json",
285
- "text/json",
286
- "application/xml",
287
- "text/xml"
288
- ],
289
- "parameters": [
290
- {
291
- "name": "connectionId",
292
- "in": "path",
293
- "required": true,
294
- "x-ms-visibility": "internal",
295
- "type": "string"
296
- },
297
- {
298
- "name": "userId",
299
- "in": "path",
300
- "description": "User principal name or id.",
301
- "required": true,
302
- "x-ms-summary": "User (UPN)",
303
- "type": "string"
304
- }
305
- ],
306
- "responses": {
307
- "200": {
308
- "description": "OK",
309
- "schema": {
310
- "$ref": "#/definitions/LinklessEntityListResponse[List[Person]]"
311
- }
312
- },
313
- "default": {
314
- "description": "Operation Failed."
315
- }
316
- },
317
- "deprecated": false,
318
- "x-ms-visibility": "advanced",
319
- "externalDocs": {
320
- "url": "https://docs.microsoft.com/connectors/office365users/#get-relevant-people"
321
- }
322
- }
323
- },
324
- "/{connectionId}/users/me": {
325
- "get": {
326
- "tags": [
327
- "Users"
328
- ],
329
- "summary": "Get my profile (V1)",
330
- "description": "Retrieves the profile of the current user.",
331
- "operationId": "MyProfile",
332
- "consumes": [],
333
- "produces": [
334
- "application/json",
335
- "text/json",
336
- "application/xml",
337
- "text/xml"
338
- ],
339
- "responses": {
340
- "200": {
341
- "description": "Operation was successful",
342
- "schema": {
343
- "$ref": "#/definitions/User"
344
- }
345
- },
346
- "202": {
347
- "description": "Operation was successful"
348
- },
349
- "400": {
350
- "description": "BadRequest"
351
- },
352
- "401": {
353
- "description": "Unauthorized"
354
- },
355
- "403": {
356
- "description": "Forbidden"
357
- },
358
- "500": {
359
- "description": "Internal Server Error"
360
- },
361
- "default": {
362
- "description": "Operation Failed."
363
- }
364
- },
365
- "deprecated": true,
366
- "x-ms-visibility": "advanced",
367
- "x-ms-api-annotation": {
368
- "status": "Production",
369
- "family": "MyProfile",
370
- "revision": 1
371
- },
372
- "externalDocs": {
373
- "url": "https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v1)-%5bdeprecated%5d"
374
- },
375
- "parameters": [
376
- {
377
- "name": "connectionId",
378
- "in": "path",
379
- "required": true,
380
- "x-ms-visibility": "internal",
381
- "type": "string"
382
- }
383
- ]
384
- }
385
- },
386
- "/{connectionId}/users/{userId}": {
387
- "get": {
388
- "tags": [
389
- "Users"
390
- ],
391
- "summary": "Get user profile (V1)",
392
- "description": "Retrieves the profile of a specific user.",
393
- "operationId": "UserProfile",
394
- "consumes": [],
395
- "produces": [
396
- "application/json",
397
- "text/json",
398
- "application/xml",
399
- "text/xml"
400
- ],
401
- "parameters": [
402
- {
403
- "name": "connectionId",
404
- "in": "path",
405
- "required": true,
406
- "x-ms-visibility": "internal",
407
- "type": "string"
408
- },
409
- {
410
- "name": "userId",
411
- "in": "path",
412
- "description": "User principal name or id.",
413
- "required": true,
414
- "x-ms-summary": "User (UPN)",
415
- "type": "string"
416
- }
417
- ],
418
- "responses": {
419
- "200": {
420
- "description": "Operation was successful",
421
- "schema": {
422
- "$ref": "#/definitions/User"
423
- }
424
- },
425
- "202": {
426
- "description": "Operation was successful"
427
- },
428
- "400": {
429
- "description": "BadRequest"
430
- },
431
- "401": {
432
- "description": "Unauthorized"
433
- },
434
- "403": {
435
- "description": "Forbidden"
436
- },
437
- "500": {
438
- "description": "Internal Server Error"
439
- },
440
- "default": {
441
- "description": "Operation Failed."
442
- }
443
- },
444
- "deprecated": true,
445
- "x-ms-visibility": "advanced",
446
- "x-ms-api-annotation": {
447
- "status": "Production",
448
- "family": "UserProfile",
449
- "revision": 1
450
- },
451
- "externalDocs": {
452
- "url": "https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v1)-%5bdeprecated%5d"
453
- }
454
- }
455
- },
456
- "/{connectionId}/users/photo": {
457
- "get": {
458
- "tags": [
459
- "Users"
460
- ],
461
- "summary": "Get user photo metadata",
462
- "description": "Get user photo metadata.",
463
- "operationId": "UserPhotoMetadata",
464
- "consumes": [],
465
- "produces": [
466
- "application/json",
467
- "text/json",
468
- "application/xml",
469
- "text/xml"
470
- ],
471
- "parameters": [
472
- {
473
- "name": "connectionId",
474
- "in": "path",
475
- "required": true,
476
- "x-ms-visibility": "internal",
477
- "type": "string"
478
- },
479
- {
480
- "name": "userId",
481
- "in": "query",
482
- "description": "User principal name or id.",
483
- "required": true,
484
- "x-ms-summary": "User (UPN)",
485
- "type": "string"
486
- }
487
- ],
488
- "responses": {
489
- "200": {
490
- "description": "OK",
491
- "schema": {
492
- "$ref": "#/definitions/ClientPhotoMetadata"
493
- }
494
- },
495
- "default": {
496
- "description": "Operation Failed."
497
- }
498
- },
499
- "deprecated": false,
500
- "externalDocs": {
501
- "url": "https://docs.microsoft.com/connectors/office365users/#get-user-photo-metadata"
502
- }
503
- }
504
- },
505
- "/{connectionId}/users/photo/value": {
506
- "get": {
507
- "tags": [
508
- "Users"
509
- ],
510
- "summary": "Get user photo (V1)",
511
- "description": "Retrieves the photo of the specified user if they have one.",
512
- "operationId": "UserPhoto",
513
- "consumes": [],
514
- "produces": [],
515
- "parameters": [
516
- {
517
- "name": "connectionId",
518
- "in": "path",
519
- "required": true,
520
- "x-ms-visibility": "internal",
521
- "type": "string"
522
- },
523
- {
524
- "name": "userId",
525
- "in": "query",
526
- "description": "User principal name or id.",
527
- "required": true,
528
- "x-ms-summary": "User (UPN)",
529
- "type": "string"
530
- }
531
- ],
532
- "responses": {
533
- "200": {
534
- "description": "OK",
535
- "schema": {
536
- "format": "binary",
537
- "type": "string",
538
- "x-ms-media-kind": "image",
539
- "x-ms-summary": "Image file content"
540
- }
541
- },
542
- "default": {
543
- "description": "Operation Failed."
544
- }
545
- },
546
- "deprecated": true,
547
- "x-ms-visibility": "advanced",
548
- "x-ms-api-annotation": {
549
- "status": "Production",
550
- "family": "UserPhoto",
551
- "revision": 1
552
- },
553
- "externalDocs": {
554
- "url": "https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v1)-%5bdeprecated%5d"
555
- }
556
- }
557
- },
558
- "/{connectionId}/users/{userId}/manager": {
559
- "get": {
560
- "tags": [
561
- "Users"
562
- ],
563
- "summary": "Get manager (V1)",
564
- "description": "Retrieves the profile of the specified user's manager.",
565
- "operationId": "Manager",
566
- "consumes": [],
567
- "produces": [
568
- "application/json",
569
- "text/json",
570
- "application/xml",
571
- "text/xml"
572
- ],
573
- "parameters": [
574
- {
575
- "name": "connectionId",
576
- "in": "path",
577
- "required": true,
578
- "x-ms-visibility": "internal",
579
- "type": "string"
580
- },
581
- {
582
- "name": "userId",
583
- "in": "path",
584
- "description": "User principal name or id.",
585
- "required": true,
586
- "x-ms-summary": "User (UPN)",
587
- "type": "string"
588
- }
589
- ],
590
- "responses": {
591
- "200": {
592
- "description": "Operation was successful",
593
- "schema": {
594
- "$ref": "#/definitions/User"
595
- }
596
- },
597
- "202": {
598
- "description": "Operation was successful"
599
- },
600
- "400": {
601
- "description": "BadRequest"
602
- },
603
- "401": {
604
- "description": "Unauthorized"
605
- },
606
- "403": {
607
- "description": "Forbidden"
608
- },
609
- "500": {
610
- "description": "Internal Server Error"
611
- },
612
- "default": {
613
- "description": "Operation Failed."
614
- }
615
- },
616
- "deprecated": true,
617
- "x-ms-visibility": "advanced",
618
- "x-ms-api-annotation": {
619
- "status": "Production",
620
- "family": "Manager",
621
- "revision": 1
622
- },
623
- "externalDocs": {
624
- "url": "https://docs.microsoft.com/connectors/office365users/#get-manager-(v1)-%5bdeprecated%5d"
625
- }
626
- }
627
- },
628
- "/{connectionId}/users/{userId}/directReports": {
629
- "get": {
630
- "tags": [
631
- "Users"
632
- ],
633
- "summary": "Get direct reports (V1)",
634
- "description": "Retrieves the user profiles of the specified user's direct reports.",
635
- "operationId": "DirectReports",
636
- "consumes": [],
637
- "produces": [
638
- "application/json",
639
- "text/json",
640
- "application/xml",
641
- "text/xml"
642
- ],
643
- "parameters": [
644
- {
645
- "name": "connectionId",
646
- "in": "path",
647
- "required": true,
648
- "x-ms-visibility": "internal",
649
- "type": "string"
650
- },
651
- {
652
- "name": "userId",
653
- "in": "path",
654
- "description": "User principal name or id.",
655
- "required": true,
656
- "x-ms-summary": "User (UPN)",
657
- "type": "string"
658
- }
659
- ],
660
- "responses": {
661
- "200": {
662
- "description": "Operation was successful",
663
- "schema": {
664
- "type": "array",
665
- "items": {
666
- "$ref": "#/definitions/User"
667
- }
668
- }
669
- },
670
- "202": {
671
- "description": "Operation was successful"
672
- },
673
- "400": {
674
- "description": "BadRequest"
675
- },
676
- "401": {
677
- "description": "Unauthorized"
678
- },
679
- "403": {
680
- "description": "Forbidden"
681
- },
682
- "500": {
683
- "description": "Internal Server Error"
684
- },
685
- "default": {
686
- "description": "Operation Failed."
687
- }
688
- },
689
- "deprecated": true,
690
- "x-ms-visibility": "advanced",
691
- "x-ms-api-annotation": {
692
- "status": "Production",
693
- "family": "DirectReports",
694
- "revision": 1
695
- },
696
- "externalDocs": {
697
- "url": "https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v1)-%5bdeprecated%5d"
698
- }
699
- }
700
- },
701
- "/{connectionId}/users": {
702
- "get": {
703
- "tags": [
704
- "Users"
705
- ],
706
- "summary": "Search for users",
707
- "description": "Retrieves the user profiles that match the search term.",
708
- "operationId": "SearchUser",
709
- "consumes": [],
710
- "produces": [
711
- "application/json",
712
- "text/json",
713
- "application/xml",
714
- "text/xml"
715
- ],
716
- "parameters": [
717
- {
718
- "name": "connectionId",
719
- "in": "path",
720
- "required": true,
721
- "x-ms-visibility": "internal",
722
- "type": "string"
723
- },
724
- {
725
- "name": "searchTerm",
726
- "in": "query",
727
- "description": "Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",
728
- "required": false,
729
- "x-ms-summary": "Search term",
730
- "type": "string"
731
- },
732
- {
733
- "name": "top",
734
- "in": "query",
735
- "description": "Limit on the number of results to return. By default returns all entries.",
736
- "required": false,
737
- "x-ms-summary": "Top",
738
- "x-ms-visibility": "advanced",
739
- "type": "integer",
740
- "format": "int32",
741
- "default": 0
742
- }
743
- ],
744
- "responses": {
745
- "200": {
746
- "description": "Operation was successful",
747
- "schema": {
748
- "type": "array",
749
- "items": {
750
- "$ref": "#/definitions/User"
751
- }
752
- }
753
- },
754
- "202": {
755
- "description": "Operation was successful"
756
- },
757
- "400": {
758
- "description": "BadRequest"
759
- },
760
- "401": {
761
- "description": "Unauthorized"
762
- },
763
- "403": {
764
- "description": "Forbidden"
765
- },
766
- "500": {
767
- "description": "Internal Server Error"
768
- },
769
- "default": {
770
- "description": "Operation Failed."
771
- }
772
- },
773
- "deprecated": true,
774
- "x-ms-visibility": "advanced",
775
- "x-ms-api-annotation": {
776
- "status": "Production",
777
- "family": "SearchUser",
778
- "revision": 1
779
- },
780
- "externalDocs": {
781
- "url": "https://docs.microsoft.com/connectors/office365users/#search-for-users-%5bdeprecated%5d"
782
- }
783
- }
784
- },
785
- "/{connectionId}/v2/users": {
786
- "get": {
787
- "tags": [
788
- "Users"
789
- ],
790
- "summary": "Search for users (V2)",
791
- "description": "Retrieves the user profiles that match the search term (V2).",
792
- "operationId": "SearchUserV2",
793
- "consumes": [],
794
- "produces": [
795
- "application/json",
796
- "text/json",
797
- "application/xml",
798
- "text/xml"
799
- ],
800
- "parameters": [
801
- {
802
- "name": "connectionId",
803
- "in": "path",
804
- "required": true,
805
- "x-ms-visibility": "internal",
806
- "type": "string"
807
- },
808
- {
809
- "name": "searchTerm",
810
- "in": "query",
811
- "description": "Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",
812
- "required": false,
813
- "x-ms-summary": "Search term",
814
- "type": "string"
815
- },
816
- {
817
- "name": "top",
818
- "in": "query",
819
- "description": "Limit on the number of results to return. Minimum value is 1. Default value is 1000.",
820
- "required": false,
821
- "x-ms-summary": "Top",
822
- "x-ms-visibility": "advanced",
823
- "type": "integer",
824
- "format": "int32"
825
- },
826
- {
827
- "name": "isSearchTermRequired",
828
- "in": "query",
829
- "description": "If set to 'Yes' then no user profiles will be returned when the search term is empty. If set to 'No' then no filtering will be applied when the search term is empty.",
830
- "required": false,
831
- "x-ms-summary": "Is search term required",
832
- "x-ms-visibility": "advanced",
833
- "type": "boolean",
834
- "default": true
835
- },
836
- {
837
- "name": "skipToken",
838
- "in": "query",
839
- "description": "Skip token to get next users.",
840
- "required": false,
841
- "x-ms-summary": "Skip token",
842
- "x-ms-visibility": "internal",
843
- "type": "string"
844
- }
845
- ],
846
- "responses": {
847
- "200": {
848
- "description": "Operation was successful",
849
- "schema": {
850
- "$ref": "#/definitions/EntityListResponse[IReadOnlyList[User]]"
851
- }
852
- },
853
- "202": {
854
- "description": "Operation was successful"
855
- },
856
- "400": {
857
- "description": "BadRequest"
858
- },
859
- "401": {
860
- "description": "Unauthorized"
861
- },
862
- "403": {
863
- "description": "Forbidden"
864
- },
865
- "500": {
866
- "description": "Internal Server Error"
867
- },
868
- "default": {
869
- "description": "Operation Failed."
870
- }
871
- },
872
- "deprecated": false,
873
- "x-ms-visibility": "advanced",
874
- "x-ms-pageable": {
875
- "nextLinkName": "@odata.nextLink"
876
- },
877
- "x-ms-api-annotation": {
878
- "status": "Production",
879
- "family": "SearchUser",
880
- "revision": 2
881
- },
882
- "externalDocs": {
883
- "url": "https://docs.microsoft.com/connectors/office365users/#search-for-users-(v2)"
884
- }
885
- }
886
- },
887
- "/{connectionId}/testconnection": {
888
- "get": {
889
- "tags": [
890
- "Users"
891
- ],
892
- "summary": "Tests the connection",
893
- "description": "Tests the connection.",
894
- "operationId": "TestConnection",
895
- "consumes": [],
896
- "produces": [],
897
- "responses": {
898
- "200": {
899
- "description": "OK"
900
- },
901
- "default": {
902
- "description": "Operation Failed."
903
- }
904
- },
905
- "deprecated": false,
906
- "x-ms-visibility": "internal",
907
- "externalDocs": {
908
- "url": "https://docs.microsoft.com/connectors/office365users/#tests-the-connection"
909
- },
910
- "parameters": [
911
- {
912
- "name": "connectionId",
913
- "in": "path",
914
- "required": true,
915
- "x-ms-visibility": "internal",
916
- "type": "string"
917
- }
918
- ]
919
- }
920
- },
921
- "/{connectionId}/codeless/v1.0/users/{id}": {
922
- "get": {
923
- "responses": {
924
- "200": {
925
- "description": "OK",
926
- "schema": {
927
- "$ref": "#/definitions/GraphUser_V1"
928
- }
929
- }
930
- },
931
- "summary": "Get user profile (V2)",
932
- "description": "Retrieves the profile of a specific user. Learn more about available fields to select: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties",
933
- "operationId": "UserProfile_V2",
934
- "parameters": [
935
- {
936
- "name": "connectionId",
937
- "in": "path",
938
- "required": true,
939
- "x-ms-visibility": "internal",
940
- "type": "string"
941
- },
942
- {
943
- "name": "id",
944
- "in": "path",
945
- "required": true,
946
- "type": "string",
947
- "description": "User principal name or id.",
948
- "x-ms-summary": "User (UPN)"
949
- },
950
- {
951
- "name": "$select",
952
- "in": "query",
953
- "required": false,
954
- "type": "string",
955
- "description": "Comma separated list of fields to select. Example: surname, department, jobTitle",
956
- "x-ms-summary": "Select fields",
957
- "x-ms-visibility": "advanced"
958
- }
959
- ],
960
- "deprecated": false,
961
- "x-ms-api-annotation": {
962
- "status": "Production",
963
- "family": "UserProfile",
964
- "revision": 2
965
- },
966
- "externalDocs": {
967
- "url": "https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v2)"
968
- }
969
- }
970
- },
971
- "/{connectionId}/codeless/v1.0/users/{id}/manager": {
972
- "get": {
973
- "responses": {
974
- "200": {
975
- "description": "OK",
976
- "schema": {
977
- "$ref": "#/definitions/GraphUser_V1"
978
- }
979
- }
980
- },
981
- "summary": "Get manager (V2)",
982
- "description": "Retrieves the profile of the specified user's manager. Learn more about available fields to select: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties",
983
- "operationId": "Manager_V2",
984
- "parameters": [
985
- {
986
- "name": "connectionId",
987
- "in": "path",
988
- "required": true,
989
- "x-ms-visibility": "internal",
990
- "type": "string"
991
- },
992
- {
993
- "name": "id",
994
- "in": "path",
995
- "required": true,
996
- "type": "string",
997
- "description": "User principal name or id.",
998
- "x-ms-summary": "User (UPN)"
999
- },
1000
- {
1001
- "name": "$select",
1002
- "in": "query",
1003
- "required": false,
1004
- "type": "string",
1005
- "description": "Comma separated list of fields to select. Example: surname, department, jobTitle",
1006
- "x-ms-summary": "Select fields",
1007
- "x-ms-visibility": "advanced"
1008
- }
1009
- ],
1010
- "deprecated": false,
1011
- "x-ms-api-annotation": {
1012
- "status": "Production",
1013
- "family": "Manager",
1014
- "revision": 2
1015
- },
1016
- "externalDocs": {
1017
- "url": "https://docs.microsoft.com/connectors/office365users/#get-manager-(v2)"
1018
- }
1019
- }
1020
- },
1021
- "/{connectionId}/codeless/v1.0/users/{id}/directReports": {
1022
- "get": {
1023
- "responses": {
1024
- "200": {
1025
- "description": "OK",
1026
- "schema": {
1027
- "description": "List of direct reports",
1028
- "type": "object",
1029
- "properties": {
1030
- "value": {
1031
- "description": "Value",
1032
- "type": "array",
1033
- "items": {
1034
- "$ref": "#/definitions/GraphUser_V1"
1035
- }
1036
- }
1037
- }
1038
- }
1039
- }
1040
- },
1041
- "summary": "Get direct reports (V2)",
1042
- "description": "Retrieves the user profiles of the specified user's direct reports. Learn more about available fields to select: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties",
1043
- "operationId": "DirectReports_V2",
1044
- "parameters": [
1045
- {
1046
- "name": "connectionId",
1047
- "in": "path",
1048
- "required": true,
1049
- "x-ms-visibility": "internal",
1050
- "type": "string"
1051
- },
1052
- {
1053
- "name": "id",
1054
- "in": "path",
1055
- "required": true,
1056
- "type": "string",
1057
- "description": "User principal name or id.",
1058
- "x-ms-summary": "User (UPN)"
1059
- },
1060
- {
1061
- "name": "$select",
1062
- "in": "query",
1063
- "required": false,
1064
- "type": "string",
1065
- "description": "Comma separated list of fields to select. Example: surname, department, jobTitle",
1066
- "x-ms-summary": "Select fields",
1067
- "x-ms-visibility": "advanced"
1068
- },
1069
- {
1070
- "name": "$top",
1071
- "in": "query",
1072
- "description": "Limit on the number of results to return. By default returns all entries.",
1073
- "required": false,
1074
- "x-ms-summary": "Top",
1075
- "x-ms-visibility": "advanced",
1076
- "type": "integer",
1077
- "format": "int32"
1078
- }
1079
- ],
1080
- "deprecated": false,
1081
- "x-ms-api-annotation": {
1082
- "status": "Production",
1083
- "family": "DirectReports",
1084
- "revision": 2
1085
- },
1086
- "externalDocs": {
1087
- "url": "https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v2)"
1088
- }
1089
- }
1090
- },
1091
- "/{connectionId}/codeless/v1.0/users/{id}/photo/$value": {
1092
- "get": {
1093
- "summary": "Get user photo (V2)",
1094
- "description": "Retrieves the photo of the specified user if they have one",
1095
- "operationId": "UserPhoto_V2",
1096
- "consumes": [],
1097
- "produces": [],
1098
- "parameters": [
1099
- {
1100
- "name": "connectionId",
1101
- "in": "path",
1102
- "required": true,
1103
- "x-ms-visibility": "internal",
1104
- "type": "string"
1105
- },
1106
- {
1107
- "name": "id",
1108
- "in": "path",
1109
- "required": true,
1110
- "type": "string",
1111
- "description": "User principal name or id.",
1112
- "x-ms-summary": "User (UPN)"
1113
- }
1114
- ],
1115
- "responses": {
1116
- "200": {
1117
- "description": "OK",
1118
- "schema": {
1119
- "format": "binary",
1120
- "type": "string",
1121
- "x-ms-media-kind": "image",
1122
- "x-ms-summary": "Image file content"
1123
- }
1124
- }
1125
- },
1126
- "deprecated": false,
1127
- "x-ms-api-annotation": {
1128
- "status": "Production",
1129
- "family": "UserPhoto",
1130
- "revision": 2
1131
- },
1132
- "externalDocs": {
1133
- "url": "https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v2)"
1134
- }
1135
- }
1136
- },
1137
- "/{connectionId}/codeless/beta/users/{id}/insights/trending": {
1138
- "get": {
1139
- "summary": "Get trending documents",
1140
- "description": "Retrieves the trending documents for a user",
1141
- "operationId": "TrendingDocuments",
1142
- "parameters": [
1143
- {
1144
- "name": "connectionId",
1145
- "in": "path",
1146
- "required": true,
1147
- "x-ms-visibility": "internal",
1148
- "type": "string"
1149
- },
1150
- {
1151
- "name": "id",
1152
- "in": "path",
1153
- "required": true,
1154
- "type": "string",
1155
- "description": "User principal name or id.",
1156
- "x-ms-summary": "User (UPN)"
1157
- },
1158
- {
1159
- "name": "$filter",
1160
- "in": "query",
1161
- "required": false,
1162
- "type": "string",
1163
- "description": "An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType",
1164
- "x-ms-summary": "Filter query"
1165
- },
1166
- {
1167
- "$ref": "#/parameters/extractSensitivityLabel"
1168
- },
1169
- {
1170
- "$ref": "#/parameters/fetchSensitivityLabelMetadata"
1171
- }
1172
- ],
1173
- "responses": {
1174
- "200": {
1175
- "description": "200",
1176
- "schema": {
1177
- "description": "List of trending documents",
1178
- "type": "object",
1179
- "properties": {
1180
- "value": {
1181
- "type": "array",
1182
- "items": {
1183
- "$ref": "#/definitions/GraphTrending"
1184
- },
1185
- "description": "value",
1186
- "x-ms-summary": "value"
1187
- }
1188
- }
1189
- }
1190
- }
1191
- },
1192
- "externalDocs": {
1193
- "url": "https://docs.microsoft.com/connectors/office365users/#get-trending-documents"
1194
- }
1195
- }
1196
- },
1197
- "/{connectionId}/codeless/httprequest": {
1198
- "post": {
1199
- "summary": "Send an HTTP request",
1200
- "description": "Construct a Microsoft Graph REST API request to invoke. These segments are supported: 1st segement: /me, /users/<userId> 2nd segment: messages, mailFolders, events, calendar, calendars, outlook, inferenceClassification. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api.",
1201
- "operationId": "HttpRequest",
1202
- "consumes": [],
1203
- "produces": [],
1204
- "parameters": [
1205
- {
1206
- "name": "connectionId",
1207
- "in": "path",
1208
- "required": true,
1209
- "x-ms-visibility": "internal",
1210
- "type": "string"
1211
- },
1212
- {
1213
- "name": "Uri",
1214
- "in": "header",
1215
- "description": "The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",
1216
- "required": true,
1217
- "x-ms-summary": "URI",
1218
- "type": "string"
1219
- },
1220
- {
1221
- "name": "Method",
1222
- "in": "header",
1223
- "description": "The HTTP method (default is GET).",
1224
- "default": "GET",
1225
- "enum": [
1226
- "GET",
1227
- "POST",
1228
- "PUT",
1229
- "PATCH",
1230
- "DELETE"
1231
- ],
1232
- "required": true,
1233
- "x-ms-summary": "Method",
1234
- "type": "string"
1235
- },
1236
- {
1237
- "name": "Body",
1238
- "in": "body",
1239
- "description": "The request body content.",
1240
- "required": false,
1241
- "schema": {
1242
- "format": "binary",
1243
- "type": "string"
1244
- },
1245
- "x-ms-summary": "Body"
1246
- },
1247
- {
1248
- "name": "ContentType",
1249
- "in": "header",
1250
- "description": "The content-type header for the body (default is application/json).",
1251
- "required": false,
1252
- "x-ms-summary": "Content-Type",
1253
- "type": "string",
1254
- "default": "application/json"
1255
- },
1256
- {
1257
- "name": "CustomHeader1",
1258
- "in": "header",
1259
- "description": "Custom header 1. Specify in format: header-name: header-value",
1260
- "required": false,
1261
- "x-ms-summary": "CustomHeader1",
1262
- "type": "string",
1263
- "x-ms-visibility": "advanced"
1264
- },
1265
- {
1266
- "name": "CustomHeader2",
1267
- "in": "header",
1268
- "description": "Custom header 2. Specify in format: header-name: header-value",
1269
- "required": false,
1270
- "x-ms-summary": "CustomHeader2",
1271
- "type": "string",
1272
- "x-ms-visibility": "advanced"
1273
- },
1274
- {
1275
- "name": "CustomHeader3",
1276
- "in": "header",
1277
- "description": "Custom header 3. Specify in format: header-name: header-value",
1278
- "required": false,
1279
- "x-ms-summary": "CustomHeader3",
1280
- "type": "string",
1281
- "x-ms-visibility": "advanced"
1282
- },
1283
- {
1284
- "name": "CustomHeader4",
1285
- "in": "header",
1286
- "description": "Custom header 4. Specify in format: header-name: header-value",
1287
- "required": false,
1288
- "x-ms-summary": "CustomHeader4",
1289
- "type": "string",
1290
- "x-ms-visibility": "advanced"
1291
- },
1292
- {
1293
- "name": "CustomHeader5",
1294
- "in": "header",
1295
- "description": "Custom header 5. Specify in format: header-name: header-value",
1296
- "required": false,
1297
- "x-ms-summary": "CustomHeader5",
1298
- "type": "string",
1299
- "x-ms-visibility": "advanced"
1300
- }
1301
- ],
1302
- "responses": {
1303
- "200": {
1304
- "description": "OK",
1305
- "schema": {
1306
- "$ref": "#/definitions/ObjectWithoutType"
1307
- }
1308
- },
1309
- "default": {
1310
- "description": "Operation Failed."
1311
- }
1312
- },
1313
- "deprecated": false,
1314
- "x-ms-visibility": "important",
1315
- "x-ms-api-annotation": {
1316
- "status": "Production"
1317
- },
1318
- "externalDocs": {
1319
- "url": "https://docs.microsoft.com/connectors/office365users/#send-an-http-request"
1320
- }
1321
- }
1322
- }
1323
- },
1324
- "definitions": {
1325
- "GraphUserUpdateable_V1": {
1326
- "description": "Updateable parts of user from Graph API",
1327
- "type": "object",
1328
- "properties": {
1329
- "aboutMe": {
1330
- "type": "string",
1331
- "description": "About Me",
1332
- "x-ms-summary": "About Me"
1333
- },
1334
- "birthday": {
1335
- "type": "string",
1336
- "format": "date-time",
1337
- "description": "Birthday",
1338
- "x-ms-summary": "Birthday"
1339
- },
1340
- "interests": {
1341
- "type": "array",
1342
- "items": {
1343
- "type": "string"
1344
- },
1345
- "description": "Interests",
1346
- "x-ms-summary": "Interests"
1347
- },
1348
- "mySite": {
1349
- "type": "string",
1350
- "description": "My Site",
1351
- "x-ms-summary": "My Site"
1352
- },
1353
- "pastProjects": {
1354
- "type": "array",
1355
- "items": {
1356
- "type": "string"
1357
- },
1358
- "description": "Past Projects",
1359
- "x-ms-summary": "Past Projects"
1360
- },
1361
- "schools": {
1362
- "type": "array",
1363
- "items": {
1364
- "type": "string"
1365
- },
1366
- "description": "Schools",
1367
- "x-ms-summary": "Schools"
1368
- },
1369
- "skills": {
1370
- "type": "array",
1371
- "items": {
1372
- "type": "string"
1373
- },
1374
- "description": "Skills",
1375
- "x-ms-summary": "Skills"
1376
- }
1377
- }
1378
- },
1379
- "GraphTrending": {
1380
- "description": "Trending documents from Graph API",
1381
- "type": "object",
1382
- "properties": {
1383
- "id": {
1384
- "type": "string",
1385
- "description": "Unique identifier of the relationship",
1386
- "x-ms-summary": "Id"
1387
- },
1388
- "weight": {
1389
- "type": "number",
1390
- "format": "float",
1391
- "description": "Value indicating how much the document is currently trending",
1392
- "x-ms-summary": "Weight"
1393
- },
1394
- "resourceVisualization": {
1395
- "$ref": "#/definitions/resourceVisualization"
1396
- },
1397
- "sensitivityLabelInfo": {
1398
- "type": "array",
1399
- "items": {
1400
- "$ref": "#/definitions/sensitivityLabelMetadata"
1401
- }
1402
- }
1403
- }
1404
- },
1405
- "resourceVisualization": {
1406
- "type": "object",
1407
- "properties": {
1408
- "title": {
1409
- "type": "string",
1410
- "description": "The item's title text",
1411
- "x-ms-summary": "Title"
1412
- },
1413
- "type": {
1414
- "type": "string",
1415
- "description": "The item's media type (can be used for filtering for a specific file based on a specific type)",
1416
- "x-ms-summary": "Type"
1417
- },
1418
- "mediaType": {
1419
- "type": "string",
1420
- "description": "The items media type (can be used for filtering for a specific type of file based on supported IANA Media MIME types)",
1421
- "x-ms-summary": "Media type"
1422
- },
1423
- "previewImageUrl": {
1424
- "type": "string",
1425
- "description": "A URL leading to the preview image for the item",
1426
- "x-ms-summary": "Preview image URL"
1427
- },
1428
- "previewText": {
1429
- "type": "string",
1430
- "description": "A preview text for the item",
1431
- "x-ms-summary": "Preview text"
1432
- },
1433
- "containerWebUrl": {
1434
- "type": "string",
1435
- "description": "A path leading to the folder in which the item is stored",
1436
- "x-ms-summary": "Container web URL"
1437
- },
1438
- "containerDisplayName": {
1439
- "type": "string",
1440
- "description": "A string describing where the item is stored",
1441
- "x-ms-summary": "Container display name"
1442
- },
1443
- "containerType": {
1444
- "type": "string",
1445
- "description": "Can be used for filtering by the type of container in which the file is stored",
1446
- "x-ms-summary": "Container type"
1447
- }
1448
- },
1449
- "description": "resourceVisualization",
1450
- "x-ms-summary": "Resource visualization"
1451
- },
1452
- "sensitivityLabelMetadata": {
1453
- "type": "object",
1454
- "properties": {
1455
- "sensitivityLabelId": {
1456
- "type": "string",
1457
- "description": "SensitivityLabel Id.",
1458
- "x-ms-summary": "SensitivityLabel Id",
1459
- "title": "sensitivityLabelId"
1460
- },
1461
- "name": {
1462
- "type": "string",
1463
- "description": "SensitivityLabel name.",
1464
- "x-ms-summary": "name",
1465
- "title": "name"
1466
- },
1467
- "displayName": {
1468
- "type": "string",
1469
- "description": "SensitivityLabel displayName info",
1470
- "x-ms-summary": "SensitivityLabel displayName info",
1471
- "title": "displayName"
1472
- },
1473
- "tooltip": {
1474
- "type": "string",
1475
- "description": "SensitivityLabel details on tooltip.",
1476
- "x-ms-summary": "tooltip info",
1477
- "title": "tooltip"
1478
- },
1479
- "priority": {
1480
- "type": "integer",
1481
- "format": "int32",
1482
- "description": "SensitivityLabel priority.",
1483
- "x-ms-summary": "priority of SensitivityLabel",
1484
- "title": "priority"
1485
- },
1486
- "color": {
1487
- "type": "string",
1488
- "description": "SensitivityLabel color.",
1489
- "x-ms-summary": "color to be displayed for SensitivityLabel.",
1490
- "title": "color"
1491
- },
1492
- "isEncrypted": {
1493
- "type": "boolean",
1494
- "description": " is SensitivityLabel Encrypted.",
1495
- "x-ms-summary": "isEncrypted status of SensitivityLabel",
1496
- "title": "isEncrypted"
1497
- },
1498
- "isEnabled": {
1499
- "type": "boolean",
1500
- "description": "Whether SensitivityLabel is Enabled.",
1501
- "x-ms-summary": "Whether SensitivityLabel is Enabled.",
1502
- "title": "isEnabled"
1503
- },
1504
- "isParent": {
1505
- "type": "boolean",
1506
- "description": "Whether SensitivityLabel is Parent.",
1507
- "x-ms-summary": "Whether SensitivityLabel is Parent",
1508
- "title": "isParent"
1509
- },
1510
- "parentSensitivityLabelId": {
1511
- "type": "string",
1512
- "description": "Parent SensitivityLabel Id.",
1513
- "x-ms-summary": "Parent SensitivityLabel Id",
1514
- "title": "parentSensitivityLabelId"
1515
- }
1516
- }
1517
- },
1518
- "LinklessEntityListResponse[List[Person]]": {
1519
- "description": "Represents a list from the Graph API",
1520
- "type": "object",
1521
- "properties": {
1522
- "value": {
1523
- "description": "Value",
1524
- "type": "array",
1525
- "items": {
1526
- "$ref": "#/definitions/Person"
1527
- }
1528
- }
1529
- }
1530
- },
1531
- "Person": {
1532
- "description": "Represents a Person",
1533
- "type": "object",
1534
- "properties": {
1535
- "id": {
1536
- "description": "A unique identifier for the Person object in the directory",
1537
- "type": "string",
1538
- "x-ms-summary": "Person id"
1539
- },
1540
- "displayName": {
1541
- "description": "The person's display name",
1542
- "type": "string",
1543
- "x-ms-summary": "Display name"
1544
- },
1545
- "givenName": {
1546
- "description": "The person's given name",
1547
- "type": "string",
1548
- "x-ms-summary": "Given name"
1549
- },
1550
- "surname": {
1551
- "description": "The person's surname",
1552
- "type": "string",
1553
- "x-ms-summary": "Surname"
1554
- },
1555
- "birthday": {
1556
- "description": "The person's birthday",
1557
- "type": "string",
1558
- "x-ms-summary": "Birthday"
1559
- },
1560
- "personNotes": {
1561
- "description": "Free-form notes that the current user has taken about this person",
1562
- "type": "string",
1563
- "x-ms-summary": "Person Notes"
1564
- },
1565
- "isFavorite": {
1566
- "description": "If the current user has flagged this person as a favorite",
1567
- "type": "boolean",
1568
- "x-ms-summary": "Is Favorite?"
1569
- },
1570
- "jobTitle": {
1571
- "description": "The person's job title",
1572
- "type": "string",
1573
- "x-ms-summary": "Job title"
1574
- },
1575
- "companyName": {
1576
- "description": "The name of the person's company",
1577
- "type": "string",
1578
- "x-ms-summary": "Company name"
1579
- },
1580
- "department": {
1581
- "description": "The person's department",
1582
- "type": "string",
1583
- "x-ms-summary": "Department"
1584
- },
1585
- "officeLocation": {
1586
- "description": "The location of the person's office",
1587
- "type": "string",
1588
- "x-ms-summary": "Office location"
1589
- },
1590
- "profession": {
1591
- "description": "The person's profession",
1592
- "type": "string",
1593
- "x-ms-summary": "Profession"
1594
- },
1595
- "userPrincipalName": {
1596
- "description": "The user principal name(UPN) of the user.The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name.The general format is alias @domain, where domain must be present in the tenant's collection of verified domains.",
1597
- "type": "string",
1598
- "x-ms-summary": "User Principal Name (UPN)"
1599
- },
1600
- "imAddress": {
1601
- "description": "The person's VOIP SIP address",
1602
- "type": "string",
1603
- "x-ms-summary": "IM Address"
1604
- },
1605
- "scoredEmailAddresses": {
1606
- "description": "Collection of the person's email addresses with a relevance score",
1607
- "type": "array",
1608
- "items": {
1609
- "$ref": "#/definitions/ScoredEmailAddress"
1610
- },
1611
- "x-ms-summary": "Scored Email Addresses"
1612
- },
1613
- "phones": {
1614
- "description": "The person's phone numbers",
1615
- "type": "array",
1616
- "items": {
1617
- "$ref": "#/definitions/Phone"
1618
- },
1619
- "x-ms-summary": "Phones"
1620
- }
1621
- }
1622
- },
1623
- "ScoredEmailAddress": {
1624
- "description": "Represents a scored email address",
1625
- "type": "object",
1626
- "properties": {
1627
- "address": {
1628
- "description": "The email address",
1629
- "type": "string",
1630
- "x-ms-summary": "Email Address"
1631
- },
1632
- "relevanceScore": {
1633
- "format": "double",
1634
- "description": "The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user's communication and collaboration patterns and business relationships.",
1635
- "type": "number",
1636
- "x-ms-summary": "Relevance Score"
1637
- }
1638
- }
1639
- },
1640
- "Phone": {
1641
- "description": "Represents a phone number",
1642
- "type": "object",
1643
- "properties": {
1644
- "number": {
1645
- "description": "The phone number",
1646
- "type": "string",
1647
- "x-ms-summary": "Phone Number"
1648
- },
1649
- "type": {
1650
- "description": "The type of phone number. Possible values: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio.",
1651
- "type": "string",
1652
- "x-ms-summary": "Phone Type"
1653
- }
1654
- }
1655
- },
1656
- "User": {
1657
- "description": "Represents a User object in the directory",
1658
- "required": [
1659
- "Id"
1660
- ],
1661
- "type": "object",
1662
- "properties": {
1663
- "Id": {
1664
- "description": "A unique identifier for the user object in the directory.",
1665
- "type": "string",
1666
- "x-ms-summary": "User id"
1667
- },
1668
- "AccountEnabled": {
1669
- "description": "true if the account is enabled; otherwise, false. This property is required when a user is created.",
1670
- "type": "boolean",
1671
- "x-ms-summary": "Account enabled?"
1672
- },
1673
- "BusinessPhones": {
1674
- "description": "A list of business phone numbers for the user",
1675
- "type": "array",
1676
- "items": {
1677
- "type": "string"
1678
- },
1679
- "readOnly": true,
1680
- "x-ms-summary": "Business phones"
1681
- },
1682
- "City": {
1683
- "description": "The city in which the user is located.",
1684
- "type": "string",
1685
- "x-ms-summary": "City"
1686
- },
1687
- "CompanyName": {
1688
- "description": "The name of the company in which the user works.",
1689
- "type": "string",
1690
- "x-ms-summary": "Company name"
1691
- },
1692
- "Country": {
1693
- "description": "The country/region in which the user is located; for example, \"US\" or \"UK\".",
1694
- "type": "string",
1695
- "x-ms-summary": "Country"
1696
- },
1697
- "Department": {
1698
- "description": "The name of the department in which the user works.",
1699
- "type": "string",
1700
- "x-ms-summary": "Department"
1701
- },
1702
- "DisplayName": {
1703
- "description": "The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates.",
1704
- "type": "string",
1705
- "x-ms-summary": "Display name"
1706
- },
1707
- "GivenName": {
1708
- "description": "The given name (first name) of the user.",
1709
- "type": "string",
1710
- "x-ms-summary": "Given name"
1711
- },
1712
- "JobTitle": {
1713
- "description": "The user’s job title.",
1714
- "type": "string",
1715
- "x-ms-summary": "Job title"
1716
- },
1717
- "Mail": {
1718
- "description": "The SMTP/email address for the user, for example, \"jeff@contoso.onmicrosoft.com\". Read-Only.",
1719
- "type": "string",
1720
- "x-ms-summary": "Email"
1721
- },
1722
- "MailNickname": {
1723
- "description": "The mail alias for the user. This property must be specified when a user is created.",
1724
- "type": "string",
1725
- "x-ms-summary": "Nickname"
1726
- },
1727
- "mobilePhone": {
1728
- "description": "The primary cellular telephone number for the user.",
1729
- "type": "string",
1730
- "x-ms-visibility": "internal"
1731
- },
1732
- "OfficeLocation": {
1733
- "description": "The office location in the user's place of business.",
1734
- "type": "string",
1735
- "x-ms-summary": "Office location"
1736
- },
1737
- "PostalCode": {
1738
- "description": "The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.",
1739
- "type": "string",
1740
- "x-ms-summary": "Postal code"
1741
- },
1742
- "Surname": {
1743
- "description": "The user's surname (family name or last name).",
1744
- "type": "string",
1745
- "x-ms-summary": "Surname"
1746
- },
1747
- "TelephoneNumber": {
1748
- "description": "The primary cellular telephone number for the user.",
1749
- "type": "string",
1750
- "x-ms-summary": "Telephone number"
1751
- },
1752
- "UserPrincipalName": {
1753
- "description": "The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user’s email name. The general format is alias@domain, where domain must be present in the tenant’s collection of verified domains.",
1754
- "type": "string",
1755
- "x-ms-summary": "User Principal Name (UPN)"
1756
- }
1757
- }
1758
- },
1759
- "ClientPhotoMetadata": {
1760
- "description": "Photo Metadata class",
1761
- "type": "object",
1762
- "properties": {
1763
- "HasPhoto": {
1764
- "description": "Has photo",
1765
- "type": "boolean",
1766
- "x-ms-summary": "Has photo"
1767
- },
1768
- "Height": {
1769
- "format": "int32",
1770
- "description": "Height of photo",
1771
- "type": "integer",
1772
- "x-ms-summary": "Height"
1773
- },
1774
- "Width": {
1775
- "format": "int32",
1776
- "description": "Width of photo",
1777
- "type": "integer",
1778
- "x-ms-summary": "Width"
1779
- },
1780
- "ContentType": {
1781
- "description": "Content Type of photo",
1782
- "type": "string",
1783
- "x-ms-summary": "ContentType"
1784
- },
1785
- "ImageFileExtension": {
1786
- "description": "File extension for the photo (ex: \".jpg\")",
1787
- "type": "string",
1788
- "readOnly": true,
1789
- "x-ms-summary": "Image File Extension"
1790
- }
1791
- }
1792
- },
1793
- "Object": {
1794
- "type": "object",
1795
- "properties": {}
1796
- },
1797
- "EntityListResponse[IReadOnlyList[User]]": {
1798
- "description": "Class representing entity list response from an Office API.",
1799
- "type": "object",
1800
- "properties": {
1801
- "value": {
1802
- "description": "Value",
1803
- "type": "array",
1804
- "items": {
1805
- "$ref": "#/definitions/User"
1806
- }
1807
- },
1808
- "@odata.nextLink": {
1809
- "description": "Next page link",
1810
- "type": "string"
1811
- }
1812
- }
1813
- },
1814
- "GraphUser_V1": {
1815
- "description": "User from Graph API",
1816
- "type": "object",
1817
- "properties": {
1818
- "aboutMe": {
1819
- "description": "About Me",
1820
- "type": "string",
1821
- "x-ms-summary": "About Me"
1822
- },
1823
- "accountEnabled": {
1824
- "description": "true if the account is enabled; otherwise, false. This property is required when a user is created.",
1825
- "type": "boolean",
1826
- "x-ms-summary": "Account enabled?"
1827
- },
1828
- "birthday": {
1829
- "description": "Birthday",
1830
- "type": "string",
1831
- "format": "date-time",
1832
- "x-ms-summary": "Birthday"
1833
- },
1834
- "businessPhones": {
1835
- "description": "Business Phones",
1836
- "type": "array",
1837
- "items": {
1838
- "type": "string"
1839
- },
1840
- "x-ms-summary": "Business Phones"
1841
- },
1842
- "city": {
1843
- "description": "The city in which the user is located.",
1844
- "type": "string",
1845
- "x-ms-summary": "City"
1846
- },
1847
- "companyName": {
1848
- "description": "The name of the company in which the user works.",
1849
- "type": "string",
1850
- "x-ms-summary": "Company name"
1851
- },
1852
- "country": {
1853
- "description": "The country/region in which the user is located; for example, \"US\" or \"UK\".",
1854
- "type": "string",
1855
- "x-ms-summary": "Country"
1856
- },
1857
- "department": {
1858
- "description": "The name of the department in which the user works.",
1859
- "type": "string",
1860
- "x-ms-summary": "Department"
1861
- },
1862
- "displayName": {
1863
- "description": "Display Name",
1864
- "type": "string",
1865
- "x-ms-summary": "Display Name"
1866
- },
1867
- "givenName": {
1868
- "description": "Given Name",
1869
- "type": "string",
1870
- "x-ms-summary": "Given Name"
1871
- },
1872
- "hireDate": {
1873
- "type": "string",
1874
- "format": "date-time",
1875
- "description": "Hire Date",
1876
- "x-ms-summary": "Hire Date"
1877
- },
1878
- "id": {
1879
- "description": "Id",
1880
- "type": "string",
1881
- "x-ms-summary": "Id"
1882
- },
1883
- "interests": {
1884
- "type": "array",
1885
- "items": {
1886
- "type": "string"
1887
- },
1888
- "description": "Interests",
1889
- "x-ms-summary": "Interests"
1890
- },
1891
- "jobTitle": {
1892
- "description": "Job Title",
1893
- "type": "string",
1894
- "x-ms-summary": "Job Title"
1895
- },
1896
- "mail": {
1897
- "description": "Mail",
1898
- "type": "string",
1899
- "x-ms-summary": "Mail"
1900
- },
1901
- "mailNickname": {
1902
- "description": "The mail alias for the user. This property must be specified when a user is created.",
1903
- "type": "string",
1904
- "x-ms-summary": "Nickname"
1905
- },
1906
- "mobilePhone": {
1907
- "description": "Mobile Phone",
1908
- "type": "string",
1909
- "x-ms-summary": "Mobile Phone"
1910
- },
1911
- "mySite": {
1912
- "type": "string",
1913
- "description": "My Site",
1914
- "x-ms-summary": "My Site"
1915
- },
1916
- "officeLocation": {
1917
- "description": "Office Location",
1918
- "type": "string",
1919
- "x-ms-summary": "Office Location"
1920
- },
1921
- "pastProjects": {
1922
- "type": "array",
1923
- "items": {
1924
- "type": "string"
1925
- },
1926
- "description": "Past Projects",
1927
- "x-ms-summary": "Past Projects"
1928
- },
1929
- "postalCode": {
1930
- "description": "The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.",
1931
- "type": "string",
1932
- "x-ms-summary": "Postal code"
1933
- },
1934
- "preferredLanguage": {
1935
- "description": "Preferred Language",
1936
- "type": "string",
1937
- "x-ms-summary": "Preferred Language"
1938
- },
1939
- "preferredName": {
1940
- "type": "string",
1941
- "description": "Preferred Name",
1942
- "x-ms-summary": "Preferred Name"
1943
- },
1944
- "responsibilities": {
1945
- "type": "array",
1946
- "items": {
1947
- "type": "string"
1948
- },
1949
- "description": "Responsibilities",
1950
- "x-ms-summary": "Responsibilities"
1951
- },
1952
- "schools": {
1953
- "type": "array",
1954
- "items": {
1955
- "type": "string"
1956
- },
1957
- "description": "Schools",
1958
- "x-ms-summary": "Schools"
1959
- },
1960
- "skills": {
1961
- "type": "array",
1962
- "items": {
1963
- "type": "string"
1964
- },
1965
- "description": "Skills",
1966
- "x-ms-summary": "Skills"
1967
- },
1968
- "state": {
1969
- "type": "string",
1970
- "description": "State",
1971
- "x-ms-summary": "State"
1972
- },
1973
- "streetAddress": {
1974
- "type": "string",
1975
- "description": "Street Address",
1976
- "x-ms-summary": "Street Address"
1977
- },
1978
- "surname": {
1979
- "description": "Surname",
1980
- "type": "string",
1981
- "x-ms-summary": "Surname"
1982
- },
1983
- "userPrincipalName": {
1984
- "description": "User Principal Name",
1985
- "type": "string",
1986
- "x-ms-summary": "User Principal Name"
1987
- },
1988
- "userType": {
1989
- "type": "string",
1990
- "description": "User Type",
1991
- "x-ms-summary": "User Type"
1992
- }
1993
- }
1994
- },
1995
- "ObjectWithoutType": {}
1996
- },
1997
- "securityDefinitions": {
1998
- "oauth2_auth": {
1999
- "type": "oauth2",
2000
- "flow": "accessCode",
2001
- "authorizationUrl": "https://login.windows.net/common/oauth2/authorize",
2002
- "tokenUrl": "https://login.windows.net/common/oauth2/authorize",
2003
- "scopes": {
2004
- "Sites.Read.All User.ReadBasic.All User.ReadWrite": "Sites.Read.All User.ReadBasic.All User.ReadWrite"
2005
- }
2006
- }
2007
- },
2008
- "security": [
2009
- {
2010
- "oauth2_auth": [
2011
- "Sites.Read.All User.ReadBasic.All User.ReadWrite"
2012
- ]
2013
- }
2014
- ],
2015
- "tags": [],
2016
- "x-ms-connector-metadata": [
2017
- {
2018
- "propertyName": "Website",
2019
- "propertyValue": "https://www.office.com/"
2020
- },
2021
- {
2022
- "propertyName": "Privacy policy",
2023
- "propertyValue": "https://privacy.microsoft.com/"
2024
- },
2025
- {
2026
- "propertyName": "Categories",
2027
- "propertyValue": "AI;Business Intelligence"
2028
- }
2029
- ],
2030
- "x-ms-capabilities": {
2031
- "testConnection": {
2032
- "operationId": "TestConnection",
2033
- "parameters": {}
2034
- }
2035
- },
2036
- "parameters": {
2037
- "extractSensitivityLabel": {
2038
- "name": "extractSensitivityLabel",
2039
- "in": "query",
2040
- "description": "Select if you want to extract Sensitivity label ( false, true).",
2041
- "required": false,
2042
- "x-ms-summary": "Extract Sensitivity Label",
2043
- "type": "boolean"
2044
- },
2045
- "fetchSensitivityLabelMetadata": {
2046
- "name": "fetchSensitivityLabelMetadata",
2047
- "in": "query",
2048
- "required": false,
2049
- "description": "A boolean whether to fetch sensitivity label Metadata for associated LabelId.",
2050
- "x-ms-summary": "Sensitivity Label Metadata",
2051
- "type": "boolean"
2052
- }
2053
- },
2054
- "externalDocs": {
2055
- "url": "https://docs.microsoft.com/connectors/office365users"
2056
- }
2057
- },
2058
- "runtimeUrls": [
2059
- "https://unitedstates-002.azure-apim.net/apim/office365users"
2060
- ],
2061
- "primaryRuntimeUrl": "https://unitedstates-002.azure-apim.net/apim/office365users",
2062
- "doNotUseApiHubNetRuntimeUrl": "https://unitedstates-002.azure-apim.net/apim/office365users",
2063
- "metadata": {
2064
- "source": "marketplace",
2065
- "brandColor": "#FFFFFF",
2066
- "useNewApimVersion": "true",
2067
- "version": {
2068
- "previous": "releases/v1.0.1788\\1.0.1788.4524",
2069
- "current": "releases/v1.0.1788\\1.0.1788.4544"
2070
- }
2071
- },
2072
- "capabilities": [
2073
- "actions"
2074
- ],
2075
- "interfaces": {},
2076
- "description": "Office 365 Users Connection provider lets you access user profiles in your organization using your Office 365 account. You can perform various actions such as get your profile, a user's profile, a user's manager or direct reports and also update a user profile.",
2077
- "createdTime": "2018-07-10T17:18:13.5987777Z",
2078
- "changedTime": "2026-03-01T05:07:41.6978892Z",
2079
- "releaseTag": "Production",
2080
- "tier": "Standard",
2081
- "publisher": "Microsoft",
2082
- "scopes": {
2083
- "will": [
2084
- "Read your full user profile",
2085
- "Read the full profile of all users"
2086
- ],
2087
- "wont": [
2088
- "Modify or delete any user-profile information"
2089
- ]
2090
- },
2091
- "rateLimit": 0,
2092
- "apiVersion": "None"
2093
- }
2094
- }