@microsoft/managed-apps-cli 0.21.0 → 0.23.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 (90) hide show
  1. package/README.md +3 -1
  2. package/dist/AddConfig-GZO2UMFR.js +12 -0
  3. package/dist/AddConnector-HJCCENAM.js +23 -0
  4. package/dist/{AuthStatus-ZZIP3LBD.js → AuthStatus-WCICFN6O.js} +2 -2
  5. package/dist/{AuthSwitch-HK7JU2FR.js → AuthSwitch-5PKHCTM2.js} +2 -2
  6. package/dist/Bin.js +1 -1
  7. package/dist/BuildMaafApp-Q74EFM3Q.js +11 -0
  8. package/dist/Cli-7EVTIORX.js +54 -0
  9. package/dist/CloneMaafApp-EKHHLMWD.js +11 -0
  10. package/dist/CreateMaafApp-L3XX2UVT.js +20 -0
  11. package/dist/DeleteMaafApp-YCDKWFRG.js +11 -0
  12. package/dist/DeployMaafApp-HF67BQRZ.js +14 -0
  13. package/dist/{Dev-SHIA5S7X.js → Dev-BTJUJGP5.js} +2 -2
  14. package/dist/{EnvironmentVariableAuthenticationProvider-5YTMRAE4.js → EnvironmentVariableAuthenticationProvider-VNN4AG2E.js} +2 -2
  15. package/dist/GetMaafBuildStatus-7B6ZNSEA.js +11 -0
  16. package/dist/{GetSettings-NM6H2U5F.js → GetSettings-GJWIPK2T.js} +2 -2
  17. package/dist/InfoMaafApp-WGNDYYGN.js +13 -0
  18. package/dist/Init-TJOSV5DE.js +11 -0
  19. package/dist/ListConnectorActions-HTD6YSCY.js +11 -0
  20. package/dist/ListConnectors-OET7STMW.js +11 -0
  21. package/dist/{ListMaafApps-RT3PGZSJ.js → ListMaafApps-KRXJMAEU.js} +2 -2
  22. package/dist/{Login-HG5S7LBC.js → Login-5TFNB24B.js} +2 -2
  23. package/dist/{Logout-BUPHLOAH.js → Logout-35U4J627.js} +2 -2
  24. package/dist/{MockFetch-4CYTSNJ7.js → MockFetch-XSZECQYX.js} +2 -2
  25. package/dist/{NodeMsalAuthenticationProvider-HTH3V3G2.js → NodeMsalAuthenticationProvider-OUL57BVL.js} +2 -2
  26. package/dist/Pack-S7P4MIT6.js +8 -0
  27. package/dist/PlayMaafApp-D4KLJKLT.js +12 -0
  28. package/dist/RefreshDataSource-N5CEH23S.js +11 -0
  29. package/dist/{RefreshGitAuth-5A3SX2HC.js → RefreshGitAuth-2VL6VBLU.js} +2 -2
  30. package/dist/{RemoveDataSource-57JJLK5I.js → RemoveDataSource-XR5Q4O3F.js} +2 -2
  31. package/dist/{ServicePrincipalAuthenticationProvider-SVKDZG6X.js → ServicePrincipalAuthenticationProvider-H3PTPXYY.js} +2 -2
  32. package/dist/{SetSetting-RB3F7IXG.js → SetSetting-HXY4YSKC.js} +2 -2
  33. package/dist/{ShareLinkCreate-7BCDPWY6.js → ShareLinkCreate-YG3DACP2.js} +2 -2
  34. package/dist/{ShareLinkList-4BI3WMNN.js → ShareLinkList-XF6BIB3M.js} +2 -2
  35. package/dist/ShareLinkRevoke-4USAQKLB.js +11 -0
  36. package/dist/ShareList-6QI7ZAMZ.js +11 -0
  37. package/dist/{ShareMaafApp-QFRXLYUD.js → ShareMaafApp-PZI5MCBA.js} +2 -2
  38. package/dist/{TelemetrySettings-A474HALH.js → TelemetrySettings-WWVPRF7T.js} +2 -2
  39. package/dist/{UnshareMaafApp-423RNXCN.js → UnshareMaafApp-MHBIV5OR.js} +2 -2
  40. package/dist/chunk-2FNWZUPW.js +15 -0
  41. package/dist/chunk-2HSJ2XAQ.js +13 -0
  42. package/dist/{chunk-U36HMOQW.js → chunk-3FP37TPE.js} +10 -10
  43. package/dist/chunk-5XRK3F43.js +11 -0
  44. package/dist/{chunk-EV3TTTOT.js → chunk-7PH2NK5K.js} +2 -2
  45. package/dist/chunk-DAG6RPOF.js +11 -0
  46. package/dist/{chunk-5AUOEXAR.js → chunk-DD7E4ADI.js} +2 -2
  47. package/dist/chunk-F3HGM3IU.js +106 -0
  48. package/dist/chunk-FMJDKXNM.js +12 -0
  49. package/dist/chunk-HCPTQP7J.js +11 -0
  50. package/dist/chunk-I22E6YZT.js +11 -0
  51. package/dist/chunk-LDP2SHPJ.js +11 -0
  52. package/dist/{chunk-3BRAT6NP.js → chunk-PKDXP7CL.js} +2 -2
  53. package/dist/chunk-SBVJ4SMO.js +20 -0
  54. package/dist/chunk-SCJXITCN.js +12 -0
  55. package/dist/chunk-TZRZFNLH.js +38 -0
  56. package/dist/{chunk-G33Q5FWT.js → chunk-UIW77LMA.js} +234 -234
  57. package/dist/chunk-WQKDXHGX.js +11 -0
  58. package/dist/{chunk-MFPX2RFH.js → chunk-X5O77GZS.js} +2 -2
  59. package/dist/{chunk-7NXJAIJX.js → chunk-Y7TZZLPW.js} +2 -2
  60. package/dist/chunk-ZIONKKAV.js +44 -0
  61. package/package.json +4 -4
  62. package/dist/AddConnector-4AMM746J.js +0 -41
  63. package/dist/BuildMaafApp-MOTZOLJZ.js +0 -11
  64. package/dist/Cli-6CCXMCPX.js +0 -54
  65. package/dist/CreateMaafApp-TUO72CW7.js +0 -20
  66. package/dist/DeleteMaafApp-MZVGIAX3.js +0 -11
  67. package/dist/DeployMaafApp-KXATM3E3.js +0 -14
  68. package/dist/GetMaafApp-ELB5KMHW.js +0 -11
  69. package/dist/GetMaafBuildStatus-3W7LI5TJ.js +0 -11
  70. package/dist/Init-CH5DUQWA.js +0 -11
  71. package/dist/ListConnectorActions-7SIFGPYR.js +0 -11
  72. package/dist/ListConnectors-TRKIWRVQ.js +0 -11
  73. package/dist/Pack-AHKC2MYF.js +0 -8
  74. package/dist/PlayMaafApp-LWKJU2IN.js +0 -12
  75. package/dist/RefreshDataSource-ZFZJXJ5L.js +0 -11
  76. package/dist/ShareLinkRevoke-EEJVCRCY.js +0 -11
  77. package/dist/ShareList-LJDAEGI3.js +0 -11
  78. package/dist/ShowMaafApp-3KK6NUG2.js +0 -11
  79. package/dist/chunk-6FFQN2SO.js +0 -13
  80. package/dist/chunk-6MXOK2LG.js +0 -11
  81. package/dist/chunk-DREO7EYO.js +0 -20
  82. package/dist/chunk-NP2KJOYC.js +0 -12
  83. package/dist/chunk-QAFCXGBD.js +0 -11
  84. package/dist/chunk-QSB5P4RM.js +0 -38
  85. package/dist/chunk-S5HEU7XK.js +0 -11
  86. package/dist/chunk-UBTSW22U.js +0 -11
  87. package/dist/chunk-VFSTQAZ2.js +0 -12
  88. package/dist/chunk-VNEZZ3RI.js +0 -11
  89. package/dist/chunk-W7EWOZPO.js +0 -104
  90. package/dist/chunk-YIKNM523.js +0 -15
@@ -4,10 +4,10 @@ import { dirname as __pathDirname } from 'node:path';
4
4
  const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __pathDirname(__filename);
7
- import{h as c}from"./chunk-S5HEU7XK.js";import"./chunk-EV3TTTOT.js";import{b as h,c as f}from"./chunk-7NXJAIJX.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";import{randomUUID as U}from"crypto";import{appendFileSync as re}from"fs";var $={name:"shared_office365users",id:"/providers/Microsoft.PowerApps/apis/shared_office365users",type:"Microsoft.PowerApps/apis",properties:{displayName:"Office 365 Users",iconUri:"REDACTED",iconBrandColor:"#eb3c00",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{Token:{type:"oauthSetting",oAuthSettings:{identityProvider:"office365usercertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED"},loginUri:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}},uiDefinition:{displayName:"Log in with Office 365 Credentials",description:"Log in with Office 365 Credentials",tooltip:"Provide Office 365 Credentials",constraints:{required:"true"}}},"Token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}}},swagger:{swagger:"2.0",info:{version:"1.0",title:"Office 365 Users",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.","x-ms-api-annotation":{status:"Production"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/office365users",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/codeless/v1.0/me":{patch:{summary:"Update my profile",description:"Updates the profile of the current user",operationId:"UpdateMyProfile",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",required:!1,schema:{$ref:"#/definitions/GraphUserUpdateable_V1"}}],responses:{default:{description:"default"}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"REDACTED"}},get:{summary:"Get my profile (V2)",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",operationId:"MyProfile_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"MyProfile",revision:2},responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v2)"}}},"/{connectionId}/codeless/v1.0/me/photo/$value":{put:{summary:"Update my profile photo",description:"Updates the profile photo of the current user. The size of the photo must be less than 4 MB.",operationId:"UpdateMyPhoto",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",schema:{type:"string",format:"binary"},required:!0,description:"Image content","x-ms-summary":"Image content"},{name:"Content-Type",in:"header",type:"string",default:"image/jpeg",required:!0,description:"Image content type (like 'image/jpeg')","x-ms-summary":"Content-Type","x-ms-visibility":"advanced"}],responses:{default:{description:"default"}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#update-my-profile-photo"}}},"/{connectionId}/codeless/beta/me/insights/trending":{get:{summary:"Get my trending documents",description:"Retrieves the trending documents for the signed in user",operationId:"MyTrendingDocuments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"$filter",in:"query",required:!1,type:"string",description:"An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType","x-ms-summary":"Filter query"},{name:"extractSensitivityLabel",in:"query",description:'Select if you want to extract Sensitivity label ( "false", "true").',required:!1,"x-ms-summary":"Extract Sensitivity Label",type:"string",default:"false",enum:["false","true"]},{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata",type:"string",default:"false",enum:["false","true"]}],responses:{200:{description:"200",schema:{description:"List of trending documents",type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/GraphTrending"},description:"value","x-ms-summary":"value"}}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-trending-documents"}}},"/{connectionId}/users/{userId}/relevantpeople":{get:{tags:["People"],summary:"Get relevant people",description:"Get relevant people.",operationId:"RelevantPeople",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/LinklessEntityListResponse[List[Person]]"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-relevant-people"}}},"/{connectionId}/users/me":{get:{tags:["Users"],summary:"Get my profile (V1)",description:"Retrieves the profile of the current user.",operationId:"MyProfile",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"MyProfile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v1)-%5bdeprecated%5d"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/users/{userId}":{get:{tags:["Users"],summary:"Get user profile (V1)",description:"Retrieves the profile of a specific user.",operationId:"UserProfile",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"UserProfile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/photo":{get:{tags:["Users"],summary:"Get user photo metadata",description:"Get user photo metadata.",operationId:"UserPhotoMetadata",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"query",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ClientPhotoMetadata"}},default:{description:"Operation Failed."}},deprecated:!1,externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-metadata"}}},"/{connectionId}/users/photo/value":{get:{tags:["Users"],summary:"Get user photo (V1)",description:"Retrieves the photo of the specified user if they have one.",operationId:"UserPhoto",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"query",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{format:"binary",type:"string","x-ms-media-kind":"image","x-ms-summary":"Image file content"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"UserPhoto",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/{userId}/manager":{get:{tags:["Users"],summary:"Get manager (V1)",description:"Retrieves the profile of the specified user's manager.",operationId:"Manager",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"Manager",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-manager-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/{userId}/directReports":{get:{tags:["Users"],summary:"Get direct reports (V1)",description:"Retrieves the user profiles of the specified user's direct reports.",operationId:"DirectReports",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{type:"array",items:{$ref:"#/definitions/User"}}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"DirectReports",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users":{get:{tags:["Users"],summary:"Search for users",description:"Retrieves the user profiles that match the search term.",operationId:"SearchUser",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"searchTerm",in:"query",description:"Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",required:!1,"x-ms-summary":"Search term",type:"string"},{name:"top",in:"query",description:"Limit on the number of results to return. By default returns all entries.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32",default:0}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{type:"array",items:{$ref:"#/definitions/User"}}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"SearchUser",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#search-for-users-%5bdeprecated%5d"}}},"/{connectionId}/v2/users":{get:{tags:["Users"],summary:"Search for users (V2)",description:"Retrieves the user profiles that match the search term (V2).",operationId:"SearchUserV2",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"searchTerm",in:"query",description:"Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",required:!1,"x-ms-summary":"Search term",type:"string"},{name:"top",in:"query",description:"Limit on the number of results to return. Minimum value is 1. Default value is 1000.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"isSearchTermRequired",in:"query",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.",required:!1,"x-ms-summary":"Is search term required","x-ms-visibility":"advanced",type:"boolean",default:!0},{name:"skipToken",in:"query",description:"Skip token to get next users.",required:!1,"x-ms-summary":"Skip token","x-ms-visibility":"internal",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/EntityListResponse[IReadOnlyList[User]]"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-api-annotation":{status:"Production",family:"SearchUser",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#search-for-users-(v2)"}}},"/{connectionId}/testconnection":{get:{tags:["Users"],summary:"Tests the connection",description:"Tests the connection.",operationId:"TestConnection",consumes:[],produces:[],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"internal",externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#tests-the-connection"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/codeless/v1.0/users/{id}":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},summary:"Get user profile (V2)",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",operationId:"UserProfile_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"UserProfile",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/manager":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},summary:"Get manager (V2)",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",operationId:"Manager_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"Manager",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-manager-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/directReports":{get:{responses:{200:{description:"OK",schema:{description:"List of direct reports",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/GraphUser_V1"}}}}}},summary:"Get direct reports (V2)",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",operationId:"DirectReports_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"},{name:"$top",in:"query",description:"Limit on the number of results to return. By default returns all entries.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"DirectReports",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/photo/$value":{get:{summary:"Get user photo (V2)",description:"Retrieves the photo of the specified user if they have one",operationId:"UserPhoto_V2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"}],responses:{200:{description:"OK",schema:{format:"binary",type:"string","x-ms-media-kind":"image","x-ms-summary":"Image file content"}}},deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"UserPhoto",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v2)"}}},"/{connectionId}/codeless/beta/users/{id}/insights/trending":{get:{summary:"Get trending documents",description:"Retrieves the trending documents for a user",operationId:"TrendingDocuments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$filter",in:"query",required:!1,type:"string",description:"An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType","x-ms-summary":"Filter query"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"}],responses:{200:{description:"200",schema:{description:"List of trending documents",type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/GraphTrending"},description:"value","x-ms-summary":"value"}}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-trending-documents"}}},"/{connectionId}/codeless/httprequest":{post:{summary:"Send an HTTP request",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.",operationId:"HttpRequest",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET).",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content.",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json).",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#send-an-http-request"}}}},definitions:{GraphUserUpdateable_V1:{description:"Updateable parts of user from Graph API",type:"object",properties:{aboutMe:{type:"string",description:"About Me","x-ms-summary":"About Me"},birthday:{type:"string",format:"date-time",description:"Birthday","x-ms-summary":"Birthday"},interests:{type:"array",items:{type:"string"},description:"Interests","x-ms-summary":"Interests"},mySite:{type:"string",description:"My Site","x-ms-summary":"My Site"},pastProjects:{type:"array",items:{type:"string"},description:"Past Projects","x-ms-summary":"Past Projects"},schools:{type:"array",items:{type:"string"},description:"Schools","x-ms-summary":"Schools"},skills:{type:"array",items:{type:"string"},description:"Skills","x-ms-summary":"Skills"}}},GraphTrending:{description:"Trending documents from Graph API",type:"object",properties:{id:{type:"string",description:"Unique identifier of the relationship","x-ms-summary":"Id"},weight:{type:"number",format:"float",description:"Value indicating how much the document is currently trending","x-ms-summary":"Weight"},resourceVisualization:{$ref:"#/definitions/resourceVisualization"},resourceReference:{$ref:"#/definitions/resourceReference"}}},resourceVisualization:{type:"object",properties:{title:{type:"string",description:"The item's title text","x-ms-summary":"Title"},type:{type:"string",description:"The item's media type (can be used for filtering for a specific file based on a specific type)","x-ms-summary":"Type"},mediaType:{type:"string",description:"The items media type (can be used for filtering for a specific type of file based on supported IANA Media MIME types)","x-ms-summary":"Media type"},previewImageUrl:{type:"string",description:"A URL leading to the preview image for the item","x-ms-summary":"Preview image URL"},previewText:{type:"string",description:"A preview text for the item","x-ms-summary":"Preview text"},containerWebUrl:{type:"string",description:"A path leading to the folder in which the item is stored","x-ms-summary":"Container web URL"},containerDisplayName:{type:"string",description:"A string describing where the item is stored","x-ms-summary":"Container display name"},containerType:{type:"string",description:"Can be used for filtering by the type of container in which the file is stored","x-ms-summary":"Container type"}},description:"resourceVisualization","x-ms-summary":"Resource visualization"},resourceReference:{type:"object",properties:{webUrl:{type:"string",description:"A URL leading to the referenced item","x-ms-summary":"Web URL"},id:{type:"string",description:"The item's unique identifier","x-ms-summary":"Id"},type:{type:"string",description:'A string value that can be used to classify the item, such as "microsoft.graph.driveItem"',"x-ms-summary":"Type"}},description:"resourceReference","x-ms-summary":"Resource reference"},"LinklessEntityListResponse[List[Person]]":{description:"Represents a list from the Graph API",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/Person"}}}},Person:{description:"Represents a Person",type:"object",properties:{id:{description:"A unique identifier for the Person object in the directory",type:"string","x-ms-summary":"Person id"},displayName:{description:"The person's display name",type:"string","x-ms-summary":"Display name"},givenName:{description:"The person's given name",type:"string","x-ms-summary":"Given name"},surname:{description:"The person's surname",type:"string","x-ms-summary":"Surname"},birthday:{description:"The person's birthday",type:"string","x-ms-summary":"Birthday"},personNotes:{description:"Free-form notes that the current user has taken about this person",type:"string","x-ms-summary":"Person Notes"},isFavorite:{description:"If the current user has flagged this person as a favorite",type:"boolean","x-ms-summary":"Is Favorite?"},jobTitle:{description:"The person's job title",type:"string","x-ms-summary":"Job title"},companyName:{description:"The name of the person's company",type:"string","x-ms-summary":"Company name"},department:{description:"The person's department",type:"string","x-ms-summary":"Department"},officeLocation:{description:"The location of the person's office",type:"string","x-ms-summary":"Office location"},profession:{description:"The person's profession",type:"string","x-ms-summary":"Profession"},userPrincipalName:{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.",type:"string","x-ms-summary":"User Principal Name (UPN)"},imAddress:{description:"The person's VOIP SIP address",type:"string","x-ms-summary":"IM Address"},scoredEmailAddresses:{description:"Collection of the person's email addresses with a relevance score",type:"array",items:{$ref:"#/definitions/ScoredEmailAddress"},"x-ms-summary":"Scored Email Addresses"},phones:{description:"The person's phone numbers",type:"array",items:{$ref:"#/definitions/Phone"},"x-ms-summary":"Phones"}}},ScoredEmailAddress:{description:"Represents a scored email address",type:"object",properties:{address:{description:"The email address",type:"string","x-ms-summary":"Email Address"},relevanceScore:{format:"double",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.",type:"number","x-ms-summary":"Relevance Score"}}},Phone:{description:"Represents a phone number",type:"object",properties:{number:{description:"The phone number",type:"string","x-ms-summary":"Phone Number"},type:{description:"The type of phone number. Possible values: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio.",type:"string","x-ms-summary":"Phone Type"}}},User:{description:"Represents a User object in the directory",required:["Id"],type:"object",properties:{Id:{description:"A unique identifier for the user object in the directory.",type:"string","x-ms-summary":"User id"},AccountEnabled:{description:"true if the account is enabled; otherwise, false. This property is required when a user is created.",type:"boolean","x-ms-summary":"Account enabled?"},BusinessPhones:{description:"A list of business phone numbers for the user",type:"array",items:{type:"string"},readOnly:!0,"x-ms-summary":"Business phones"},City:{description:"The city in which the user is located.",type:"string","x-ms-summary":"City"},CompanyName:{description:"The name of the company in which the user works.",type:"string","x-ms-summary":"Company name"},Country:{description:'The country/region in which the user is located; for example, "US" or "UK".',type:"string","x-ms-summary":"Country"},Department:{description:"The name of the department in which the user works.",type:"string","x-ms-summary":"Department"},DisplayName:{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.",type:"string","x-ms-summary":"Display name"},GivenName:{description:"The given name (first name) of the user.",type:"string","x-ms-summary":"Given name"},JobTitle:{description:"The user\u2019s job title.",type:"string","x-ms-summary":"Job title"},Mail:{description:'The SMTP/email address for the user, for example, "jeff@contoso.onmicrosoft.com". Read-Only.',type:"string","x-ms-summary":"Email"},MailNickname:{description:"The mail alias for the user. This property must be specified when a user is created.",type:"string","x-ms-summary":"Nickname"},mobilePhone:{description:"The primary cellular telephone number for the user.",type:"string","x-ms-visibility":"internal"},OfficeLocation:{description:"The office location in the user's place of business.",type:"string","x-ms-summary":"Office location"},PostalCode:{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.",type:"string","x-ms-summary":"Postal code"},Surname:{description:"The user's surname (family name or last name).",type:"string","x-ms-summary":"Surname"},TelephoneNumber:{description:"The primary cellular telephone number for the user.",type:"string","x-ms-summary":"Telephone number"},UserPrincipalName:{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\u2019s email name. The general format is alias@domain, where domain must be present in the tenant\u2019s collection of verified domains.",type:"string","x-ms-summary":"User Principal Name (UPN)"}}},ClientPhotoMetadata:{description:"Photo Metadata class",type:"object",properties:{HasPhoto:{description:"Has photo",type:"boolean","x-ms-summary":"Has photo"},Height:{format:"int32",description:"Height of photo",type:"integer","x-ms-summary":"Height"},Width:{format:"int32",description:"Width of photo",type:"integer","x-ms-summary":"Width"},ContentType:{description:"Content Type of photo",type:"string","x-ms-summary":"ContentType"},ImageFileExtension:{description:'File extension for the photo (ex: ".jpg")',type:"string",readOnly:!0,"x-ms-summary":"Image File Extension"}}},Object:{type:"object",properties:{}},"EntityListResponse[IReadOnlyList[User]]":{description:"Class representing entity list response from an Office API.",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/User"}},"@odata.nextLink":{description:"Next page link",type:"string"}}},GraphUser_V1:{description:"User from Graph API",type:"object",properties:{aboutMe:{description:"About Me",type:"string","x-ms-summary":"About Me"},accountEnabled:{description:"true if the account is enabled; otherwise, false. This property is required when a user is created.",type:"boolean","x-ms-summary":"Account enabled?"},birthday:{description:"Birthday",type:"string",format:"date-time","x-ms-summary":"Birthday"},businessPhones:{description:"Business Phones",type:"array",items:{type:"string"},"x-ms-summary":"Business Phones"},city:{description:"The city in which the user is located.",type:"string","x-ms-summary":"City"},companyName:{description:"The name of the company in which the user works.",type:"string","x-ms-summary":"Company name"},country:{description:'The country/region in which the user is located; for example, "US" or "UK".',type:"string","x-ms-summary":"Country"},department:{description:"The name of the department in which the user works.",type:"string","x-ms-summary":"Department"},displayName:{description:"Display Name",type:"string","x-ms-summary":"Display Name"},givenName:{description:"Given Name",type:"string","x-ms-summary":"Given Name"},hireDate:{type:"string",format:"date-time",description:"Hire Date","x-ms-summary":"Hire Date"},id:{description:"Id",type:"string","x-ms-summary":"Id"},interests:{type:"array",items:{type:"string"},description:"Interests","x-ms-summary":"Interests"},jobTitle:{description:"Job Title",type:"string","x-ms-summary":"Job Title"},mail:{description:"Mail",type:"string","x-ms-summary":"Mail"},mailNickname:{description:"The mail alias for the user. This property must be specified when a user is created.",type:"string","x-ms-summary":"Nickname"},mobilePhone:{description:"Mobile Phone",type:"string","x-ms-summary":"Mobile Phone"},mySite:{type:"string",description:"My Site","x-ms-summary":"My Site"},officeLocation:{description:"Office Location",type:"string","x-ms-summary":"Office Location"},pastProjects:{type:"array",items:{type:"string"},description:"Past Projects","x-ms-summary":"Past Projects"},postalCode:{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.",type:"string","x-ms-summary":"Postal code"},preferredLanguage:{description:"Preferred Language",type:"string","x-ms-summary":"Preferred Language"},preferredName:{type:"string",description:"Preferred Name","x-ms-summary":"Preferred Name"},responsibilities:{type:"array",items:{type:"string"},description:"Responsibilities","x-ms-summary":"Responsibilities"},schools:{type:"array",items:{type:"string"},description:"Schools","x-ms-summary":"Schools"},skills:{type:"array",items:{type:"string"},description:"Skills","x-ms-summary":"Skills"},state:{type:"string",description:"State","x-ms-summary":"State"},streetAddress:{type:"string",description:"Street Address","x-ms-summary":"Street Address"},surname:{description:"Surname",type:"string","x-ms-summary":"Surname"},userPrincipalName:{description:"User Principal Name",type:"string","x-ms-summary":"User Principal Name"},userType:{type:"string",description:"User Type","x-ms-summary":"User Type"}}},ObjectWithoutType:{}},securityDefinitions:{oauth2_auth:{type:"oauth2",flow:"accessCode",authorizationUrl:"https://login.windows.net/common/oauth2/authorize",tokenUrl:"https://login.windows.net/common/oauth2/authorize",scopes:{"Sites.Read.All User.ReadBasic.All User.ReadWrite":"Sites.Read.All User.ReadBasic.All User.ReadWrite"}}},security:[{oauth2_auth:["Sites.Read.All User.ReadBasic.All User.ReadWrite"]}],tags:[],"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://www.office.com/"}],"x-ms-capabilities":{testConnection:{operationId:"TestConnection",parameters:{}}},parameters:{extractSensitivityLabel:{name:"extractSensitivityLabel",in:"query",description:'Select if you want to extract Sensitivity label ( "false", "true").',required:!1,"x-ms-summary":"Extract Sensitivity Label",type:"string",default:"false",enum:["false","true"]},fetchSensitivityLabelMetadata:{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata",type:"string",default:"false",enum:["false","true"]}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users"}},wadlUrl:"https://pafeblobprodcy.blob.core.windows.net/apiwadls-983f0a2f-70b4-4055-93ae-d5a6659c9cc7/shared%3A2Doffice365users?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A09Z&se=2025-07-03T09%3A05%3A09Z&sr=c&sp=rl&scid=88b17a3b-17f4-4086-8294-a4e81fbae2bd&sig=M9luk4QeqW%2F7MqFciTD3MatAadIkZ35GMc8FnvMKirE%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users",metadata:{source:"marketplace",brandColor:"#eb3c00",useNewApimVersion:"true",version:{previous:"v1.0.1751\\1.0.1751.4212",current:"v1.0.1751\\1.0.1751.4213"}},capabilities:["actions"],interfaces:{},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.",createdTime:"2016-10-13T00:29:38.7281213Z",changedTime:"2025-05-03T00:30:22.5108959Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:["Read your full user profile","Read the full profile of all users"],wont:["Modify or delete any user-profile information"]},rateLimit:0,apiVersion:"None"}},m=$;var g=m,G=g.properties??{},V={...g,name:"shared_commondataserviceforapps",id:"/providers/Microsoft.PowerApps/apis/shared_commondataserviceforapps",type:"Microsoft.PowerApps/apis",properties:{...G,displayName:"Microsoft Dataverse (legacy)",connectionParameters:{},connectionParameterSets:void 0,metadata:{allowSharing:!1}}},b=V;var H={MetadataId:"11111111-1111-1111-1111-111111111111",LogicalName:"contact",EntitySetName:"contacts",PrimaryIdAttribute:"contactid",PrimaryNameAttribute:"fullname",DisplayName:{UserLocalizedLabel:{Label:"Contact"}},DisplayCollectionName:{UserLocalizedLabel:{Label:"Contacts"}},Attributes:[{LogicalName:"contactid",SchemaName:"ContactId",AttributeTypeName:{Value:"Uniqueidentifier"},DisplayName:{UserLocalizedLabel:{Label:"Contact"}},IsPrimaryId:!0,IsValidForCreate:!1,IsValidForUpdate:!1,RequiredLevel:{Value:"SystemRequired"}},{LogicalName:"fullname",SchemaName:"FullName",AttributeTypeName:{Value:"String"},DisplayName:{UserLocalizedLabel:{Label:"Full Name"}},IsPrimaryName:!0,MaxLength:160},{LogicalName:"emailaddress1",SchemaName:"EMailAddress1",AttributeTypeName:{Value:"String"},DisplayName:{UserLocalizedLabel:{Label:"Email"}},MaxLength:100},{LogicalName:"createdon",SchemaName:"CreatedOn",AttributeTypeName:{Value:"DateTime"},DisplayName:{UserLocalizedLabel:{Label:"Created On"}},IsValidForCreate:!1,IsValidForUpdate:!1}],ManyToOneRelationships:[],OneToManyRelationships:[],ManyToManyRelationships:[]},x=H;var B={name:"shared_excelonlinebusiness",id:"/providers/Microsoft.PowerApps/apis/shared_excelonlinebusiness",type:"Microsoft.PowerApps/apis",properties:{displayName:"Excel Online Business",iconUri:"REDACTED",iconBrandColor:"#eb3c00",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{Token:{type:"oauthSetting",oAuthSettings:{identityProvider:"office365usercertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED"},loginUri:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}},uiDefinition:{displayName:"Log in with Office 365 Credentials",description:"Log in with Office 365 Credentials",tooltip:"Provide Office 365 Credentials",constraints:{required:"true"}}},"Token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}}},swagger:{swagger:"2.0",info:{version:"1.0",title:"Office 365 Users",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.","x-ms-api-annotation":{status:"Production"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/office365users",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/codeless/v1.0/me":{patch:{summary:"Update my profile",description:"Updates the profile of the current user",operationId:"UpdateMyProfile",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",required:!1,schema:{$ref:"#/definitions/GraphUserUpdateable_V1"}}],responses:{default:{description:"default"}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"REDACTED"}},get:{summary:"Get my profile (V2)",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",operationId:"MyProfile_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"MyProfile",revision:2},responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v2)"}}},"/{connectionId}/codeless/v1.0/me/photo/$value":{put:{summary:"Update my profile photo",description:"Updates the profile photo of the current user. The size of the photo must be less than 4 MB.",operationId:"UpdateMyPhoto",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",schema:{type:"string",format:"binary"},required:!0,description:"Image content","x-ms-summary":"Image content"},{name:"Content-Type",in:"header",type:"string",default:"image/jpeg",required:!0,description:"Image content type (like 'image/jpeg')","x-ms-summary":"Content-Type","x-ms-visibility":"advanced"}],responses:{default:{description:"default"}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#update-my-profile-photo"}}},"/{connectionId}/codeless/beta/me/insights/trending":{get:{summary:"Get my trending documents",description:"Retrieves the trending documents for the signed in user",operationId:"MyTrendingDocuments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"$filter",in:"query",required:!1,type:"string",description:"An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType","x-ms-summary":"Filter query"},{name:"extractSensitivityLabel",in:"query",description:'Select if you want to extract Sensitivity label ( "false", "true").',required:!1,"x-ms-summary":"Extract Sensitivity Label",type:"string",default:"false",enum:["false","true"]},{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata",type:"string",default:"false",enum:["false","true"]}],responses:{200:{description:"200",schema:{description:"List of trending documents",type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/GraphTrending"},description:"value","x-ms-summary":"value"}}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-trending-documents"}}},"/{connectionId}/users/{userId}/relevantpeople":{get:{tags:["People"],summary:"Get relevant people",description:"Get relevant people.",operationId:"RelevantPeople",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/LinklessEntityListResponse[List[Person]]"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-relevant-people"}}},"/{connectionId}/users/me":{get:{tags:["Users"],summary:"Get my profile (V1)",description:"Retrieves the profile of the current user.",operationId:"MyProfile",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"MyProfile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v1)-%5bdeprecated%5d"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/users/{userId}":{get:{tags:["Users"],summary:"Get user profile (V1)",description:"Retrieves the profile of a specific user.",operationId:"UserProfile",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"UserProfile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/photo":{get:{tags:["Users"],summary:"Get user photo metadata",description:"Get user photo metadata.",operationId:"UserPhotoMetadata",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"query",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ClientPhotoMetadata"}},default:{description:"Operation Failed."}},deprecated:!1,externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-metadata"}}},"/{connectionId}/users/photo/value":{get:{tags:["Users"],summary:"Get user photo (V1)",description:"Retrieves the photo of the specified user if they have one.",operationId:"UserPhoto",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"query",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{format:"binary",type:"string","x-ms-media-kind":"image","x-ms-summary":"Image file content"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"UserPhoto",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/{userId}/manager":{get:{tags:["Users"],summary:"Get manager (V1)",description:"Retrieves the profile of the specified user's manager.",operationId:"Manager",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"Manager",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-manager-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/{userId}/directReports":{get:{tags:["Users"],summary:"Get direct reports (V1)",description:"Retrieves the user profiles of the specified user's direct reports.",operationId:"DirectReports",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{type:"array",items:{$ref:"#/definitions/User"}}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"DirectReports",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users":{get:{tags:["Users"],summary:"Search for users",description:"Retrieves the user profiles that match the search term.",operationId:"SearchUser",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"searchTerm",in:"query",description:"Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",required:!1,"x-ms-summary":"Search term",type:"string"},{name:"top",in:"query",description:"Limit on the number of results to return. By default returns all entries.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32",default:0}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{type:"array",items:{$ref:"#/definitions/User"}}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"SearchUser",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#search-for-users-%5bdeprecated%5d"}}},"/{connectionId}/v2/users":{get:{tags:["Users"],summary:"Search for users (V2)",description:"Retrieves the user profiles that match the search term (V2).",operationId:"SearchUserV2",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"searchTerm",in:"query",description:"Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",required:!1,"x-ms-summary":"Search term",type:"string"},{name:"top",in:"query",description:"Limit on the number of results to return. Minimum value is 1. Default value is 1000.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"isSearchTermRequired",in:"query",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.",required:!1,"x-ms-summary":"Is search term required","x-ms-visibility":"advanced",type:"boolean",default:!0},{name:"skipToken",in:"query",description:"Skip token to get next users.",required:!1,"x-ms-summary":"Skip token","x-ms-visibility":"internal",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/EntityListResponse[IReadOnlyList[User]]"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-api-annotation":{status:"Production",family:"SearchUser",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#search-for-users-(v2)"}}},"/{connectionId}/testconnection":{get:{tags:["Users"],summary:"Tests the connection",description:"Tests the connection.",operationId:"TestConnection",consumes:[],produces:[],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"internal",externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#tests-the-connection"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/codeless/v1.0/users/{id}":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},summary:"Get user profile (V2)",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",operationId:"UserProfile_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"UserProfile",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/manager":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},summary:"Get manager (V2)",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",operationId:"Manager_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"Manager",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-manager-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/directReports":{get:{responses:{200:{description:"OK",schema:{description:"List of direct reports",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/GraphUser_V1"}}}}}},summary:"Get direct reports (V2)",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",operationId:"DirectReports_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"},{name:"$top",in:"query",description:"Limit on the number of results to return. By default returns all entries.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"DirectReports",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/photo/$value":{get:{summary:"Get user photo (V2)",description:"Retrieves the photo of the specified user if they have one",operationId:"UserPhoto_V2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"}],responses:{200:{description:"OK",schema:{format:"binary",type:"string","x-ms-media-kind":"image","x-ms-summary":"Image file content"}}},deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"UserPhoto",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v2)"}}},"/{connectionId}/codeless/beta/users/{id}/insights/trending":{get:{summary:"Get trending documents",description:"Retrieves the trending documents for a user",operationId:"TrendingDocuments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$filter",in:"query",required:!1,type:"string",description:"An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType","x-ms-summary":"Filter query"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"}],responses:{200:{description:"200",schema:{description:"List of trending documents",type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/GraphTrending"},description:"value","x-ms-summary":"value"}}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-trending-documents"}}},"/{connectionId}/codeless/httprequest":{post:{summary:"Send an HTTP request",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.",operationId:"HttpRequest",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET).",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content.",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json).",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#send-an-http-request"}}}},definitions:{GraphUserUpdateable_V1:{description:"Updateable parts of user from Graph API",type:"object",properties:{aboutMe:{type:"string",description:"About Me","x-ms-summary":"About Me"},birthday:{type:"string",format:"date-time",description:"Birthday","x-ms-summary":"Birthday"},interests:{type:"array",items:{type:"string"},description:"Interests","x-ms-summary":"Interests"},mySite:{type:"string",description:"My Site","x-ms-summary":"My Site"},pastProjects:{type:"array",items:{type:"string"},description:"Past Projects","x-ms-summary":"Past Projects"},schools:{type:"array",items:{type:"string"},description:"Schools","x-ms-summary":"Schools"},skills:{type:"array",items:{type:"string"},description:"Skills","x-ms-summary":"Skills"}}},GraphTrending:{description:"Trending documents from Graph API",type:"object",properties:{id:{type:"string",description:"Unique identifier of the relationship","x-ms-summary":"Id"},weight:{type:"number",format:"float",description:"Value indicating how much the document is currently trending","x-ms-summary":"Weight"},resourceVisualization:{$ref:"#/definitions/resourceVisualization"},resourceReference:{$ref:"#/definitions/resourceReference"}}},resourceVisualization:{type:"object",properties:{title:{type:"string",description:"The item's title text","x-ms-summary":"Title"},type:{type:"string",description:"The item's media type (can be used for filtering for a specific file based on a specific type)","x-ms-summary":"Type"},mediaType:{type:"string",description:"The items media type (can be used for filtering for a specific type of file based on supported IANA Media MIME types)","x-ms-summary":"Media type"},previewImageUrl:{type:"string",description:"A URL leading to the preview image for the item","x-ms-summary":"Preview image URL"},previewText:{type:"string",description:"A preview text for the item","x-ms-summary":"Preview text"},containerWebUrl:{type:"string",description:"A path leading to the folder in which the item is stored","x-ms-summary":"Container web URL"},containerDisplayName:{type:"string",description:"A string describing where the item is stored","x-ms-summary":"Container display name"},containerType:{type:"string",description:"Can be used for filtering by the type of container in which the file is stored","x-ms-summary":"Container type"}},description:"resourceVisualization","x-ms-summary":"Resource visualization"},resourceReference:{type:"object",properties:{webUrl:{type:"string",description:"A URL leading to the referenced item","x-ms-summary":"Web URL"},id:{type:"string",description:"The item's unique identifier","x-ms-summary":"Id"},type:{type:"string",description:'A string value that can be used to classify the item, such as "microsoft.graph.driveItem"',"x-ms-summary":"Type"}},description:"resourceReference","x-ms-summary":"Resource reference"},"LinklessEntityListResponse[List[Person]]":{description:"Represents a list from the Graph API",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/Person"}}}},Person:{description:"Represents a Person",type:"object",properties:{id:{description:"A unique identifier for the Person object in the directory",type:"string","x-ms-summary":"Person id"},displayName:{description:"The person's display name",type:"string","x-ms-summary":"Display name"},givenName:{description:"The person's given name",type:"string","x-ms-summary":"Given name"},surname:{description:"The person's surname",type:"string","x-ms-summary":"Surname"},birthday:{description:"The person's birthday",type:"string","x-ms-summary":"Birthday"},personNotes:{description:"Free-form notes that the current user has taken about this person",type:"string","x-ms-summary":"Person Notes"},isFavorite:{description:"If the current user has flagged this person as a favorite",type:"boolean","x-ms-summary":"Is Favorite?"},jobTitle:{description:"The person's job title",type:"string","x-ms-summary":"Job title"},companyName:{description:"The name of the person's company",type:"string","x-ms-summary":"Company name"},department:{description:"The person's department",type:"string","x-ms-summary":"Department"},officeLocation:{description:"The location of the person's office",type:"string","x-ms-summary":"Office location"},profession:{description:"The person's profession",type:"string","x-ms-summary":"Profession"},userPrincipalName:{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.",type:"string","x-ms-summary":"User Principal Name (UPN)"},imAddress:{description:"The person's VOIP SIP address",type:"string","x-ms-summary":"IM Address"},scoredEmailAddresses:{description:"Collection of the person's email addresses with a relevance score",type:"array",items:{$ref:"#/definitions/ScoredEmailAddress"},"x-ms-summary":"Scored Email Addresses"},phones:{description:"The person's phone numbers",type:"array",items:{$ref:"#/definitions/Phone"},"x-ms-summary":"Phones"}}},ScoredEmailAddress:{description:"Represents a scored email address",type:"object",properties:{address:{description:"The email address",type:"string","x-ms-summary":"Email Address"},relevanceScore:{format:"double",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.",type:"number","x-ms-summary":"Relevance Score"}}},Phone:{description:"Represents a phone number",type:"object",properties:{number:{description:"The phone number",type:"string","x-ms-summary":"Phone Number"},type:{description:"The type of phone number. Possible values: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio.",type:"string","x-ms-summary":"Phone Type"}}},User:{description:"Represents a User object in the directory",required:["Id"],type:"object",properties:{Id:{description:"A unique identifier for the user object in the directory.",type:"string","x-ms-summary":"User id"},AccountEnabled:{description:"true if the account is enabled; otherwise, false. This property is required when a user is created.",type:"boolean","x-ms-summary":"Account enabled?"},BusinessPhones:{description:"A list of business phone numbers for the user",type:"array",items:{type:"string"},readOnly:!0,"x-ms-summary":"Business phones"},City:{description:"The city in which the user is located.",type:"string","x-ms-summary":"City"},CompanyName:{description:"The name of the company in which the user works.",type:"string","x-ms-summary":"Company name"},Country:{description:'The country/region in which the user is located; for example, "US" or "UK".',type:"string","x-ms-summary":"Country"},Department:{description:"The name of the department in which the user works.",type:"string","x-ms-summary":"Department"},DisplayName:{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.",type:"string","x-ms-summary":"Display name"},GivenName:{description:"The given name (first name) of the user.",type:"string","x-ms-summary":"Given name"},JobTitle:{description:"The user\u2019s job title.",type:"string","x-ms-summary":"Job title"},Mail:{description:'The SMTP/email address for the user, for example, "jeff@contoso.onmicrosoft.com". Read-Only.',type:"string","x-ms-summary":"Email"},MailNickname:{description:"The mail alias for the user. This property must be specified when a user is created.",type:"string","x-ms-summary":"Nickname"},mobilePhone:{description:"The primary cellular telephone number for the user.",type:"string","x-ms-visibility":"internal"},OfficeLocation:{description:"The office location in the user's place of business.",type:"string","x-ms-summary":"Office location"},PostalCode:{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.",type:"string","x-ms-summary":"Postal code"},Surname:{description:"The user's surname (family name or last name).",type:"string","x-ms-summary":"Surname"},TelephoneNumber:{description:"The primary cellular telephone number for the user.",type:"string","x-ms-summary":"Telephone number"},UserPrincipalName:{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\u2019s email name. The general format is alias@domain, where domain must be present in the tenant\u2019s collection of verified domains.",type:"string","x-ms-summary":"User Principal Name (UPN)"}}},ClientPhotoMetadata:{description:"Photo Metadata class",type:"object",properties:{HasPhoto:{description:"Has photo",type:"boolean","x-ms-summary":"Has photo"},Height:{format:"int32",description:"Height of photo",type:"integer","x-ms-summary":"Height"},Width:{format:"int32",description:"Width of photo",type:"integer","x-ms-summary":"Width"},ContentType:{description:"Content Type of photo",type:"string","x-ms-summary":"ContentType"},ImageFileExtension:{description:'File extension for the photo (ex: ".jpg")',type:"string",readOnly:!0,"x-ms-summary":"Image File Extension"}}},Object:{type:"object",properties:{}},"EntityListResponse[IReadOnlyList[User]]":{description:"Class representing entity list response from an Office API.",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/User"}},"@odata.nextLink":{description:"Next page link",type:"string"}}},GraphUser_V1:{description:"User from Graph API",type:"object",properties:{aboutMe:{description:"About Me",type:"string","x-ms-summary":"About Me"},accountEnabled:{description:"true if the account is enabled; otherwise, false. This property is required when a user is created.",type:"boolean","x-ms-summary":"Account enabled?"},birthday:{description:"Birthday",type:"string",format:"date-time","x-ms-summary":"Birthday"},businessPhones:{description:"Business Phones",type:"array",items:{type:"string"},"x-ms-summary":"Business Phones"},city:{description:"The city in which the user is located.",type:"string","x-ms-summary":"City"},companyName:{description:"The name of the company in which the user works.",type:"string","x-ms-summary":"Company name"},country:{description:'The country/region in which the user is located; for example, "US" or "UK".',type:"string","x-ms-summary":"Country"},department:{description:"The name of the department in which the user works.",type:"string","x-ms-summary":"Department"},displayName:{description:"Display Name",type:"string","x-ms-summary":"Display Name"},givenName:{description:"Given Name",type:"string","x-ms-summary":"Given Name"},hireDate:{type:"string",format:"date-time",description:"Hire Date","x-ms-summary":"Hire Date"},id:{description:"Id",type:"string","x-ms-summary":"Id"},interests:{type:"array",items:{type:"string"},description:"Interests","x-ms-summary":"Interests"},jobTitle:{description:"Job Title",type:"string","x-ms-summary":"Job Title"},mail:{description:"Mail",type:"string","x-ms-summary":"Mail"},mailNickname:{description:"The mail alias for the user. This property must be specified when a user is created.",type:"string","x-ms-summary":"Nickname"},mobilePhone:{description:"Mobile Phone",type:"string","x-ms-summary":"Mobile Phone"},mySite:{type:"string",description:"My Site","x-ms-summary":"My Site"},officeLocation:{description:"Office Location",type:"string","x-ms-summary":"Office Location"},pastProjects:{type:"array",items:{type:"string"},description:"Past Projects","x-ms-summary":"Past Projects"},postalCode:{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.",type:"string","x-ms-summary":"Postal code"},preferredLanguage:{description:"Preferred Language",type:"string","x-ms-summary":"Preferred Language"},preferredName:{type:"string",description:"Preferred Name","x-ms-summary":"Preferred Name"},responsibilities:{type:"array",items:{type:"string"},description:"Responsibilities","x-ms-summary":"Responsibilities"},schools:{type:"array",items:{type:"string"},description:"Schools","x-ms-summary":"Schools"},skills:{type:"array",items:{type:"string"},description:"Skills","x-ms-summary":"Skills"},state:{type:"string",description:"State","x-ms-summary":"State"},streetAddress:{type:"string",description:"Street Address","x-ms-summary":"Street Address"},surname:{description:"Surname",type:"string","x-ms-summary":"Surname"},userPrincipalName:{description:"User Principal Name",type:"string","x-ms-summary":"User Principal Name"},userType:{type:"string",description:"User Type","x-ms-summary":"User Type"}}},ObjectWithoutType:{}},securityDefinitions:{oauth2_auth:{type:"oauth2",flow:"accessCode",authorizationUrl:"https://login.windows.net/common/oauth2/authorize",tokenUrl:"https://login.windows.net/common/oauth2/authorize",scopes:{"Sites.Read.All User.ReadBasic.All User.ReadWrite":"Sites.Read.All User.ReadBasic.All User.ReadWrite"}}},security:[{oauth2_auth:["Sites.Read.All User.ReadBasic.All User.ReadWrite"]}],tags:[],"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://www.office.com/"}],"x-ms-capabilities":{testConnection:{operationId:"TestConnection",parameters:{}}},parameters:{extractSensitivityLabel:{name:"extractSensitivityLabel",in:"query",description:'Select if you want to extract Sensitivity label ( "false", "true").',required:!1,"x-ms-summary":"Extract Sensitivity Label",type:"string",default:"false",enum:["false","true"]},fetchSensitivityLabelMetadata:{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata",type:"string",default:"false",enum:["false","true"]}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users"}},wadlUrl:"https://pafeblobprodcy.blob.core.windows.net/apiwadls-983f0a2f-70b4-4055-93ae-d5a6659c9cc7/shared%3A2Doffice365users?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A09Z&se=2025-07-03T09%3A05%3A09Z&sr=c&sp=rl&scid=88b17a3b-17f4-4086-8294-a4e81fbae2bd&sig=M9luk4QeqW%2F7MqFciTD3MatAadIkZ35GMc8FnvMKirE%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users",metadata:{source:"marketplace",brandColor:"#eb3c00",useNewApimVersion:"true",version:{previous:"v1.0.1751\\1.0.1751.4212",current:"v1.0.1751\\1.0.1751.4213"}},capabilities:["actions"],interfaces:{},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.",createdTime:"2016-10-13T00:29:38.7281213Z",changedTime:"2025-05-03T00:30:22.5108959Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:["Read your full user profile","Read the full profile of all users"],wont:["Modify or delete any user-profile information"]},rateLimit:0,apiVersion:"None"}},v=B;var W={name:"shared_kusto",id:"/providers/Microsoft.PowerApps/apis/shared_kusto",type:"Microsoft.PowerApps/apis",properties:{displayName:"Azure Data Explorer",iconUri:"REDACTED",iconBrandColor:"#20427f",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameterSets:{uiDefinition:{displayName:"Authentication type",description:"Type of authentication to be used."},values:[{name:"certOauth",uiDefinition:{displayName:"Client Certificate Auth",description:"Provide Microsoft Entra ID credentials using PFX certificate and password"},parameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"REDACTED",IsOnbehalfofLoginSupported:!0},customParameters:{grantType:{value:"client_credentials"},ResourceUri:{value:"https://kusto.kusto.windows.net"}}},uiDefinition:{displayName:"Login your Credentials",description:"Login your Credentials",tooltip:"Provide your Credentials",constraints:{required:"true",hidden:"false"}}},"token:TenantId":{type:"string",uiDefinition:{schema:{description:"The tenant ID of the Microsoft Entra ID application",type:"string"},displayName:"Tenant",constraints:{required:"true",hidden:"false"}}},"token:clientId":{type:"string",uiDefinition:{displayName:"Client ID",description:"The client ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"false"}}},"token:clientCertificateSecret":{type:"clientCertificate",uiDefinition:{displayName:"Client certificate secret",description:"The client certificate secret allowed by this application",constraints:{required:"true",hidden:"false"}}},"token:resourceUri":{type:"string",uiDefinition:{displayName:"ResourceUri",description:"The resource you are requesting authorization to use.",constraints:{required:"false",hidden:"true"}}},"token:grantType":{type:"string",allowedValues:[{value:"client_credentials"}],uiDefinition:{displayName:"Grant Type",description:"Grant type",constraints:{required:"false",hidden:"true",allowedValues:[{text:"Client Credentials",value:"client_credentials"}]}}}},metadata:{allowSharing:!0}},{name:"oauth",uiDefinition:{displayName:"Microsoft Entra ID Integrated",description:"Use Microsoft Entra ID to access your Azure Data Explorer."},parameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"https://global.consent.azure-apim.net/redirect/kusto",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"https://kusto.kusto.windows.net",IsOnbehalfofLoginSupported:!0},customParameters:{tenantId:{},ResourceUri:{value:"REDACTED"},loginUriAAD:{value:"REDACTED"},loginUri:{value:"REDACTED"}}},uiDefinition:{displayName:"Sign in with your Microsoft Entra ID credentials",description:"Sign in with your Microsoft Entra ID credentials",tooltip:"Provide Microsoft Entra ID credentials",constraints:{required:"true",hidden:"false"}}},privacySetting:{type:"string",allowedValues:[{value:"None"},{value:"Private"},{value:"Organizational"},{value:"Public"}],uiDefinition:{displayName:"Privacy Setting",description:"Privacy Setting",tooltip:"Privacy Setting",constraints:{tabIndex:1,required:"false",hidden:"true",capability:["cloud","gateway"],allowedValues:[{name:"None",value:"None"},{name:"Private",value:"Private"},{name:"Organizational",value:"Organizational"},{name:"Public",value:"Public"}]}}}},metadata:{allowSharing:!1}},{name:"oauthServicePrincipal",uiDefinition:{displayName:"Service principal",description:"Use your own Microsoft Entra ID app for service principal authentication."},parameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aad",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"https://global.consent.azure-apim.net/redirect/kusto",properties:{IsFirstParty:"False",AzureActiveDirectoryResourceId:"https://kusto.kusto.windows.net",IsOnbehalfofLoginSupported:!0},customParameters:{grantType:{value:"client_credentials"},ResourceUri:{value:"https://kusto.kusto.windows.net"},loginUri:{value:"https://login.windows.net"},LoginUriAAD:{value:"https://login.windows.net"}}},uiDefinition:{displayName:"Login your Credentials",description:"Login your Credentials",tooltip:"Provide your Credentials",constraints:{required:"false",hidden:"true"}}},"token:clientId":{type:"string",uiDefinition:{displayName:"Client ID",schema:{type:"string",description:"Client (or Application) ID of your Microsoft Entra ID application."},constraints:{required:"true",hidden:"false"}}},"token:clientSecret":{type:"securestring",uiDefinition:{displayName:"Client Secret",schema:{type:"securestring",description:"Client secret of your Microsoft Entra ID application."},constraints:{required:"true",hidden:"false"}}},"token:TenantId":{type:"string",uiDefinition:{schema:{description:"The tenant ID of for the Microsoft Entra ID application",type:"string"},displayName:"Tenant",constraints:{required:"true",hidden:"false"}}},"token:resourceUri":{type:"string",uiDefinition:{displayName:"ResourceUri",description:"The resource you are requesting authorization to use.",constraints:{required:"false",hidden:"true"}}},"token:grantType":{type:"string",allowedValues:[{value:"client_credentials"}],uiDefinition:{displayName:"Grant Type",description:"Grant type",constraints:{required:"false",hidden:"true",allowedValues:[{text:"Client Credentials",value:"client_credentials"}]}}}},metadata:{allowSharing:!1}}]},connectionParameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"https://global.consent.azure-apim.net/redirect/kusto",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"https://kusto.kusto.windows.net",IsOnbehalfofLoginSupported:!0},customParameters:{tenantId:{},ResourceUri:{value:"https://kusto.kusto.windows.net"},loginUriAAD:{value:"https://login.windows.net"},loginUri:{value:"https://login.windows.net"}}}},"token:clientId":{type:"string",uiDefinition:{displayName:"Client ID",description:"Client (or Application) ID of the Microsoft Entra ID application.",constraints:{required:"false",hidden:"true"}}},"token:clientSecret":{type:"securestring",uiDefinition:{displayName:"Client Secret",description:"Client secret of the Microsoft Entra ID application.",constraints:{required:"false",hidden:"true"}}},"token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}},"token:resourceUri":{type:"string",uiDefinition:{displayName:"ResourceUri",description:"The resource you are requesting authorization to use, for instance https://kusto.kustomfa.windows.net.",constraints:{required:"false",hidden:"true"}}},"token:grantType":{type:"string",allowedValues:[{value:"code"},{value:"client_credentials"}],uiDefinition:{displayName:"Grant Type",description:"Grant type",constraints:{required:"false",hidden:"true",allowedValues:[{text:"Code",value:"code"},{text:"Client Credentials",value:"client_credentials"}]}}},privacySetting:{type:"string",allowedValues:[{value:"None"},{value:"Private"},{value:"Organizational"},{value:"Public"}],uiDefinition:{displayName:"Privacy Setting",description:"Privacy Setting",tooltip:"Privacy Setting",constraints:{tabIndex:1,required:"false",hidden:"true",capability:["cloud","gateway"],allowedValues:[{name:"None",value:"None"},{name:"Private",value:"Private"},{name:"Organizational",value:"Organizational"},{name:"Public",value:"Public"}]}}}},swagger:{swagger:"2.0",info:{version:"1.0.0",title:"Azure Data Explorer",description:"Azure Data Explorer a.k.a Kusto is a log analytics cloud platform optimized for ad-hoc big data queries. Read more about it here: http://aka.ms/kdocs","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/kusto",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/ListKustoResults/false":{post:{summary:"Run KQL query",description:"Runs the KQL query and returns the result as a set of rows which can be iterated over in the following connectors e.g TableName | take 10.",operationId:"listKustoResultsPost","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/QueryAndListSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Table"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"REDACTED"}}},"/{connectionId}/ListKustoShowCommandResults":{post:{summary:"Run show control command",description:"Runs the show control command and returns the result as a set of rows which can be iterated over in the following connectors e.g .show table TableName policy caching.",operationId:"listKustoShowCommandResultsPost",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/ControlCommandAndListSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Table"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#run-show-control-command"}}},"/{connectionId}/ListKustoResultsSchema":{post:{summary:"Query schema",description:"Gets the schema for a query",operationId:"listKustoResultsSchemaPost","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/QueryAndListSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Object"}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#query-schema"}}},"/{connectionId}/RunKustoAndVisualizeResults/false":{post:{summary:"Run KQL query and render a chart",description:"Runs the KQL query and returns result as a chart of your choice e.g TableName | where Timestamp > ago(1h) | project timestamp, value.",operationId:"runKustoQueryAndVisualizeResultsPost","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/QueryAndVisualizeSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/VisualizeResults"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#run-kql-query-and-render-a-chart"}}},"/{connectionId}/RunKustoAndVisualizeResults/true":{post:{summary:"Run control command and render a chart",description:"Runs the control command and returns the result as a chart of your choice e.g .clear table TableName data.",operationId:"runKustoCommandAndVisualizeResultsPost","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/CommandAndVisualizeSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/VisualizeResults"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#run-control-command-and-render-a-chart"}}},"/{connectionId}/RunAsyncControlCommandAndWait":{post:{summary:"Run async control command",description:"Runs control command in async mode and returns its ID, state and status on completion. Command can run for maximum 1 hour. The 'async' keyword is mandatory e.g .set-or-append async TargetTable <| SourceTable.",operationId:"runAsyncControlCommandAndWait","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/ControlCommandAndListSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/AsyncCommandResult"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#run-async-control-command"}}},"/{connectionId}/RetrieveKustoAsyncResult":{get:{summary:"Retrieve Kusto async result",description:"Retrieve status and result of Kusto async operation",operationId:"retrieveKustoAsyncResult","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"operationId","x-ms-summary":"Operation ID",description:"Unique identifier of the async operation",in:"query",type:"string",required:!0},{name:"Timestamp","x-ms-summary":"Query beginning timestamp",description:"The timestamp in which the query begin",in:"query",type:"string",required:!1},{name:"clusterUrl","x-ms-summary":"Cluster URL",description:"The cluster's URL",in:"query",type:"string",required:!1},{name:"storageAccountName","x-ms-summary":"storage account Name",description:"The storage account name storing the request result",in:"query",type:"string",required:!1}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Object"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#retrieve-kusto-async-result"}}},"/{connectionId}/RetrieveKustoAsyncControlCommandResult":{get:{summary:"Retrieve Kusto async control command result",description:"Retrieve status and result of Kusto async operation",operationId:"retrieveKustoAsyncControlCommandResult","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"operationId","x-ms-summary":"Operation ID",description:"Unique identifier of the async operation",in:"query",type:"string",required:!0},{name:"Timestamp","x-ms-summary":"Query beginning timestamp",description:"The timestamp in which the query begin",in:"query",type:"string",required:!1},{name:"clusterUrl","x-ms-summary":"Cluster URL",description:"The cluster's URL",in:"query",type:"string",required:!0},{name:"databaseName","x-ms-summary":"Database Name",description:"The database name",in:"query",type:"string",required:!0}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Object"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#retrieve-kusto-async-control-command-result"}}},"/{connectionId}/mcp/KustoQueryManagement":{post:{tags:["agentic","Action"],summary:"Kusto Query MCP Server",description:"This MCP server runs Kusto queries and manages the results.",operationId:"mcp_KustoQueryManagement",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"queryRequest",schema:{$ref:"#/definitions/MCPQueryRequest"}},{in:"query",name:"sessionId",type:"string",required:!1}],responses:{200:{description:"MCP Server response",schema:{$ref:"#/definitions/MCPQueryResponse"}},default:{description:"Operation failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-mcs-visibility":"featured",externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#kusto-query-mcp-server"}}}},definitions:{Object:{type:"object",properties:{}},Table:{type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/Row"}}}},Row:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"listKustoResultsSchemaPost",parameters:{cluster:{parameter:"cluster"},db:{parameter:"db"},csl:{parameter:"csl"}},"value-path":"Schema/Items"},"x-ms-dynamic-properties":{operationId:"listKustoResultsSchemaPost",parameters:{"body/cluster":{parameterReference:"body/cluster"},"body/db":{parameterReference:"body/db"},"body/csl":{parameterReference:"body/csl"}},itemValuePath:"Schema/Items"}},QueryAndVisualizeSchema:{type:"object",required:["cluster","db","csl","chartType"],properties:{cluster:{$ref:"#/definitions/ClusterName"},db:{$ref:"#/definitions/DatabaseName"},csl:{$ref:"#/definitions/Query"},chartType:{$ref:"#/definitions/ChartType"}}},CommandAndVisualizeSchema:{type:"object",required:["cluster","db","csl","chartType"],properties:{cluster:{$ref:"#/definitions/ClusterName"},db:{$ref:"#/definitions/DatabaseName"},csl:{"x-ms-summary":"Control Command",description:"Specify the control command you would like to run",type:"string","x-ms-test-value":".show version"},chartType:{$ref:"#/definitions/ChartType"}}},QueryAndListSchema:{type:"object",required:["cluster","db","csl"],properties:{cluster:{$ref:"#/definitions/ClusterName"},db:{$ref:"#/definitions/DatabaseName"},csl:{$ref:"#/definitions/Query"}}},ControlCommandAndListSchema:{type:"object",required:["cluster","db","csl"],properties:{cluster:{$ref:"#/definitions/ClusterName"},db:{$ref:"#/definitions/DatabaseName"},csl:{"x-ms-summary":"Control Command",description:"Specify the show control command you would like to run",type:"string","x-ms-test-value":".show version"}}},ClusterName:{"x-ms-summary":"Cluster URL",description:"Specify the cluster url e.g. https://<yourCluster>.<yourLocation>.kusto.windows.net",type:"string","x-ms-test-value":"Process"},DatabaseName:{"x-ms-summary":"Database Name",description:"Specify the database name",type:"string","x-ms-test-value":"process"},Query:{"x-ms-summary":"Query",description:"Specify the query you would like to run",type:"string","x-ms-test-value":"print 1"},ChartType:{"x-ms-summary":"Chart Type",type:"string",description:"Specify the resulting chart type",enum:["Html Table","Pie Chart","Time Chart","Bar Chart"],"x-ms-test-value":"Html Table"},VisualizeResults:{type:"object",properties:{body:{type:"string",description:"The body of the result in base64 encoding.",format:"byte","x-ms-summary":"Body"},bodyHtml:{type:"string",description:"The body of the result in html encoding.",format:"HTML","x-ms-summary":"BodyHtml"},attachmentContent:{type:"string",description:"The content of the attachment.",format:"byte","x-ms-summary":"Attachment Content"},attachmentName:{type:"string",description:"The name of the attachment file.","x-ms-summary":"Attachment Name"},kustoDeepLink:{type:"string",description:"Links to run the query in Kusto tools, for instance in KustoExplorer.","x-ms-summary":"Links to Kusto Explorer"}}},AsyncCommandResult:{type:"object",properties:{state:{type:"string",description:"The state of the command.","x-ms-summary":"State"},status:{type:"string",description:"The status of the command.","x-ms-summary":"Status"},operationId:{type:"string",description:"The operation ID of the control command","x-ms-summary":"Operation ID"}}},MCPQueryRequest:{type:"object",properties:{jsonrpc:{type:"string"},id:{type:"string"},method:{type:"string"},params:{type:"object"},result:{type:"object"},error:{type:"object"},callbackEndpoint:{type:"string","x-ms-visibility":"internal"}}},MCPQueryResponse:{type:"object",properties:{jsonrpc:{type:"string"},id:{type:"string"},method:{type:"string"},params:{type:"object"},result:{type:"object"},error:{type:"object"}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto"}},wadlUrl:"https://pafeblobprodmw.blob.core.windows.net/apiwadls-0d015810-1568-43af-ad2c-f13a55e74ecd/shared%3A2Dkusto?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A11Z&se=2025-07-03T09%3A05%3A11Z&sr=c&sp=rl&scid=b8173500-464d-4178-bc94-234f5b56f411&sig=8KTRfykjMkDkljP%2FLrLPuXvOa28APiJ3LUsuJiQA9qs%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/kusto"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/kusto",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/kusto",metadata:{source:"marketplace",brandColor:"#20427f",useNewApimVersion:"true",version:{previous:"v1.0.1757\\1.0.1757.4253",current:"v1.0.1759\\1.0.1759.4267"}},capabilities:["actions"],interfaces:{},description:"Azure Data Explorer a.k.a Kusto is a log analytics cloud platform optimized for ad-hoc big data queries. Read more about it here: http://aka.ms/kdocs",createdTime:"2017-11-16T18:46:29.4086445Z",changedTime:"2025-06-30T17:09:36.2489031Z",releaseTag:"Production",tier:"Premium",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},T=W;var z={name:"shared_msnweather",id:"/providers/Microsoft.PowerApps/apis/shared_msnweather",type:"Microsoft.PowerApps/apis",properties:{displayName:"MSN Weather",iconUri:"REDACTED_URL",iconBrandColor:"",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{},swagger:{swagger:"2.0",info:{version:"1.0.0",title:"MSN Weather",description:"MSN Weather gets you the very latest weather forecast, including temperature, humidity, precipitation for your location.","x-ms-connector-name":"msnweather","x-ms-api-annotation":{status:"Production"},"x-ms-keywords":["msnweather","weather","forecast","temperature"],"x-ms-openai-published-to-copilots":[{"AICopilot-enabled":!0,AICopilotName:"Microsoft 365 Copilot"}],contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/msnweather",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/current/{Location}":{get:{summary:"Get current weather",description:"Get the current weather for a location.",operationId:"CurrentWeather",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Units"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/CurrentWeather"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/trigger/current/weather/{Location}":{get:{summary:"When the current weather changes",description:"Triggers a new flow when the specified weather measure changes for a location.",operationId:"OnCurrentWeatherChange",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Measure"},{name:"When",in:"query",required:!0,description:"The condition the trigger will be checking. Valid options are 'Is equal to', 'Goes over', or 'Goes below'. For example, if the measure is 'temperature' and this parameter is set to 'Goes below' then the trigger will fire when the temperature goes below the target value.","x-ms-summary":"When the measure...",type:"string",default:"Is equal to",enum:["Is equal to","Goes over","Goes below"],"x-ms-enum-values":[{value:"Is equal to",displayName:"Is equal to"},{value:"Goes over",displayName:"Goes over"},{value:"Goes below",displayName:"Goes below"}]},{name:"Target",in:"query",required:!0,description:"The target value for the specified measure.","x-ms-summary":"Target",type:"number",format:"float","x-ms-test-value":0},{name:"units",in:"query",required:!0,type:"string",description:"The units for the measure value and the target value.","x-ms-summary":"Units","x-ms-dynamic-values":{operationId:"GetMeasureUnits",parameters:{Location:{parameter:"Location"},Measure:{parameter:"Measure"}},"value-path":"units","value-title":"displayText"},"x-ms-test-value":"Metric"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/CurrentWeather"}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"When the current weather changes.","x-ms-visibility":"important",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/trigger/current/conditions/{Location}":{get:{summary:"When the current conditions change",description:"Triggers a new flow when the conditions change for a location.",operationId:"OnCurrentConditionsChange",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Units"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/CurrentWeather"}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"When the current conditions change.","x-ms-visibility":"advanced",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/forecast/today/{Location}":{get:{summary:"Get forecast for today",description:"Get the forecast for the current day in the specified location.",operationId:"TodaysForecast",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Units"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/WeatherForecast"}}},deprecated:!1,"x-ms-visibility":"important","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/forecast/tomorrow/{Location}":{get:{summary:"Get the forecast for tomorrow",description:"Get the forecast for tomorrow in the specified location.",operationId:"TomorrowsForecast",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Units"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/WeatherForecast"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/current/units/{Location}":{get:{summary:"Get Measure Units",description:"Get Measure Units",operationId:"GetMeasureUnits",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Measure"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/MeasureUnits"}}},deprecated:!1,"x-ms-visibility":"internal",externalDocs:{url:"REDACTED_URL"}}}},definitions:{CurrentWeather:{type:"object",properties:{responses:{type:"object",properties:{weather:{type:"object",properties:{current:{type:"object",properties:{baro:{format:"float",type:"number","x-ms-summary":"Pressure",description:"The atmospheric pressure."},cap:{type:"string","x-ms-summary":"Conditions",description:"A caption of weather conditions such as rainy, sunny, etc."},dewPt:{format:"float",type:"number","x-ms-summary":"Dewpoint","x-ms-visibility":"advanced",description:"The temperature at which dew forms."},feels:{format:"float",type:"number","x-ms-summary":"Apparent Temperature","x-ms-visibility":"advanced",description:"The apparent temperature, or feels-like temperature."},rh:{format:"float",type:"number","x-ms-summary":"Humidity",description:"The relative humidity percentage."},wx:{type:"string","x-ms-summary":"METAR weather conditions","x-ms-visibility":"advanced",description:"The METAR code of weather conditions."},sky:{type:"string","x-ms-summary":"METAR Sky Conditions","x-ms-visibility":"advanced",description:"The METAR code of sky conditions."},temp:{format:"float",type:"number","x-ms-summary":"Temperature",description:"The current temperature."},uv:{format:"float",type:"number","x-ms-summary":"UV Index",description:"The numerical UV index."},uvDesc:{type:"string","x-ms-summary":"UV Index Description","x-ms-visibility":"advanced",description:"A description of the meaning of the UV index."},vis:{format:"float",type:"number","x-ms-summary":"Visibility Distance","x-ms-visibility":"advanced",description:"The visibility distance."},windDir:{format:"int32",type:"integer","x-ms-summary":"Wind Direction","x-ms-visibility":"advanced",description:"The wind direction in degrees clockwise from north."},windSpd:{format:"float",type:"number","x-ms-summary":"Wind Speed",description:"The wind speed."},windGust:{format:"float",type:"number","x-ms-summary":"Wind Gust Speed","x-ms-visibility":"advanced",description:"The wind gust speed."},created:{format:"date-time",type:"string","x-ms-summary":"Last Updated",description:"The datetime at which provider created the current condition."}}}}},source:{type:"object",properties:{coordinates:{type:"object",properties:{lat:{format:"float",type:"number","x-ms-summary":"Latitude","x-ms-visibility":"advanced",description:"The latitude of the location."},lon:{format:"float",type:"number","x-ms-summary":"Longitude","x-ms-visibility":"advanced",description:"The longitude of the location."}}},location:{type:"string","x-ms-summary":"Location",description:"The location for which provider created the current condition."}}}}},units:{type:"object",properties:{system:{type:"string","x-ms-summary":"Unit System",description:"Units used in data set (metric or imperial).","x-ms-visibility":"internal"},pressure:{type:"string","x-ms-summary":"Pressure Units","x-ms-visibility":"advanced",description:"Units used for pressure measurements."},temperature:{type:"string","x-ms-summary":"Temperature Units",description:"Units used for temperature measurements."},speed:{type:"string","x-ms-summary":"Speed Units","x-ms-visibility":"advanced",description:"Units used for speed measurements."},distance:{type:"string","x-ms-summary":"Distance Units","x-ms-visibility":"advanced",description:"Units used for distance measurements."}}}}},WeatherForecast:{type:"object",properties:{responses:{type:"object",properties:{daily:{type:"object",properties:{day:{type:"object",properties:{cap:{type:"string","x-ms-summary":"Conditions","x-ms-visibility":"advanced",description:"The caption of weather conditions such as rainy, sunny, etc."},precip:{format:"float",type:"number","x-ms-summary":"Rain Chance","x-ms-visibility":"advanced",description:"The chance of precipitation (%)."},wx:{type:"string","x-ms-summary":"METAR Weather Conditions","x-ms-visibility":"advanced",description:"The METAR code of weather conditions."},sky:{type:"string","x-ms-summary":"METAR Sky Conditions","x-ms-visibility":"advanced",description:"The METAR code of sky conditions."},windDir:{format:"int32",type:"integer","x-ms-summary":"Wind Direction","x-ms-visibility":"advanced",description:"The wind direction in degrees clockwise from north."},windSpd:{format:"float",type:"number","x-ms-summary":"Wind Speed","x-ms-visibility":"advanced",description:"The wind speed."},summary:{type:"string","x-ms-summary":"Summary",description:"A text summary of the forecast.","x-ms-visibility":"advanced"}},"x-ms-summary":"Day"},night:{type:"object",properties:{cap:{type:"string","x-ms-summary":"Conditions","x-ms-visibility":"advanced",description:"The caption of weather conditions such as rainy, sunny, etc."},precip:{format:"float",type:"number","x-ms-summary":"Rain Chance","x-ms-visibility":"advanced",description:"The chance of precipitation (%)."},wx:{type:"string","x-ms-summary":"METAR Weather Conditions","x-ms-visibility":"advanced",description:"The METAR code of weather conditions."},sky:{type:"string","x-ms-summary":"METAR Sky Conditions","x-ms-visibility":"advanced",description:"The METAR code of sky conditions."},windDir:{format:"int32",type:"integer","x-ms-summary":"Wind Direction","x-ms-visibility":"advanced",description:"The wind direction in degrees clockwise from north."},windSpd:{format:"float",type:"number","x-ms-summary":"Wind Speed","x-ms-visibility":"advanced",description:"The wind speed."},summary:{type:"string","x-ms-summary":"Summary",description:"A text summary of the forecast.","x-ms-visibility":"advanced"}},"x-ms-summary":"Night"},pvdrCap:{type:"string","x-ms-summary":"Conditions",description:"The caption of weather conditions such as rainy, sunny, etc."},valid:{format:"date-time",type:"string","x-ms-summary":"Date",description:"The datetime at which the forecast is valid."},precip:{format:"float",type:"number","x-ms-summary":"Rain Chance",description:"The chance of precipitation (%)."},windMax:{format:"float",type:"number","x-ms-summary":"Max Wind Speed",description:"The peak wind speed for the day."},windMaxDir:{format:"int32",type:"integer","x-ms-summary":"Max Wind Direction","x-ms-visibility":"advanced",description:"The direction of the peak wind for the day."},rhHi:{format:"float",type:"number","x-ms-summary":"Humidity High",description:"The high relative humidity point for the day."},rhLo:{format:"float",type:"number","x-ms-summary":"Humidity Low",description:"The low relative humidity point for the day."},tempHi:{format:"float",type:"number","x-ms-summary":"Temperature High",description:"The high temperature."},tempLo:{format:"float",type:"number","x-ms-summary":"Temperature Low",description:"The low temperature."},uv:{format:"float",type:"number","x-ms-summary":"UV Index",description:"The numerical UV index."},uvDesc:{type:"string","x-ms-summary":"UV Index Description","x-ms-visibility":"advanced",description:"A description of the meaning of the UV index."},created:{format:"date-time",type:"string","x-ms-summary":"Forecast Date","x-ms-visibility":"advanced",description:"The datetime at which the daily forecast was derived."}}},almanac:{type:"object",properties:{sunrise:{format:"date-time",type:"string","x-ms-summary":"Sunrise Time","x-ms-visibility":"advanced",description:"Time of sunrise on the day of this forecast."},sunset:{format:"date-time",type:"string","x-ms-summary":"Sunset Time","x-ms-visibility":"advanced",description:"Time of sunset on the day of this forecast."},moonrise:{format:"date-time",type:"string","x-ms-summary":"Moonrise Time","x-ms-visibility":"advanced",description:"Time of moonrise on the day of this forecast."},moonset:{format:"date-time",type:"string","x-ms-summary":"Moonset Time","x-ms-visibility":"advanced",description:"Time of moonset on the day of this forecast."},moonPhase:{type:"string","x-ms-summary":"Moon Phase","x-ms-visibility":"advanced",description:"The phase of the moon the day of this forecast."},moonPhaseCode:{type:"string","x-ms-summary":"Moon Phase Code","x-ms-visibility":"advanced",description:"The code representing the phase of the moon."}}},source:{type:"object",properties:{coordinates:{type:"object",properties:{lat:{format:"float",type:"number","x-ms-summary":"Latitude","x-ms-visibility":"advanced",description:"The latitude of the location."},lon:{format:"float",type:"number","x-ms-summary":"Longitude","x-ms-visibility":"advanced",description:"The longitude of the location."}}},location:{type:"string","x-ms-summary":"Location",description:"The location for which provider created the forecast."}}}}},units:{type:"object",properties:{system:{type:"string","x-ms-summary":"Unit System",description:"Units used in data set (metric or imperial).","x-ms-visibility":"internal"},pressure:{type:"string","x-ms-summary":"Pressure Units","x-ms-visibility":"advanced",description:"Units used for pressure measurements."},temperature:{type:"string","x-ms-summary":"Temperature Units",description:"Units used for temperature measurements."},speed:{type:"string","x-ms-summary":"Speed Units","x-ms-visibility":"advanced",description:"Units used for speed measurements."},distance:{type:"string","x-ms-summary":"Distance Units","x-ms-visibility":"advanced",description:"Units used for distance measurements."}}}}},MeasureUnits:{type:"array",items:{type:"object",properties:{displayText:{type:"string"},units:{type:"string"}}}}},parameters:{Location:{name:"Location",in:"path",required:!0,description:"The location search query. Valid inputs are City, Region, State, Country, Landmark, Postal Code, latitude and longitude","x-ms-summary":"Location","x-ms-test-value":"Redmond",type:"string"},Units:{name:"units",in:"query",required:!0,description:"The measurement system used for all the measure values in the request and response. Valid options are 'Imperial' and 'Metric'.","x-ms-summary":"Units",type:"string",default:"I",enum:["I","C"],"x-ms-enum-values":[{value:"I",displayName:"Imperial"},{value:"C",displayName:"Metric"}]},Measure:{name:"Measure",in:"query",required:!0,description:"The weather measure used for this operation. Valid options are 'Temperature', 'UV Index', 'Humidity' or 'Wind Speed'.","x-ms-summary":"Measure",type:"string",default:"Temperature",enum:["Temperature","UV Index","Humidity","Wind Speed"],"x-ms-enum-values":[{value:"Temperature",displayName:"Temperature"},{value:"UV Index",displayName:"UV Index"},{value:"Humidity",displayName:"Humidity"},{value:"Wind Speed",displayName:"Wind Speed"}]}},"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"REDACTED_URL"}],externalDocs:{url:"REDACTED_URL"}},wadlUrl:"REDACTED_URL",runtimeUrls:["REDACTED_URL"],primaryRuntimeUrl:"REDACTED_URL",doNotUseApiHubNetRuntimeUrl:"REDACTED_URL",metadata:{source:"marketplace",brandColor:"",connectionLimits:{"*":1},useNewApimVersion:"true",version:{previous:"v1.0.1754\\1.0.1754.4231",current:"v1.0.1756\\1.0.1756.4248"}},capabilities:["actions","triggers"],interfaces:{},description:"MSN Weather gets you the very latest weather forecast, including temperature, humidity, precipitation for your location.",createdTime:"2017-01-26T01:06:37.0992138Z",changedTime:"2025-06-10T17:28:35.1938228Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},I=z;var K={name:"shared_office365groups",id:"/providers/Microsoft.PowerApps/apis/shared_office365groups",type:"Microsoft.PowerApps/apis",properties:{displayName:"Office 365 Groups",iconUri:"REDACTED",iconBrandColor:"#EB3C00",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"0386266b-6217-4e26-81bd-b446100c5cb4",scopes:["Group.ReadWrite.All offline_access"],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"REDACTED",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED"},LoginUri:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}}},"token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}}},swagger:{swagger:"2.0",info:{version:"1.0.0",title:"Office 365 Groups",description:"Office 365 Groups lets you manage group membership and calendar events in your organization using your Office 365 account. You can perform various actions such as get group roster, add or remove members and create group events.","x-ms-api-annotation":{status:"Production"},contact:{name:"Office 365 Groups",url:"REDACTED",email:"idcknowledgeeco@microsoft.com"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/office365groups",schemes:["https"],consumes:[],produces:["application/json"],paths:{"/{connectionId}/v1.0/groups/{groupId}/members":{get:{summary:"List group members",description:"This operation returns a list of all members in the given group and their details such as name, title, email, etc. You can query up to 1000 items using Top parameter. In case you need to retrieve more than 1000 values please turn on Settings->Pagination feature and provide Threshold limit.",operationId:"ListGroupMembers",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"$top",in:"query","x-ms-summary":"Top",description:"Number of group members to retrieve (from 1 to 999, default is 100).",required:!1,"x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListGroupMembers_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-test-value":"ee115782-220d-4acc-92c4-e261619d63cd","x-ms-pageable":{nextLinkName:"@odata.nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-group-members"}}},"/{connectionId}/trigger/v1.0/groups/delta":{get:{summary:"When a group member is added or removed",description:"This operation triggers when a member is added to or removed from the given group.",operationId:"OnGroupMembershipChange",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"$select",in:"query","x-ms-summary":"Select","x-ms-test-value":"members","x-ms-visibility":"internal",type:"string",default:"members"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/OnGroupMemberAddedOrRemoved_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-test-value":"ee115782-220d-4acc-92c4-e261619d63cd","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a member to the group.","x-ms-dev-triggerType":"DeltaLink","x-ms-dev-triggerValueCollection":"value[0].members@delta","x-ms-dev-triggerValuePath":"@odata.deltaLink","x-ms-dev-queryfilterParamName":"$deltatoken",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#when-a-group-member-is-added-or-removed"}}},"/{connectionId}/v1.0/groups/{groupId}/members/$ref":{post:{summary:"Add member to group",description:"This operation is used to add a member to an O365 group, using a UPN.",operationId:"AddMemberToGroup",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"userUpn",in:"query",description:"The user principal name (UPN) of the user.",required:!0,"x-ms-summary":"User Principal Name",type:"string"}],responses:{204:{description:"Operation Successful"}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"important",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#add-member-to-group"}}},"/{connectionId}/v1.0/me/memberOf/$/microsoft.graph.group":{get:{summary:"List my owned groups",description:"This operation returns a list of all groups that you own.",operationId:"ListOwnedGroups",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListOwnedGroups_Response"}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-my-owned-groups"}}},"/{connectionId}/v1.0/me/ownedObjects/$/microsoft.graph.group":{get:{summary:"List my owned groups (V2)",description:"This operation returns a list of all groups that you own.",operationId:"ListOwnedGroups_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListOwnedGroups_V2_Response"}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-my-owned-groups-(v2)"}}},"/{connectionId}/v2/v1.0/me/memberOf/$/microsoft.graph.group":{get:{summary:"List groups that I own and belong to",description:"This operation returns a list of all groups that you own and belong to.",operationId:"ListOwnedGroups_V3",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListOwnedGroups_Response"}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-groups-that-i-own-and-belong-to"}}},"/{connectionId}/v1.0/groups":{get:{summary:"List groups",description:"This operation returns a list of all groups in the organization.",operationId:"ListGroups",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"},{name:"$filter",in:"query",description:"Enter an OData style filter expression to limit which rows are listed.",required:!1,"x-ms-summary":"Filter rows","x-ms-visibility":"advanced",type:"string"},{name:"$top",in:"query",description:"Sets the page size of results.",required:!1,"x-ms-summary":"Page size","x-ms-visibility":"advanced",type:"integer"},{name:"$skiptoken",in:"query",required:!1,type:"string","x-ms-summary":"Skip token","x-ms-visibility":"advanced",description:"Token that references the next page of results and is returned in the @odata.nextLink property in the response."}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListGroups_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-pageable":{nextLinkName:"@odata.nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-groups"}}},"/{connectionId}/v1.0/groups/{groupId}/events":{post:{summary:"Create a group event",description:"This operation is used to create a new event in a group calendar.",operationId:"CreateCalendarEvent",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/UpdateCalendarEvent_Request"}}],responses:{201:{description:"Operation Successful",schema:{$ref:"#/definitions/CreateCalendarEvent_Response"}}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Production",family:"CreateCalendarEvent",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#create-a-group-event-%5bdeprecated%5d"}}},"/{connectionId}/v2/v1.0/groups/{groupId}/events":{post:{summary:"Create a group event (V2)",description:"This operation is used to create a new event in a group calendar.",operationId:"CreateCalendarEventV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/UpdateCalendarEvent_HTMLRequest"}}],responses:{201:{description:"Operation Successful",schema:{$ref:"#/definitions/CreateCalendarEvent_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Production",family:"CreateCalendarEvent",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#create-a-group-event-(v2)"}}},"/{connectionId}/v1.0/groups/{groupId}/events/{event}":{delete:{summary:"Delete event (V2)",description:"This operation deletes an event in a calendar.",operationId:"CalendarDeleteItem_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"event",in:"path",description:"Select an event",required:!0,"x-ms-summary":"Id","x-ms-url-encoding":"double",type:"string"}],responses:{204:{description:"OK"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"important",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#delete-event-(v2)"}},patch:{summary:"Update a group event",description:"This operation is used to update a new event in a group calendar.",operationId:"UpdateCalendarEvent",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"event",in:"path",description:"Select an event",required:!0,"x-ms-summary":"Id","x-ms-url-encoding":"double",type:"string"},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/UpdateCalendarEvent_HTMLRequest"}}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/CreateCalendarEvent_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"important",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#update-a-group-event"}}},"/{connectionId}/v1.0/groups/{groupId}/members/memberId/$ref":{delete:{summary:"Remove member from group",description:"This operation is used to remove a member from an O365 group, using a UPN.",operationId:"RemoveMemberFromGroup",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"userUpn",in:"query",description:"The user principal name (UPN) of the user",required:!0,"x-ms-summary":"User Principal Name",type:"string"}],responses:{204:{description:"Operation Successful"}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"important",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#remove-member-from-group"}}},"/{connectionId}/trigger/v1.0/groups/{groupId}/events":{get:{summary:"When there is a new event",description:"This operation triggers when a new event is added to a group calendar.",operationId:"OnNewEvent",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/OnNewEvent_Response"}}},deprecated:!1,"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, create an event in Office 365 Groups.","x-ms-dev-triggerType":"QueryFilter","x-ms-dev-triggerDateFormat":"iso","x-ms-dev-triggerValueCollection":"value","x-ms-dev-triggerValuePath":"createdDateTime","x-ms-dev-queryfilterParamName":"$filter",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#when-there-is-a-new-event"}}},"/{connectionId}/v2/httprequest":{post:{summary:"Send an HTTP request V2",description:"Construct a Microsoft Graph REST API request to invoke. There is one segment that is supported: /groups. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api.",operationId:"HttpRequestV2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET).",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content.",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json).",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production",family:"HttpRequest",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#send-an-http-request-v2"}}},"/{connectionId}/httprequest":{post:{summary:"Send an HTTP request",description:"Construct a Microsoft Graph REST API request to invoke. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api",operationId:"HttpRequest",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET).",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content.",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json).",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production",family:"HttpRequest",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#send-an-http-request-%5bdeprecated%5d"}}},"/{connectionId}/v1.0/directory/deletedItems/microsoft.graph.group":{get:{summary:"List deleted groups",description:"Lists deleted groups that can be restored.",operationId:"ListDeletedGroups",responses:{200:{description:"Operation successful",schema:{$ref:"#/definitions/ListGroups_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-deleted-groups"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/v1.0/directory/deletedItems/{groupId}/restore":{post:{summary:"Restore a deleted group",description:"Restore a recently deleted group",operationId:"RestoreDeletedGroup",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/deletedGroupId__in_path"}],responses:{200:{description:"Operation successful"}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#restore-a-deleted-group"}}},"/{connectionId}/v1.0/directory/deletedItems/getUserOwnedObjects":{post:{summary:"List deleted groups by owner",description:"List deleted groups that can be restored by owner",operationId:"ListDeletedGroupsByOwner",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"header",description:"Enter a user id.",required:!0,"x-ms-summary":"User Id","x-ms-visibility":"important",type:"string",format:"guid"}],responses:{200:{description:"Operation successful",schema:{$ref:"#/definitions/ListGroups_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-deleted-groups-by-owner"}}}},definitions:{SensitivityLabelMetadata:{type:"object",properties:{sensitivityLabelId:{type:"string",description:"SensitivityLabel Id.","x-ms-summary":"SensitivityLabel Id",title:"sensitivityLabelId"},name:{type:"string",description:"SensitivityLabel name.","x-ms-summary":"name",title:"name"},displayName:{type:"string",description:"SensitivityLabel displayName info","x-ms-summary":"SensitivityLabel displayName info",title:"displayName"},tooltip:{type:"string",description:"SensitivityLabel details on tooltip.","x-ms-summary":"tooltip info",title:"tooltip"},priority:{type:"integer",format:"int32",description:"SensitivityLabel priority.","x-ms-summary":"priority of SensitivityLabel",title:"priority"},color:{type:"string",description:"SensitivityLabel color.","x-ms-summary":"color to be displayed for SensitivityLabel.",title:"color"},isEncrypted:{type:"boolean",description:" is SensitivityLabel Encrypted.","x-ms-summary":"isEncrypted status of SensitivityLabel",title:"isEncrypted"},isEnabled:{type:"boolean",description:"Whether SensitivityLabel is Enabled.","x-ms-summary":"Whether SensitivityLabel is Enabled.",title:"isEnabled"},isParent:{type:"boolean",description:"Whether SensitivityLabel is Parent.","x-ms-summary":"Whether SensitivityLabel is Parent",title:"isParent"},parentSensitivityLabelId:{type:"string",description:"Parent SensitivityLabel Id.","x-ms-summary":"Parent SensitivityLabel Id",title:"parentSensitivityLabelId"}}},ListGroupMembers_Response:{type:"object",properties:{"@odata.context":{type:"string",description:"The OData context.",title:"OData context","x-ms-visibility":"internal"},"@odata.nextLink":{type:"string",description:"Only used in Power Apps Canvas to genereate the `$skipToken` for pagination. Power Automate and Logic Apps must use the pagination setting.",title:"OData NextLink","x-ms-visibility":"advanced"},value:{description:"value",type:"array",items:{type:"object",properties:{id:{description:"Unique id of the user.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"User Id"},displayName:{description:"User's display name.",type:"string","x-ms-summary":"Display Name"},givenName:{description:"User's first name.",type:"string","x-ms-summary":"Given Name"},jobTitle:{description:"User's job title.",type:"string","x-ms-summary":"Job Title"},mail:{description:"User's email address.",type:"string","x-ms-summary":"Mail"},mobilePhone:{description:"User's mobile number.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Mobile Phone"},officeLocation:{description:"User's office address.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Office Location"},surname:{description:"User's last name.",type:"string","x-ms-summary":"Surname"},userPrincipalName:{description:"UPN id of the user.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"User Principal Name"}}}}}},OnGroupMemberAddedOrRemoved_Response:{description:"value",type:"array",items:{type:"object",properties:{id:{description:"Unique id of the user.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"User Id"},"@removed":{type:"object",properties:{reason:{description:"Reason that caused the user to be removed from the group.",type:"string","x-ms-summary":"Reason"}}}}}},ListOwnedGroups_Response:{type:"object",properties:{"@odata.context":{description:"The OData context.",type:"string","x-ms-summary":"OData context","x-ms-visibility":"internal"},value:{description:"value",type:"array",items:{type:"object",properties:{classification:{description:"O365 group classification.",type:"string","x-ms-summary":"Classification","x-ms-visibility":"advanced"},createdDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Created Date-Time","x-ms-visibility":"advanced"},deletedDateTime:{description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Deleted Date-Time","x-ms-visibility":"advanced"},description:{description:"More information about the group.",type:"string","x-ms-summary":"Description"},displayName:{description:"O365 group name.",type:"string","x-ms-summary":"Name"},id:{description:"Unique identifier of the group.",type:"string","x-ms-summary":"Group Id","x-ms-visibility":"advanced"},mail:{description:"Email address of the group.",type:"string","x-ms-summary":"Email"},mailEnabled:{description:"True if mail is enabled for the group.",type:"boolean","x-ms-summary":"Mail Enabled","x-ms-visibility":"advanced"},mailNickname:{description:"Group nickname.",type:"string","x-ms-summary":"Nickname","x-ms-visibility":"advanced"},onPremisesLastSyncDateTime:{description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"On-Premises Last Sync Date-Time","x-ms-visibility":"advanced"},onPremisesSecurityIdentifier:{description:"The on-premises security identifier.",type:"string","x-ms-summary":"On-Premises Security Identifier","x-ms-visibility":"advanced"},onPremisesSyncEnabled:{description:"True if on-premises sync is enabled for the group.",type:"string","x-ms-summary":"On-Premises Sync Enabled","x-ms-visibility":"advanced"},renewedDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Renewed Date-Time","x-ms-visibility":"advanced"},securityEnabled:{description:"True if the owner is security enabled.",type:"boolean","x-ms-summary":"Security Enabled","x-ms-visibility":"advanced"},visibility:{description:"The owner's visibility.",type:"string","x-ms-summary":"Visibility","x-ms-visibility":"advanced"},sensitivityLabelInfo:{description:"List of Sensitivity Label Information",type:"array",items:{$ref:"#/definitions/SensitivityLabelMetadata"}}}}}}},ListOwnedGroups_V2_Response:{type:"object",properties:{"@odata.context":{description:"The OData context.",type:"string","x-ms-summary":"OData context","x-ms-visibility":"internal"},value:{description:"value",type:"array",items:{type:"object",properties:{classification:{description:"O365 group classification.",type:"string","x-ms-summary":"Classification","x-ms-visibility":"advanced"},createdDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Created Date-Time","x-ms-visibility":"advanced"},description:{description:"More information about the group.",type:"string","x-ms-summary":"Description"},displayName:{description:"O365 group name.",type:"string","x-ms-summary":"Name"},id:{description:"Unique identifier of the group.",type:"string","x-ms-summary":"Group Id","x-ms-visibility":"advanced"},mail:{description:"Email address of the group.",type:"string","x-ms-summary":"Email"},mailEnabled:{description:"True if mail is enabled for the group.",type:"boolean","x-ms-summary":"Mail Enabled","x-ms-visibility":"advanced"},mailNickname:{description:"Group nickname.",type:"string","x-ms-summary":"Nickname","x-ms-visibility":"advanced"},onPremisesLastSyncDateTime:{description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"On-Premises Last Sync Date-Time","x-ms-visibility":"advanced"},onPremisesSecurityIdentifier:{description:"The on-premises security identifier.",type:"string","x-ms-summary":"On-Premises Security Identifier","x-ms-visibility":"advanced"},onPremisesSyncEnabled:{description:"True if on-premises sync is enabled for the group.",type:"string","x-ms-summary":"On-Premises Sync Enabled","x-ms-visibility":"advanced"},renewedDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Renewed Date-Time","x-ms-visibility":"advanced"},securityEnabled:{description:"True if the owner is security enabled.",type:"boolean","x-ms-summary":"Security Enabled","x-ms-visibility":"advanced"},visibility:{description:"The owner's visibility.",type:"string","x-ms-summary":"Visibility","x-ms-visibility":"advanced"},sensitivityLabelInfo:{description:"List of Sensitivity Label Information",type:"array",items:{$ref:"#/definitions/SensitivityLabelMetadata"}}}}}}},ListGroups_Response:{type:"object",properties:{"@odata.context":{type:"string",description:"The OData context.",title:"OData context","x-ms-visibility":"internal"},"@odata.nextLink":{type:"string",description:"Only used in Power Apps Canvas to genereate the `$skipToken` for pagination. Power Automate and Logic Apps must use the pagination setting.",title:"OData NextLink","x-ms-visibility":"advanced"},value:{description:"value",type:"array",items:{type:"object",properties:{classification:{description:"O365 group classification.",type:"string","x-ms-summary":"Classification","x-ms-visibility":"advanced"},createdDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Created Date-Time","x-ms-visibility":"advanced"},description:{description:"More information about the group.",type:"string","x-ms-summary":"Description"},displayName:{description:"O365 group name.",type:"string","x-ms-summary":"Name"},id:{description:"Unique identifier of the group.",type:"string","x-ms-summary":"Group Id","x-ms-visibility":"advanced"},mail:{description:"Email address of the group.",type:"string","x-ms-summary":"Email"},mailEnabled:{description:"True if mail is enabled for the group.",type:"boolean","x-ms-summary":"Mail Enabled","x-ms-visibility":"advanced"},mailNickname:{description:"Group nickname.",type:"string","x-ms-summary":"Nickname","x-ms-visibility":"advanced"},onPremisesLastSyncDateTime:{description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"On-Premises Last Sync Date-Time","x-ms-visibility":"advanced"},onPremisesSecurityIdentifier:{description:"The on-premises security identifier.",type:"string","x-ms-summary":"On-Premises Security Identifier","x-ms-visibility":"advanced"},onPremisesSyncEnabled:{description:"True if on-premises sync is enabled for the group.",type:"boolean","x-ms-summary":"On-Premises Sync Enabled","x-ms-visibility":"advanced"},renewedDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Renewed Date-Time","x-ms-visibility":"advanced"},securityEnabled:{description:"True if the owner is security enabled.",type:"boolean","x-ms-summary":"Security Enabled","x-ms-visibility":"advanced"},visibility:{description:"The owner's visibility.",type:"string","x-ms-summary":"Visibility","x-ms-visibility":"advanced"},sensitivityLabelInfo:{description:"List of Sensitivity Label Information",type:"array",items:{$ref:"#/definitions/SensitivityLabelMetadata"}}}}}}},CreateCalendarEvent_Response:{type:"object",properties:{id:{description:"Unique id of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Id"},reminderMinutesBeforeStart:{format:"int32",description:"Time in minutes before event starts to remind.",type:"integer","x-ms-visibility":"advanced","x-ms-summary":"Reminder Start Duration"},isReminderOn:{description:"Set to true if the event has a reminder.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is Reminder On"},subject:{description:"Title of the event.",type:"string","x-ms-summary":"Subject"},importance:{description:"The importance of the event: Low, Normal, or High.",type:"string","x-ms-summary":"Importance"},isAllDay:{description:"True if the event is an all day event.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is All Day"},responseRequested:{description:"True if a response was requested for the event.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Response Requested"},showAs:{description:"Status to show during the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Show As"},body:{description:"body",type:"object",properties:{contentType:{description:"Text or Html.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Content Type"},content:{description:"The content of the body of this event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Content"}},"x-ms-summary":"Body"},start:{description:"start",type:"object",properties:{dateTime:{format:"date-time",description:"Start time of the event (example: '2016-11-01T14:30:00-07:00').",type:"string","x-ms-summary":"Date Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Time Zone"}},"x-ms-summary":"Start"},end:{description:"end",type:"object",properties:{dateTime:{format:"date-time",description:"End time of the event (example: '2016-11-01T15:30:00-07:00').",type:"string","x-ms-summary":"Date Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Time Zone"}},"x-ms-summary":"End"},location:{description:"location",type:"object",properties:{displayName:{description:"The display name for the location of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Name"}},"x-ms-summary":"Location"}}},UpdateCalendarEvent_Request:{required:["subject","start","end"],type:"object",properties:{subject:{description:"Title of the event.",type:"string","x-ms-summary":"Subject"},start:{required:["dateTime","timeZone"],type:"object",properties:{dateTime:{format:"date-time",description:"Start time of the event (example: '2016-11-01T14:30:00').",type:"string","x-ms-summary":"Start Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"internal","x-ms-summary":"Time zone"}}},end:{required:["dateTime","timeZone"],type:"object",properties:{dateTime:{format:"date-time",description:"End time of the event (example: '2016-11-01T15:30:00').",type:"string","x-ms-summary":"End Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"internal","x-ms-summary":"Time zone"}}},body:{type:"object",properties:{content:{description:"Body of the message associated with the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Body"},contentType:{description:"Pick the content type: Text or Html.",enum:["Text","Html"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Body Content Type"}}},location:{type:"object",properties:{displayName:{description:"Location of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Location"}}},importance:{description:"The importance of the event: Low, Normal, or High.",enum:["Low","Normal","High"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Importance"},isAllDay:{description:"Set to true if the event lasts all day.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is All Day"},isReminderOn:{description:"Set to true if the event has a reminder.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is Reminder On"},reminderMinutesBeforeStart:{format:"int32",description:"Time in minutes before event start to remind.",type:"integer","x-ms-visibility":"advanced","x-ms-summary":"Reminder Start Duration"},showAs:{description:"Status to show during the event.",enum:["Free","Tentative","Busy","Oof","WorkingElsewhere","Unknown"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Show As"},responseRequested:{description:"Set to true if the sender would like a response when the event is accepted or declined.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Response Requested"}},"x-ms-test-value":{subject:"Test Event from Postman",start:{dateTime:"2017-12-31T14:00:00",timeZone:"UTC"},end:{dateTime:"2017-12-31T14:30:00",timeZone:"UTC"},originalStartTimeZone:"Pacific Standard Time",originalEndTimeZone:"Pacific Standard Time",body:{contentType:"text",content:"Test Body"},location:{displayName:"Redmond"},importance:"normal",isAllDay:!1,reminderMinutesBeforeStart:99,isReminderOn:!0,showAs:"busy",responseRequested:!0}},UpdateCalendarEvent_HTMLRequest:{required:["subject","start","end"],type:"object",properties:{subject:{description:"Title of the event.",type:"string","x-ms-summary":"Subject"},start:{required:["dateTime","timeZone"],type:"object",properties:{dateTime:{format:"date-time",description:"Start time of the event (example: '2016-11-01T14:30:00').",type:"string","x-ms-summary":"Start Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"internal","x-ms-summary":"Time zone"}}},end:{required:["dateTime","timeZone"],type:"object",properties:{dateTime:{format:"date-time",description:"End time of the event (example: '2016-11-01T15:30:00').",type:"string","x-ms-summary":"End Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"internal","x-ms-summary":"Time zone"}}},body:{type:"object",required:["contentType"],properties:{content:{description:"Body of the message associated with the event.",type:"string",format:"html","x-ms-visibility":"advanced","x-ms-summary":"Body"},contentType:{description:"Pick the content type: Text or Html.",default:"Html",type:"string","x-ms-summary":"Body Content Type","x-ms-visibility":"internal"}}},location:{type:"object",properties:{displayName:{description:"Location of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Location"}}},importance:{description:"The importance of the event: Low, Normal, or High.",enum:["Low","Normal","High"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Importance"},isAllDay:{description:"Set to true if the event lasts all day.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is All Day"},isReminderOn:{description:"Set to true if the event has a reminder.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is Reminder On"},reminderMinutesBeforeStart:{format:"int32",description:"Time in minutes before event start to remind.",type:"integer","x-ms-visibility":"advanced","x-ms-summary":"Reminder Start Duration"},showAs:{description:"Status to show during the event.",enum:["Free","Tentative","Busy","Oof","WorkingElsewhere","Unknown"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Show As"},responseRequested:{description:"Set to true if the sender would like a response when the event is accepted or declined.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Response Requested"}},"x-ms-test-value":{subject:"Test Event from Postman",start:{dateTime:"2017-12-31T15:00:00",timeZone:"UTC"},end:{dateTime:"2017-12-31T15:30:00",timeZone:"UTC"},originalStartTimeZone:"Pacific Standard Time",originalEndTimeZone:"Pacific Standard Time",body:{content:"Test Body"},location:{displayName:"Redmond"},importance:"normal",isAllDay:!1,reminderMinutesBeforeStart:99,isReminderOn:!0,showAs:"busy",responseRequested:!0}},OnNewEvent_Response:{description:"value",type:"array",items:{type:"object",properties:{id:{description:"Unique id of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Id"},reminderMinutesBeforeStart:{format:"int32",description:"The number of minutes before the start of the event the reminder will fire.",type:"integer","x-ms-visibility":"advanced","x-ms-summary":"Reminder Start Duration"},isReminderOn:{description:"Set to true if the event has a reminder.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is Reminder On"},subject:{description:"Title of the event.",type:"string","x-ms-summary":"Subject"},importance:{description:"The importance of the event: Low, Normal, or High.",type:"string","x-ms-summary":"Importance"},isAllDay:{description:"Set to true if the event lasts all day.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is All Day"},responseRequested:{description:"Set to true if the sender would like a response when the event is accepted or declined.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Response Requested"},showAs:{description:"Status to show during the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Show As"},body:{description:"body",type:"object",properties:{contentType:{description:"Body of the message associated with the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Content Type"},content:{description:"Pick the content type: Text or Html.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Content"}},"x-ms-summary":"Body"},start:{description:"start",type:"object",properties:{dateTime:{format:"date-time",description:"Start time of the event (example: '2016-11-01T14:30:00-07:00').",type:"string","x-ms-summary":"Date Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Time Zone"}},"x-ms-summary":"Start"},end:{description:"end",type:"object",properties:{dateTime:{format:"date-time",description:"End time of the event (example: '2016-11-01T15:30:00-07:00').",type:"string","x-ms-summary":"Date Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Time Zone"}},"x-ms-summary":"End"},location:{description:"location",type:"object",properties:{displayName:{description:"The display name for the location of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Name"}},"x-ms-summary":"Location"}}},"x-ms-summary":"value"},ObjectWithoutType:{}},parameters:{groupId__in_path:{name:"groupId",in:"path",description:"Pick a group from the drop down or enter group id.",required:!0,"x-ms-summary":"Group Id","x-ms-dynamic-values":{operationId:"ListOwnedGroups_V2","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-visibility":"important",type:"string",format:"guid"},groupId__in_query:{name:"groupId",in:"query",description:"Pick a group from the drop down or enter group id.",required:!0,"x-ms-summary":"Group Id","x-ms-dynamic-values":{operationId:"ListOwnedGroups_V2","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-visibility":"important",type:"string",format:"guid"},deletedGroupId__in_path:{name:"groupId",in:"path",description:"Pick a group from the drop down or enter group id.",required:!0,"x-ms-summary":"Group Id","x-ms-visibility":"important",type:"string",format:"guid"},extractSensitivityLabel:{name:"extractSensitivityLabel",in:"query",required:!1,type:"boolean",description:"A boolean whether to extract sensitivity label Id for associated artefact.","x-ms-summary":"Extract Sensitivity Label","x-ms-visibility":"important"},fetchSensitivityLabelMetadata:{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,type:"boolean",description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata","x-ms-visibility":"important"}},securityDefinitions:{},security:[],"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://www.office.com/"},{propertyName:"Privacy policy",propertyValue:"https://privacy.microsoft.com/"},{propertyName:"Categories",propertyValue:"AI;Business Intelligence"}],externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups"}},wadlUrl:"https://pafeblobprodmw.blob.core.windows.net/apiwadls-762e21a7-39e1-4481-bece-eb883a644bfb/shared%3A2Doffice365groups?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A14Z&se=2025-07-03T09%3A05%3A14Z&sr=c&sp=rl&scid=ba619c63-7ffd-4b36-9caf-8f1e68571871&sig=0ORVFOHbkC1gJKCsbpMyy1cfbMOzbAP4jV2buw3GKKQ%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365groups"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365groups",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365groups",metadata:{source:"marketplace",brandColor:"#EB3C00",useNewApimVersion:"true",version:{previous:"releases/v1.0.1737\\1.0.1737.4115",current:"v1.0.1758\\1.0.1758.4260"}},capabilities:["actions","triggers"],interfaces:{},description:"Office 365 Groups lets you manage group membership and calendar events in your organization using your Office 365 account. You can perform various actions such as get group roster, add or remove members and create group events.",createdTime:"2017-09-20T15:51:12.7783962Z",changedTime:"2025-06-30T18:28:42.7965599Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},q=K;var Z={name:"shared_onedriveforbusiness",id:"/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness",type:"Microsoft.PowerApps/apis",properties:{displayName:"OneDrive for Business",iconUri:"REDACTED",iconBrandColor:"#0078D4",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{Token:{type:"oauthSetting",oAuthSettings:{identityProvider:"OneDriveForBusinessCertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",IsOnbehalfofLoginSupported:!0},customParameters:{Capability:{value:"MyFiles"},grantType:{value:"code"},ResourceUri:{value:"REDACTED"},ResourceUriAAD:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}},uiDefinition:{displayName:"Log in with OneDrive for Business Credentials",description:"Log in with OneDrive for Business Credentials",tooltip:"Provide OneDrive for Business Credentials",constraints:{required:"true"}}}},swagger:{swagger:"2.0",info:{version:"2.0",title:"OneDrive for Business",description:"OneDrive for Business is a cloud storage, file hosting service that allows users to sync files and later access them from a web browser or mobile device. Connect to OneDrive for Business to manage your files. You can perform various actions such as upload, update, get, and delete files.","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"},"x-ms-keywords":["onedrive","one-drive","one drive"]},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/onedriveforbusiness",schemes:["https"],paths:{"/{connectionId}/$metadata.json/datasets":{get:{tags:["OneDriveDataSetsMetadata"],operationId:"GetDataSetsMetadata",consumes:[],produces:["application/json","text/json"],responses:{200:{description:"OK",schema:{$ref:"#/definitions/DataSetsMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/datasets/default/files/{id}":{get:{tags:["OneDriveFileData"],summary:"Get file metadata",description:"This operation gets the metadata for a file.",operationId:"GetFileMetadata",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"REDACTED"}},put:{tags:["OneDriveFileData"],summary:"Update file",description:"This operation updates a file.",operationId:"UpdateFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-capabilities":{chunkTransfer:!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#update-file"}},delete:{tags:["OneDriveFileData","AgentHidden"],summary:"Delete file",description:"This operation deletes a file.",operationId:"DeleteFile",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}}],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#delete-file"}}},"/{connectionId}/datasets/default/GetFileByPath":{get:{tags:["OneDriveFileData"],summary:"Get file metadata using path",description:"This operation gets the metadata of a file using the path.",operationId:"GetFileMetadataByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#get-file-metadata-using-path"}}},"/{connectionId}/datasets/default/files/{id}/share":{post:{tags:["OneDriveFileData"],summary:"Create share link",description:"This operation creates a share link for a file.",operationId:"CreateShareLink",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The type of link",required:!0,type:"string",enum:["View","Edit","Direct"],"x-ms-summary":"Link type"},{name:"scope",in:"query",description:"The scope of the link",required:!1,type:"string",default:"Anonymous",enum:["Anonymous","Organization"],"x-ms-summary":"Link scope"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SharingLink"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"CreateShareLink",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-share-link-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/files/{id}/shareV2":{post:{tags:["OneDriveFileData"],summary:"Create share link",description:"This operation creates a share link for a file.",operationId:"CreateShareLinkV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The type of link",required:!0,type:"string",enum:["View","Edit"],"x-ms-summary":"Link type"},{name:"scope",in:"query",description:"The scope of the link",required:!1,type:"string",default:"Anonymous",enum:["Anonymous","Organization"],"x-ms-summary":"Link scope"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SharingLink"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"CreateShareLink",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-share-link"}}},"/{connectionId}/datasets/default/CreateShareLinkByPath":{post:{tags:["OneDriveFileData"],summary:"Create share link by path",description:"This operation creates a share link for a file using the path.",operationId:"CreateShareLinkByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The type of link",required:!0,type:"string",enum:["View","Edit","Direct"],"x-ms-summary":"Link type"},{name:"scope",in:"query",description:"The scope of the link",required:!1,type:"string",default:"Anonymous",enum:["Anonymous","Organization"],"x-ms-summary":"Link scope"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SharingLink"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"CreateShareLinkByPath",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-share-link-by-path-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/CreateShareLinkByPathV2":{post:{tags:["OneDriveFileData"],summary:"Create share link by path",description:"This operation creates a share link for a file using the path.",operationId:"CreateShareLinkByPathV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The type of link",required:!0,type:"string",enum:["View","Edit"],"x-ms-summary":"Link type"},{name:"scope",in:"query",description:"The scope of the link",required:!1,type:"string",default:"Anonymous",enum:["Anonymous","Organization"],"x-ms-summary":"Link scope"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SharingLink"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"CreateShareLinkByPath",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-share-link-by-path"}}},"/{connectionId}/datasets/default/GetFileContentByPath":{get:{tags:["OneDriveFileData"],summary:"Get file content using path",description:"This operation gets the content of a file using the path.",operationId:"GetFileContentByPath",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"}},default:{description:"Operation Failed."}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#get-file-content-using-path"}}},"/{connectionId}/datasets/default/files/{id}/content":{get:{tags:["OneDriveFileData"],summary:"Get file content",description:"This operation gets the content of a file.",operationId:"GetFileContent",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"}},default:{description:"Operation Failed."}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#get-file-content"}}},"/{connectionId}/datasets/default/files":{post:{tags:["OneDriveFileData"],summary:"Create file",description:"This operation creates a file.",operationId:"CreateFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderPath",in:"query",description:"The unique path of the folder.",required:!0,type:"string","x-ms-summary":"Folder Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"name",in:"query",description:"The name of the file. Certain characters are disallowed by OneDrive and will be replaced by underscores.",required:!0,type:"string","x-ms-summary":"File Name"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-capabilities":{chunkTransfer:!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-file"}}},"/{connectionId}/datasets/default/files/chunk":{patch:{tags:["OneDriveFileData"],operationId:"CreateFileUploadChunk",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderPath",in:"query",description:"The unique path of the folder.",required:!0,type:"string","x-ms-summary":"Folder Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"name",in:"query",description:"The name of the file. Certain characters are disallowed by OneDrive and will be replaced by underscores.",required:!0,type:"string","x-ms-summary":"File Name"},{name:"sessionId",in:"query",description:"The search query to use",required:!0,type:"string","x-ms-summary":"Search Query"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/datasets/default/files/{id}/chunk":{patch:{tags:["OneDriveFileData"],operationId:"UpdateFileUploadChunk",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"sessionId",in:"query",description:"The search query to use",required:!0,type:"string","x-ms-summary":"Search Query"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/datasets/default/files/{id}/append":{patch:{tags:["OneDriveFileData"],summary:"Append file",description:"This operation appends to a file.",operationId:"AppendFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#append-file"}}},"/{connectionId}/datasets/default/copyFile":{post:{tags:["OneDriveFileData"],summary:"Upload file from URL",description:"This operation uploads a file from a URL to OneDrive.",operationId:"CopyFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",description:"The url to the source file.",required:!0,type:"string","x-ms-summary":"Source URL"},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#upload-file-from-url"}}},"/{connectionId}/datasets/default/files/{id}/copy":{post:{tags:["OneDriveFileData"],summary:"Copy file",description:"This operation copies a file within OneDrive.",operationId:"CopyDriveFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#copy-file"}}},"/{connectionId}/datasets/default/CopyFileByPath":{post:{tags:["OneDriveFileData"],summary:"Copy file using path",description:"This operation copies a file within OneDrive by path.",operationId:"CopyDriveFileByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#copy-file-using-path"}}},"/{connectionId}/datasets/default/files/{id}/move":{post:{tags:["OneDriveFileData"],summary:"Move or rename a file",description:"This operation moves or renames a file.",operationId:"MoveFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#move-or-rename-a-file"}}},"/{connectionId}/datasets/default/MoveFileByPath":{post:{tags:["OneDriveFileData"],summary:"Move or rename a file using path",description:"This operation moves or renames a file using the path.",operationId:"MoveFileByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#move-or-rename-a-file-using-path"}}},"/{connectionId}/datasets/default/files/{id}/convert":{get:{tags:["OneDriveFileData"],summary:"Convert file",description:"This operation converts a file to another format. The list of supported conversions can be found at https://aka.ms/onedriveconversions",operationId:"ConvertFile",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The target file type",required:!1,type:"string",default:"PDF",enum:["PDF","GLB","HTML","JPG"],"x-ms-summary":"Target type"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-name":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#convert-file"}}},"/{connectionId}/datasets/default/ConvertFileByPath":{get:{tags:["OneDriveFileData"],summary:"Convert file using path",description:"This operation converts a file to another format using the path. The list of supported conversions can be found at https://aka.ms/onedriveconversions",operationId:"ConvertFileByPath",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The target file type",required:!1,type:"string",default:"PDF",enum:["PDF","GLB","HTML","JPG"],"x-ms-summary":"Target type"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-name":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#convert-file-using-path"}}},"/{connectionId}/datasets/default/files/{id}/thumbnail":{get:{tags:["OneDriveFileData"],summary:"Get file thumbnail",description:"This operation gets the thumbnail of a file. The thumbnail will only be valid for 6 hours.",operationId:"GetFileThumbnail",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"size",in:"query",description:"The size of the thumbnail to retrieve.",required:!0,type:"string",enum:["Small","Medium","Large"],"x-ms-summary":"Thumbnail Size"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Thumbnail"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#get-file-thumbnail"}}},"/{connectionId}/api/blob/files/{id}":{get:{tags:["OneDriveFileData"],operationId:"GetFileMetadata_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"},put:{tags:["OneDriveFileData"],operationId:"UpdateFile_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"},delete:{tags:["OneDriveFileData"],operationId:"DeleteFile_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"}],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/GetFileByPath":{get:{tags:["OneDriveFileData"],operationId:"GetFileMetadataByPath_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",required:!0,type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/GetFileContentByPath":{get:{tags:["OneDriveFileData"],operationId:"GetFileContentByPath_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",required:!0,type:"string"},{name:"inferContentType",in:"query",required:!1,type:"boolean",default:!0}],responses:{200:{description:"OK",schema:{format:"binary",type:"string"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/files/{id}/content":{get:{tags:["OneDriveFileData"],operationId:"GetFileContent_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"},{name:"inferContentType",in:"query",required:!1,type:"boolean",default:!0}],responses:{200:{description:"OK",schema:{format:"binary",type:"string"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/files":{post:{tags:["OneDriveFileData"],operationId:"CreateFile_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderPath",in:"query",required:!0,type:"string"},{name:"name",in:"query",required:!0,type:"string"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/copyFile":{post:{tags:["OneDriveFileData"],operationId:"CopyFile_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",required:!0,type:"string"},{name:"destination",in:"query",required:!0,type:"string"},{name:"overwrite",in:"query",required:!1,type:"boolean",default:!1}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/datasets/default/triggers/onnewfile":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is created",description:"This operation triggers a flow when a new file is created in a folder. Files larger than 50 MB will be skipped and not returned by this trigger. Files moved within OneDrive are not considered new files.",operationId:"OnNewFile",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name","x-ms-visibility":"internal"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path","x-ms-visibility":"internal"},"x-ms-file-name-encoded":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"},"x-ms-file-path-encoded":{description:"The path of the file or folder.",type:"string",format:"byte","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"important","x-ms-trigger":"single","x-ms-trigger-hint":"To see it work now, add a file to the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnNewFile",revision:1},"x-ms-operation-context":{simulate:{operationId:"OnNewFileV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-created-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/triggers/onnewfilev2":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is created",description:"This operation triggers a flow when a new file is created in a folder. Files larger than 50 MB will be skipped and not returned by this trigger. Files moved within OneDrive are not considered new files.",operationId:"OnNewFileV2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders","x-ms-visibility":"advanced"},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"},{name:"simulate",in:"query",description:"Simulate this call.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Simulate","x-ms-visibility":"internal"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name","x-ms-visibility":"internal"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path","x-ms-visibility":"internal"},"x-ms-file-name-encoded":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"},"x-ms-file-path-encoded":{description:"The path of the file or folder.",type:"string",format:"byte","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-trigger":"single","x-ms-trigger-hint":"To see it work now, add a file to the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnNewFile",revision:2},"x-ms-operation-context":{simulate:{operationId:"OnNewFileV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-created"}}},"/{connectionId}/datasets/default/triggers/onupdatedfile":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is modified",description:"This operation triggers a flow when a file is modified in a folder. Files larger than 50 MB will be skipped and not returned by this trigger.",operationId:"OnUpdatedFile",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeFileContent",in:"query",required:!1,type:"boolean",default:!0,"x-ms-summary":"Include file content","x-ms-visibility":"internal"},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name","x-ms-visibility":"internal"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path","x-ms-visibility":"internal"},"x-ms-file-name-encoded":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"},"x-ms-file-path-encoded":{description:"The path of the file or folder.",type:"string",format:"byte","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work now, modify a file in the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnUpdatedFile",revision:1},"x-ms-operation-context":{simulate:{operationId:"OnUpdatedFileV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-modified-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/triggers/onupdatedfilev2":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is modified",description:"This operation triggers a flow when a file is modified in a folder. Files larger than 50 MB will be skipped and not returned by this trigger.",operationId:"OnUpdatedFileV2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders","x-ms-visibility":"advanced"},{name:"includeFileContent",in:"query",required:!1,type:"boolean",default:!0,"x-ms-summary":"Include file content","x-ms-visibility":"internal"},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"},{name:"simulate",in:"query",description:"Simulate this call.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Simulate","x-ms-visibility":"internal"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name","x-ms-visibility":"internal"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path","x-ms-visibility":"internal"},"x-ms-file-name-encoded":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"},"x-ms-file-path-encoded":{description:"The path of the file or folder.",type:"string",format:"byte","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work now, modify a file in the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnUpdatedFile",revision:2},"x-ms-operation-context":{simulate:{operationId:"OnUpdatedFileV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-modified"}}},"/{connectionId}/datasets/default/triggers/single/forASelectedFile":{get:{tags:["OneDriveFileDataTrigger"],summary:"For a selected file",description:"For internal use with the selected file hybrid trigger.",operationId:"ForASelectedFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ForASelectedFileResponse"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal","x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the selected file hybrid trigger.","x-ms-api-annotation":{status:"Production",family:"ForASelectedFile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#for-a-selected-file"}}},"/{connectionId}/datasets/default/triggers/batch/onnewfile":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is created (properties only)",description:"This operation triggers a flow when a new file is created in a folder. Files moved within OneDrive are not considered new files.",operationId:"OnNewFiles",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"maxFileCount",in:"query",description:"Maximum number of files to return by single trigger run (1-100). Note that 'Split On' setting can force trigger to process each item individually.",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"},"x-ms-summary":"List of Files"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a file to the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnNewFiles",revision:1},"x-ms-operation-context":{simulate:{operationId:"OnNewFilesV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-created-(properties-only)-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/triggers/batch/onnewfilesv2":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is created (properties only)",description:"This operation triggers a flow when a new file is created in a folder. Files moved within OneDrive are not considered new files.",operationId:"OnNewFilesV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders","x-ms-visibility":"advanced"},{name:"maxFileCount",in:"query",description:"Maximum number of files to return by single trigger run (1-100). Note that 'Split On' setting can force trigger to process each item individually.",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"},{name:"simulate",in:"query",description:"Simulate this call.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Simulate","x-ms-visibility":"internal"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"},"x-ms-summary":"List of Files"}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a file to the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnNewFiles",revision:2},"x-ms-operation-context":{simulate:{operationId:"OnNewFilesV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-created-(properties-only)"}}},"/{connectionId}/datasets/default/triggers/batch/onupdatedfile":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is modified (properties only)",description:"This operation triggers a flow when a file is modified in a folder.",operationId:"OnUpdatedFiles",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"maxFileCount",in:"query",description:"Maximum number of files to return by single trigger run (1-100). Note that 'Split On' setting can force trigger to process each item individually.",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"},"x-ms-summary":"List of Files"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, modify a file in the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnUpdatedFiles",revision:1},"x-ms-operation-context":{simulate:{operationId:"OnUpdatedFilesV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-modified-(properties-only)-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/triggers/batch/onupdatedfilesv2":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is modified (properties only)",description:"This operation triggers a flow when a file is modified in a folder.",operationId:"OnUpdatedFilesV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders","x-ms-visibility":"advanced"},{name:"maxFileCount",in:"query",description:"Maximum number of files to return by single trigger run (1-100). Note that 'Split On' setting can force trigger to process each item individually.",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"},{name:"simulate",in:"query",description:"Simulate this call.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Simulate","x-ms-visibility":"internal"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"},"x-ms-summary":"List of Files"}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, modify a file in the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnUpdatedFiles",revision:2},"x-ms-operation-context":{simulate:{operationId:"OnUpdatedFilesV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-modified-(properties-only)"}}},"/{connectionId}/api/trigger/onnewfile":{get:{tags:["OneDriveFileDataTrigger"],operationId:"OnNewFile_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",required:!0,type:"string"},{name:"inferContentType",in:"query",required:!1,type:"boolean",default:!0}],responses:{200:{description:"OK",schema:{format:"binary",type:"string"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal","x-ms-trigger":"single"}},"/{connectionId}/api/trigger/onupdatedfile":{get:{tags:["OneDriveFileDataTrigger"],operationId:"OnUpdatedFile_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",required:!0,type:"string"},{name:"includeFileContent",in:"query",required:!1,type:"boolean",default:!0},{name:"inferContentType",in:"query",required:!1,type:"boolean",default:!0}],responses:{200:{description:"OK",schema:{format:"binary",type:"string"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal","x-ms-trigger":"single"}},"/{connectionId}/datasets/default/folders/{id}":{get:{tags:["OneDriveFolderData"],summary:"List files in folder",description:"This operation gets the list of files and subfolders in a folder.",operationId:"ListFolder",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"ListFolder",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#list-files-in-folder-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/foldersV2/{id}":{get:{tags:["OneDriveFolderData"],summary:"List files in folder",description:"This operation gets the list of files and subfolders in a folder.",operationId:"ListFolderV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"skipToken",in:"query",required:!1,type:"string",default:"","x-ms-summary":"","x-ms-visibility":"internal"},{name:"top",in:"query",description:"The number of results to return.",required:!1,type:"integer",format:"int32",default:20,"x-ms-summary":"Top","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadataPage"}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-pageable":{nextLinkName:"nextLink"},"x-ms-api-annotation":{status:"Production",family:"ListFolder",revision:2},"x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#list-files-in-folder"}}},"/{connectionId}/datasets/default/folders":{get:{tags:["OneDriveFolderData"],summary:"List files in root folder",description:"This operation gets the list of files and subfolders in the root folder.",operationId:"ListRootFolder",consumes:[],produces:["application/json","text/json"],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#list-files-in-root-folder"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/datasets/default/rootfolders":{get:{tags:["OneDriveFolderData"],summary:"Lists all the root folders",description:"This operation gets the list of root folders.",operationId:"ListAllRootFolders",consumes:[],produces:["application/json","text/json"],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#lists-all-the-root-folders"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/datasets/default/extractFolderV2":{post:{tags:["OneDriveFolderData"],summary:"Extract archive to folder",description:"This operation extracts an archive file into a folder (example: .zip). Maximum archive size is 50 MB and 100 files inside.",operationId:"ExtractFolderV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",description:"The path to the archive file.",required:!0,type:"string","x-ms-summary":"Source Archive File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:["application/zip","application/x-zip-compressed"],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)",selectableFilter:"(MediaType eq 'application/zip' or MediaType eq 'application/x-zip-compressed')"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)",selectableFilter:"(MediaType eq 'application/zip' or MediaType eq 'application/x-zip-compressed')"}}},{name:"destination",in:"query",description:"The path to extract the archive contents.",required:!0,type:"string","x-ms-summary":"Destination Folder Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"overwrite",in:"query",description:"Overwrites the destination files if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#extract-archive-to-folder"}}},"/{connectionId}/datasets/default/folders/{id}/search":{get:{tags:["OneDriveFolderData"],summary:"Find files in folder",description:"This operation finds files within a folder using search or name pattern match.",operationId:"FindFiles",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"query",in:"query",description:"The search query to use",required:!0,type:"string","x-ms-summary":"Search Query"},{name:"id",in:"path",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"findMode",in:"query",description:'The search method to use. "Search" mode searches your OneDrive using the search query (similar a normal search engine). When "Regular Expression Pattern Match" mode is selected, the search query will be treated as a regex pattern, and it will return files with names that match the query',required:!0,type:"string",enum:["OneDriveSearch","Pattern"],"x-ms-summary":"File Search Mode"},{name:"maxFileCount",in:"query",description:"Maximum number of files to return (1-100)",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#find-files-in-folder"}}},"/{connectionId}/datasets/default/findFile":{get:{tags:["OneDriveFolderData"],summary:"Find files in folder by path",description:"This operation finds files within a folder by path using search or name pattern match.",operationId:"FindFilesByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"query",in:"query",description:"The search query to use",required:!0,type:"string","x-ms-summary":"Search Query"},{name:"path",in:"query",description:"The unique path of the folder.",required:!0,type:"string","x-ms-summary":"Folder Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"findMode",in:"query",description:'The search method to use. "Search" mode searches your OneDrive using the search query (similar a normal search engine). When "Regular Expression Pattern Match" mode is selected, the search query will be treated as a regex pattern, and it will return files with names that match the query',required:!0,type:"string",enum:["OneDriveSearch","Pattern"],"x-ms-summary":"File Search Mode"},{name:"maxFileCount",in:"query",description:"Maximum number of files to return (1-100)",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#find-files-in-folder-by-path"}}},"/{connectionId}/api/blob/folders/{id}":{get:{tags:["OneDriveFolderData"],operationId:"ListFolder_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/folders":{get:{tags:["OneDriveFolderData"],operationId:"ListRootFolder_Old",consumes:[],produces:["application/json","text/json"],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/api/blob/extractFolder":{post:{tags:["OneDriveFolderData"],operationId:"ExtractFolder_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",required:!0,type:"string"},{name:"destination",in:"query",required:!0,type:"string"},{name:"overwrite",in:"query",required:!1,type:"boolean",default:!1}],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/testconnection":{get:{tags:["OneDriveTestConnection"],operationId:"TestConnection",consumes:[],produces:[],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}}},definitions:{DataSetsMetadata:{description:"Dataset metadata",type:"object",properties:{tabular:{$ref:"#/definitions/TabularDataSetsMetadata"},blob:{$ref:"#/definitions/BlobDataSetsMetadata"}}},TabularDataSetsMetadata:{description:"Tabular dataset metadata",type:"object",properties:{source:{description:"Dataset source",type:"string"},displayName:{description:"Dataset display name",type:"string"},urlEncoding:{description:"Dataset url encoding",type:"string"},tableDisplayName:{description:"Table display name",type:"string"},tablePluralName:{description:"Table plural display name",type:"string"}}},BlobDataSetsMetadata:{description:"Blob dataset metadata",type:"object",properties:{source:{description:"Blob dataset source",type:"string"},displayName:{description:"Blob dataset display name",type:"string"},urlEncoding:{description:"Blob dataset url encoding",type:"string"}}},BlobMetadata:{description:"Blob metadata",type:"object",properties:{Id:{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"Id"},Name:{description:"The name of the file or folder.",type:"string","x-ms-summary":"Name"},NameNoExt:{description:"The name of the file or folder, without the file extension.",type:"string","x-ms-summary":"Name without extension"},DisplayName:{description:"The display name of the file or folder.",type:"string","x-ms-summary":"Display name"},Path:{description:"The path of the file or folder.",type:"string","x-ms-summary":"Path"},LastModified:{format:"date-time",description:"The date and time the file or folder was last modified.",type:"string","x-ms-summary":"Last modified time"},Size:{format:"int64",description:"The file or folder size in bytes.",type:"integer","x-ms-summary":"Size"},MediaType:{description:"The media type of the file or folder.",type:"string","x-ms-summary":"Media type"},IsFolder:{description:"A boolean value (true, false) to indicate whether or not the blob is a folder.",type:"boolean","x-ms-summary":"Is folder?"},ETag:{description:"The etag of the file or folder.",type:"string","x-ms-summary":"ETag"},FileLocator:{description:"The file locator of the file or folder.",type:"string","x-ms-summary":"File locator"},LastModifiedBy:{description:"The user who last modified the file or folder.",type:"string","x-ms-summary":"Last modified by"}}},SharingLink:{type:"object",properties:{WebUrl:{description:"A URL that points to the file or folder.",type:"string","x-ms-summary":"Web URL"}}},Tags:{description:"Tags",type:"object",properties:{Tags:{description:"A list of tags.",type:"array",items:{type:"string"},"x-ms-summary":"Tags"}}},Thumbnail:{description:"Thumbnail response data",type:"object",properties:{Url:{description:"A URL that points to the thumbnail.",type:"string","x-ms-summary":"Url"},Width:{format:"int32",description:"The thumbnail width in pixels.",type:"integer","x-ms-summary":"Width"},Height:{format:"int32",description:"The thumbnail height in pixels.",type:"integer","x-ms-summary":"Height"}}},ForASelectedFileResponse:{description:"For a selected file hybrid trigger response",type:"object",properties:{filePath:{description:"The unique path of the file.",type:"string"},fileUrl:{description:"The URL to the source file.",type:"string"}}},BlobMetadataPage:{description:"Represents a page of blob metadata.",type:"object",properties:{value:{description:"Blob metadata collection.",type:"array",items:{$ref:"#/definitions/BlobMetadata"},readOnly:!0},nextLink:{description:"A URL which can be used to retrieve the next page.",type:"string"}}}},"x-ms-capabilities":{"file-picker":{open:{operationId:"ListAllRootFolders"},browse:{operationId:"ListFolder",parameters:{id:{"value-property":"Id"}}},"value-title":"DisplayName","value-folder-property":"IsFolder","value-media-property":"MediaType"},testConnection:{operationId:"TestConnection",parameters:{}}},"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://products.office.com/onedrive/onedrive-for-business"}],externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness"}},wadlUrl:"https://pafeblobprodcy.blob.core.windows.net/apiwadls-3db52f95-0598-4834-9b40-b6ee71a8ac8a/shared%3A2Donedriveforbusiness?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A19Z&se=2025-07-03T09%3A05%3A19Z&sr=c&sp=rl&scid=807b4155-8580-4132-aefe-b982e95f1f07&sig=9HUPA0D2ovb7VcXxodA5YqLTdTdOZs6VRW%2B%2B5eHzklc%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/onedriveforbusiness"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/onedriveforbusiness",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/onedriveforbusiness",metadata:{source:"marketplace",brandColor:"#0078D4",useNewApimVersion:"true",version:{previous:"releases/v1.0.1732\\1.0.1732.4078",current:"v1.0.1751\\1.0.1751.4207"}},capabilities:["blob"],interfaces:{CDPBlob0:{revisions:{1:{baseUrl:"/",status:"Production",deprecated:!0}}},CDPBlob1:{revisions:{1:{baseUrl:"/",status:"Production"}}}},description:"OneDrive for Business is a cloud storage, file hosting service that allows users to sync files and later access them from a web browser or mobile device. Connect to OneDrive for Business to manage your files. You can perform various actions such as upload, update, get, and delete files.",createdTime:"2016-10-13T00:31:31.4041469Z",changedTime:"2025-04-30T16:55:51.1422291Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:["Read your user profile","Create, read, update, and delete files"],wont:[]},rateLimit:0,apiVersion:"None"}},w=Z;var Q={name:"shared_powerappsforappmakers",id:"/providers/Microsoft.PowerApps/apis/shared_powerappsforappmakers",type:"Microsoft.PowerApps/apis",properties:{displayName:"Power Apps for Makers",iconUri:"REDACTED",iconBrandColor:"#742774",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"9df0cbb7-aca1-44c2-8df8-02677d66c3ca",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"REDACTED",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED"},loginUri:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}}}},swagger:{swagger:"2.0",info:{title:"Power Apps for Makers",description:"Power Apps Management Connector for Makers",version:"1.0","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/powerappsforappmakers",schemes:["https"],consumes:[],produces:[],paths:{"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}":{get:{responses:{200:{description:"OK.",schema:{$ref:"#/definitions/PowerApp"}}},summary:"Get App",description:"Returns a PowerApp.",operationId:"Get-App",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01","x-ms-summary":"API Version",description:"The date value of the API version."}],externalDocs:{url:"REDACTED"}},delete:{responses:{200:{description:"No Content."}},summary:"Remove App",description:"Deletes a PowerApp.",operationId:"Remove-App",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01",description:"The date value of the API version.","x-ms-summary":"API Version"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#remove-app"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/publish":{post:{responses:{200:{description:"No Content."}},summary:"Publish App",description:"Publishes the latest saved version of a PowerApp to all users with view access.",operationId:"Publish-App",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string","x-ms-summary":"PowerApp Name",description:"Name field of the PowerApp."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01",description:"The date value of the API version.","x-ms-summary":"API Version"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#publish-app"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/displayName":{put:{responses:{200:{description:"No Content."}},summary:"Set App Display Name",description:"Updates the display name of a PowerApp.",operationId:"Set-AppDisplayName",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"Content-Type",in:"header",required:!1,type:"string",default:"application/json","x-ms-summary":"Content Type",description:"The content type of the API request."},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{displayName:{type:"string",description:"Display Name of App."}}}}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#set-app-display-name"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/versions":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},tags:{type:"object",properties:{primaryDeviceWidth:{type:"string",description:"The field primaryDeviceWidth."},primaryDeviceHeight:{type:"string",description:"The field primaryDeviceHeight."},sienaVersion:{type:"string",description:"The field sienaVersion."},deviceCapabilities:{type:"string",description:"The field deviceCapabilities."},supportsPortrait:{type:"string",description:"The field supportsPortrait."},supportsLandscape:{type:"string",description:"The field supportsLandscape."},primaryFormFactor:{type:"string",description:"The field primaryFormFactor."},publisherVersion:{type:"string",description:"The field publisherVersion."},minimumRequiredApiVersion:{type:"string",description:"The field minimumRequiredApiVersion."}},description:"The field tags."},properties:{type:"object",properties:{ownerTenantId:{type:"string",description:"The field ownerTenantId."},app:{type:"string",description:"The field app."},appVersion:{type:"string",format:"date-time",description:"The field appVersion."},lifeCycleId:{type:"string",description:"The field lifeCycleId."},createdByClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field createdByClientVersion."},minClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field minClientVersion."},appDefinition:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},tags:{type:"object",properties:{primaryDeviceWidth:{type:"string",description:"The field primaryDeviceWidth."},primaryDeviceHeight:{type:"string",description:"The field primaryDeviceHeight."},sienaVersion:{type:"string",description:"The field sienaVersion."},deviceCapabilities:{type:"string",description:"The field deviceCapabilities."},supportsPortrait:{type:"string",description:"The field supportsPortrait."},supportsLandscape:{type:"string",description:"The field supportsLandscape."},primaryFormFactor:{type:"string",description:"The field primaryFormFactor."},publisherVersion:{type:"string",description:"The field publisherVersion."},minimumRequiredApiVersion:{type:"string",description:"The field minimumRequiredApiVersion."}},description:"The field tags."},properties:{type:"object",properties:{appVersion:{type:"string",format:"date-time",description:"The field appVersion."},lastDraftVersion:{type:"string",format:"date-time",description:"The field lastDraftVersion."},lifeCycleId:{type:"string",description:"The field lifeCycleId."},status:{type:"string",description:"The field status."},createdByClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field createdByClientVersion."},minClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field minClientVersion."},owner:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field owner."},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},lastModifiedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastModifiedBy."},lastPublishedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastPublishedBy."},backgroundColor:{type:"string",description:"The field backgroundColor."},backgroundImageUri:{type:"string",description:"The field backgroundImageUri."},displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},appUris:{type:"object",properties:{documentUri:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field documentUri."},imageUris:{type:"array",items:{type:"string"},description:"The field imageUris."}},description:"The field appUris."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},lastPublishTime:{type:"string",format:"date-time",description:"The field lastPublishTime."},sharedGroupsCount:{type:"integer",format:"int32",description:"The field sharedGroupsCount."},sharedUsersCount:{type:"integer",format:"int32",description:"The field sharedUsersCount."},appOpenProtocolUri:{type:"string",description:"The field appOpenProtocolUri."},appOpenUri:{type:"string",description:"The field appOpenUri."},userAppMetadata:{type:"object",properties:{favorite:{type:"string",description:"The field favorite."},includeInAppsList:{type:"boolean",description:"The field includeInAppsList."}},description:"The field userAppMetadata."},isFeaturedApp:{type:"boolean",description:"The field isFeaturedApp."},bypassConsent:{type:"boolean",description:"The field bypassConsent."},isHeroApp:{type:"boolean",description:"The field isHeroApp."},environment:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."}},description:"The field environment."}},description:"The field properties."}},description:"The field appDefinition."}},description:"The field properties."}}},description:"The field value."}}}}},summary:"Get App Versions",description:"Returns a list of versions for a given PowerApp.",operationId:"Get-AppVersions",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Apps versions to return.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],"x-ms-pageable":{nextLinkName:"nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-app-versions"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/versions/{appVersionName}/promote":{post:{responses:{200:{description:"default",schema:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},tags:{type:"object",properties:{primaryDeviceWidth:{type:"string",description:"The field primaryDeviceWidth."},primaryDeviceHeight:{type:"string",description:"The field primaryDeviceHeight."},sienaVersion:{type:"string",description:"The field sienaVersion."},deviceCapabilities:{type:"string",description:"The field deviceCapabilities."},supportsPortrait:{type:"string",description:"The field supportsPortrait."},supportsLandscape:{type:"string",description:"The field supportsLandscape."},primaryFormFactor:{type:"string",description:"The field primaryFormFactor."},publisherVersion:{type:"string",description:"The field publisherVersion."},minimumRequiredApiVersion:{type:"string",description:"The field minimumRequiredApiVersion."}},description:"The field tags."},properties:{type:"object",properties:{appVersion:{type:"string",format:"date-time",description:"The field appVersion."},lastDraftVersion:{type:"string",format:"date-time",description:"The field lastDraftVersion."},lifeCycleId:{type:"string",description:"The field lifeCycleId."},status:{type:"string",description:"The field status."},createdByClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field createdByClientVersion."},minClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field minClientVersion."},owner:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field owner."},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},lastModifiedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastModifiedBy."},lastPublishedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastPublishedBy."},backgroundColor:{type:"string",description:"The field backgroundColor."},backgroundImageUri:{type:"string",description:"The field backgroundImageUri."},displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},appUris:{type:"object",properties:{documentUri:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field documentUri."},imageUris:{type:"array",items:{type:"string"},description:"The field imageUris."}},description:"The field appUris."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},lastPublishTime:{type:"string",format:"date-time",description:"The field lastPublishTime."},sharedGroupsCount:{type:"integer",format:"int32",description:"The field sharedGroupsCount."},sharedUsersCount:{type:"integer",format:"int32",description:"The field sharedUsersCount."},appOpenProtocolUri:{type:"string",description:"The field appOpenProtocolUri."},appOpenUri:{type:"string",description:"The field appOpenUri."},userAppMetadata:{type:"object",properties:{favorite:{type:"string",description:"The field favorite."},includeInAppsList:{type:"boolean",description:"The field includeInAppsList."}},description:"The field userAppMetadata."},isFeaturedApp:{type:"boolean",description:"The field isFeaturedApp."},bypassConsent:{type:"boolean",description:"The field bypassConsent."},isHeroApp:{type:"boolean",description:"The field isHeroApp."},environment:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."}},description:"The field environment."}},description:"The field properties."}}}}},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"appVersionName",in:"path",required:!0,type:"string",description:"Version field of the PowerApp.","x-ms-summary":"PowerApp Version"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."}],summary:"Restore App Version",description:"Restores the specified App Version as the current version.",operationId:"Restore-AppVersion",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#restore-app-version"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/permissions":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{roleName:{type:"string",description:"The field roleName."},principal:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."}},description:"The field principal."},scope:{type:"string",description:"The field scope."},notifyShareTargetOption:{type:"string",description:"The field notifyShareTargetOption."}},description:"The field properties."}}},description:"The field value."}}}}},summary:"Get App Role Assignments",description:"Returns a list of permissions for the specified PowerApp name.",operationId:"Get-AppRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string","x-ms-summary":"PowerApp Name",description:"Name field of the PowerApp."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of App Role Assignments.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],"x-ms-pageable":{nextLinkName:"nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-app-role-assignments"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/modifyPermissions":{post:{responses:{200:{description:"default",schema:{type:"object",properties:{put:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"The field id."},properties:{type:"object",properties:{roleName:{type:"string",description:"The field roleName."},scope:{type:"string",description:"The field scope."},principal:{type:"object",properties:{id:{type:"string",description:"The field id."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."}},description:"The field principal."},resourceResponses:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"The field id."},statusCode:{type:"string",description:"The field statusCode."},responseCode:{type:"string",description:"The field responseCode."},message:{type:"string",description:"The field message."},type:{type:"string",description:"The field type."}}},description:"The field resourceResponses."}},description:"The field properties."}}},description:"The field put."}}}}},summary:"Edit App Role Assignment",description:"Sets permissions to a PowerApp.",operationId:"Edit-AppRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string","x-ms-summary":"PowerApp Name",description:"Name field of the PowerApp."},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"Content-Type",in:"header",required:!1,type:"string",default:"application/json","x-ms-summary":"Content Type",description:"The content type of the API request."},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{delete:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"Role Id of User."}}},description:"delete"},put:{type:"array",items:{type:"object",properties:{properties:{type:"object",properties:{principal:{type:"object",properties:{email:{type:"string",description:"Email of the User."},tenantId:{type:"string",description:"Tenant Id of the User."},id:{type:"string",description:"ID of the user."},type:{type:"string",description:"Type of User."}},description:"principal"},NotifyShareTargetOption:{type:"string",description:"Notify ShareTarget Option.",enum:["Notify","DoNotNotify"]},roleName:{type:"string",description:"Role Name of User."}},description:"properties"}}},description:"put"}}}}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#edit-app-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/connections":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{apiId:{type:"string",description:"The field apiId."},displayName:{type:"string",description:"The field displayName."},iconUri:{type:"string",description:"The field iconUri."},statuses:{type:"array",items:{type:"object",properties:{status:{type:"string",description:"The field status."},target:{type:"string",description:"The field target."},error:{type:"object",properties:{code:{type:"string",description:"The field code."},message:{type:"string",description:"The field message."}},description:"The field error."}}},description:"The field statuses."},connectionParameters:{type:"object",properties:{sku:{type:"string",description:"The field sku."},workflowName:{type:"string",description:"The field workflowName."},workflowPath:{type:"string",description:"The field workflowPath."},workflowEndpoint:{type:"string",description:"The field workflowEndpoint."},workFlowCallbackUri:{type:"string",description:"The field workFlowCallbackUri."},$connections:{type:"object",properties:{shared_msnweather:{type:"object",properties:{apiId:{type:"string",description:"The field apiId."},connectionId:{type:"string",description:"The field connectionId."},source:{type:"string",description:"The field source."}},description:"The field shared_msnweather."},shared_flowpush:{type:"object",properties:{apiId:{type:"string",description:"The field apiId."},connectionId:{type:"string",description:"The field connectionId."},source:{type:"string",description:"The field source."}},description:"The field shared_flowpush."}},description:"The field $connections."},server:{type:"string",description:"The field server."},database:{type:"string",description:"The field database."}},description:"The field connectionParameters."},keywordsRemaining:{type:"integer",format:"int32",description:"The field keywordsRemaining."},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},environment:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."}},description:"The field environment."},metadata:{type:"object",properties:{shared_msnweather:{type:"string",description:"The field shared_msnweather."},shared_flowpush:{type:"string",description:"The field shared_flowpush."}},description:"The field metadata."},expirationTime:{type:"string",format:"date-time",description:"The field expirationTime."},testLinks:{type:"array",items:{type:"object",properties:{requestUri:{type:"string",description:"The field requestUri."},method:{type:"string",description:"The field method."}}},description:"The field testLinks."}},description:"The field properties."}}},description:"The field value."}}}}},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Connections.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Connections",description:"Returns a list of Connections.",operationId:"Get-Connections",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connections"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/connections/{connectionName}":{delete:{responses:{200:{description:"No Content."}},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"connectionName",in:"path",required:!0,type:"string","x-ms-summary":"Connection Name",description:"Name field of the Connection."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."}],summary:"Remove Connection",description:"Deletes a Connection.",operationId:"Remove-Connection",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#remove-connection"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/connections/{connectionName}/permissions":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{roleName:{type:"string",description:"The field roleName."},principal:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."}},description:"The field principal."},notifyShareTargetOption:{type:"string",description:"The field notifyShareTargetOption."}},description:"The field properties."}}},description:"The field value."}}}}},summary:"Get Connection Role Assignment",description:"Returns a list of permissions to a Connection.",operationId:"Get-ConnectionRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"connectionName",in:"path",required:!0,type:"string",description:"Name field of the Connection.","x-ms-summary":"Connection Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Connection Role Assignments.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],"x-ms-pageable":{nextLinkName:"nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connection-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/connections/{connectionName}/modifyPermissions":{post:{responses:{200:{description:"No Content."}},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"connectionName",in:"path",required:!0,type:"string","x-ms-summary":"Connection Name",description:"Name field of the Connection."},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"Content-Type",in:"header",required:!1,type:"string",default:"application/json","x-ms-summary":"Content Type",description:"The content type of the API request."},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{delete:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"Role Id of User."}}},description:"delete"},put:{type:"array",items:{type:"object",properties:{properties:{type:"object",properties:{principal:{type:"object",properties:{email:{type:"string",description:"Email of User."},tenantId:{type:"string",description:"TenantId of User."},id:{type:"string",description:"Id of User."},type:{type:"string",description:"Type of User."}},description:"principal"},NotifyShareTargetOption:{type:"string",description:"NotifyShareTargetOption of User.",enum:["Notify","DoNotNotify"]},roleName:{type:"string",description:"RoleName of User."}},description:"properties"}}},description:"put"}}}}],summary:"Edit Connection Role Assignment",description:"Sets permissions to a Connection.",operationId:"Edit-ConnectionRoleAssignment",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#edit-connection-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},iconUri:{type:"string",description:"The field iconUri."},iconBrandColor:{type:"string",description:"The field iconBrandColor."},apiEnvironment:{type:"string",description:"The field apiEnvironment."},isCustomApi:{type:"boolean",description:"The field isCustomApi."},connectionParameters:{type:"object",properties:{token:{type:"object",properties:{type:{type:"string",description:"The field type."},oAuthSettings:{type:"object",properties:{identityProvider:{type:"string",description:"The field identityProvider."},clientId:{type:"string",description:"The field clientId."},scopes:{type:"array",items:{type:"string"},description:"The field scopes."},redirectUrl:{type:"string",description:"The field redirectUrl."},properties:{type:"object",properties:{IsFirstParty:{type:"string",description:"The field IsFirstParty."}},description:"The field properties."},customParameters:{type:"object",properties:{capability:{type:"object",properties:{value:{type:"string",description:"The field value."}},description:"The field capability."}},description:"The field customParameters."}},description:"The field oAuthSettings."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{required:{type:"string",description:"The field required."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field token."}},description:"The field connectionParameters."},runtimeUrls:{type:"array",items:{type:"string"},description:"The field runtimeUrls."},primaryRuntimeUrl:{type:"string",description:"The field primaryRuntimeUrl."},metadata:{type:"object",properties:{source:{type:"string",description:"The field source."},brandColor:{type:"string",description:"The field brandColor."}},description:"The field metadata."},capabilities:{type:"array",items:{type:"string"},description:"The field capabilities."},interfaces:{type:"object",properties:{CDPBlob0:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."},deprecated:{type:"boolean",description:"The field deprecated."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPBlob0."},CDPBlob1:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPBlob1."}},description:"The field interfaces."},description:{type:"string",description:"The field description."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},changedTime:{type:"string",format:"date-time",description:"The field changedTime."},releaseTag:{type:"string",description:"The field releaseTag."},tier:{type:"string",description:"The field tier."},publisher:{type:"string",description:"The field publisher."},scopes:{type:"object",properties:{will:{type:"array",items:{type:"string"},description:"The field will."},wont:{type:"array",items:{type:"string"},description:"The field wont."}},description:"The field scopes."}},description:"The field properties."}}}}},summary:"Get Connector",description:"Returns a Connector.",operationId:"Get-Connector",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string",description:"Name field of the Connector.","x-ms-summary":"Connector Name"},{name:"$filter",in:"query",required:!1,type:"string","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01",description:"The date value of the API version.","x-ms-summary":"API Version"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connector"}},delete:{responses:{200:{description:"No Content."}},summary:"Remove Connector",description:"Deletes a Connector.",operationId:"Remove-Connector",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#remove-connector"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/permissions":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{roleName:{type:"string",description:"The field roleName."},principal:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."}},description:"The field principal."},notifyShareTargetOption:{type:"string",description:"The field notifyShareTargetOption."}},description:"The field properties."}}},description:"The field value."}}}}},"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Connector Role Assignment",description:"Returns a list of permissions for the specified Connector.",operationId:"Get-ConnectorRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Connector Role Assignments.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connector-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/modifyPermissions":{post:{responses:{200:{description:"No Content."}},summary:"Edit Connector Role Assignment",description:"Sets permissions to a Connector.",operationId:"Edit-ConnectorRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''",description:"A filter query parameter.","x-ms-summary":"Filter Query"},{name:"Content-Type",in:"header",required:!1,type:"string",default:"application/json","x-ms-summary":"Content Type",description:"The content type of the API request."},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{delete:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"Role id of User."}}},description:"delete"},put:{type:"array",items:{type:"object",properties:{properties:{type:"object",properties:{principal:{type:"object",properties:{email:{type:"string",description:"Email of User."},tenantId:{type:"string",description:"TenantId of User."},id:{type:"string",description:"Id of User."},type:{type:"string",description:"Type of User."}},description:"principal"},NotifyShareTargetOption:{type:"string",description:"NotifyShareTargetOption of User.",enum:["Notify","DoNotNotify"]},roleName:{type:"string",description:"RoleName of User."}},description:"properties"}}},description:"put"}}}}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#edit-connector-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},iconUri:{type:"string",description:"The field iconUri."},iconBrandColor:{type:"string",description:"The field iconBrandColor."},apiEnvironment:{type:"string",description:"The field apiEnvironment."},isCustomApi:{type:"boolean",description:"The field isCustomApi."},connectionParameters:{type:"object",properties:{token:{type:"object",properties:{type:{type:"string",description:"The field type."},oAuthSettings:{type:"object",properties:{identityProvider:{type:"string",description:"The field identityProvider."},clientId:{type:"string",description:"The field clientId."},scopes:{type:"array",items:{type:"string"},description:"The field scopes."},redirectUrl:{type:"string",description:"The field redirectUrl."},properties:{type:"object",properties:{IsFirstParty:{type:"string",description:"The field IsFirstParty."}},description:"The field properties."},customParameters:{type:"object",properties:{capability:{type:"object",properties:{value:{type:"string",description:"The field value."}},description:"The field capability."}},description:"The field customParameters."}},description:"The field oAuthSettings."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{required:{type:"string",description:"The field required."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field token."},gateway:{type:"object",properties:{type:{type:"string",description:"The field type."},gatewaySettings:{type:"object",properties:{dataSourceType:{type:"string",description:"The field dataSourceType."},connectionDetails:{type:"array",items:{type:"string"},description:"The field connectionDetails."}},description:"The field gatewaySettings."},uiDefinition:{type:"object",properties:{tabIndex:{type:"integer",format:"int32",description:"The field tabIndex."},constraints:{type:"object",properties:{hidden:{type:"string",description:"The field hidden."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field gateway."},authType:{type:"object",properties:{type:{type:"string",description:"The field type."},allowedValues:{type:"array",items:{type:"object",properties:{value:{type:"string",description:"The field value."}}},description:"The field allowedValues."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{tabIndex:{type:"integer",format:"int32",description:"The field tabIndex."},required:{type:"string",description:"The field required."},allowedValues:{type:"array",items:{type:"object",properties:{text:{type:"string",description:"The field text."},value:{type:"string",description:"The field value."}}},description:"The field allowedValues."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field authType."},username:{type:"object",properties:{type:{type:"string",description:"The field type."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{tabIndex:{type:"integer",format:"int32",description:"The field tabIndex."},clearText:{type:"boolean",description:"The field clearText."},required:{type:"string",description:"The field required."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field username."},password:{type:"object",properties:{type:{type:"string",description:"The field type."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{tabIndex:{type:"integer",format:"int32",description:"The field tabIndex."},required:{type:"string",description:"The field required."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field password."}},description:"The field connectionParameters."},runtimeUrls:{type:"array",items:{type:"string"},description:"The field runtimeUrls."},primaryRuntimeUrl:{type:"string",description:"The field primaryRuntimeUrl."},metadata:{type:"object",properties:{source:{type:"string",description:"The field source."},brandColor:{type:"string",description:"The field brandColor."}},description:"The field metadata."},capabilities:{type:"array",items:{type:"string"},description:"The field capabilities."},interfaces:{type:"object",properties:{CDPTabular1:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPTabular1."},CDPBlob0:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."},deprecated:{type:"boolean",description:"The field deprecated."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPBlob0."},CDPBlob1:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPBlob1."}},description:"The field interfaces."},description:{type:"string",description:"The field description."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},changedTime:{type:"string",format:"date-time",description:"The field changedTime."},releaseTag:{type:"string",description:"The field releaseTag."},tier:{type:"string",description:"The field tier."},publisher:{type:"string",description:"The field publisher."},scopes:{type:"object",properties:{will:{type:"array",items:{type:"string"},description:"The field will."},wont:{type:"array",items:{type:"string"},description:"The field wont."}},description:"The field scopes."}},description:"The field properties."}}},description:"The field value."}}}}},"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Connectors",description:"Returns a list of Connectors.",operationId:"Get-Connectors",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"showApisWithToS",in:"query",required:!1,type:"string",default:"true",description:"Show all the Apis.","x-ms-summary":"ShowAllApis"},{name:"$filter",in:"query",required:!1,type:"string",description:"A filter query parameter.","x-ms-summary":"Filter Query"},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01",description:"The date value of the API version.","x-ms-summary":"API Version"},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Connectors.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connectors"}}},"/{connectionId}/providers/Microsoft.PowerApps/environments":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."},location:{type:"string",description:"The field location."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{azureRegionHint:{type:"string",description:"The field azureRegionHint."},displayName:{type:"string",description:"The field displayName."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},clientUris:{type:"object",properties:{admin:{type:"string",description:"Admin portal Uri for the environment."},maker:{type:"string",description:"Maker portal Uri for the environment."}}},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},type:{type:"string",description:"The field type."},email:{type:"string",description:"The field email."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},provisioningState:{type:"string",description:"The field provisioningState."},creationType:{type:"string",description:"The field creationType."},environmentSku:{type:"string",description:"The field environmentSku."},environmentType:{type:"string",description:"The field environmentType."},isDefault:{type:"boolean",description:"The field isDefault."},permissions:{type:"object",properties:{CreatePowerApp:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreatePowerApp."},ReadEnvironment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ReadEnvironment."},GenerateResourceStorage:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field GenerateResourceStorage."},CreateGateway:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateGateway."},CreateFlow:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateFlow."},CreateCustomApi:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateCustomApi."},ExportEnvironmentPackage:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ExportEnvironmentPackage."},ImportEnvironmentPackage:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ImportEnvironmentPackage."},CreateFunction:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateFunction."},AdminReadEnvironment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field AdminReadEnvironment."},UpdateEnvironment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field UpdateEnvironment."},DeleteEnvironment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field DeleteEnvironment."},SetDLPPolicy:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field SetDLPPolicy."},ListAnyPowerApp:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ListAnyPowerApp."},ListAnyFlow:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ListAnyFlow."},DeleteAnyPowerApp:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field DeleteAnyPowerApp."},DeleteAnyFlow:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field DeleteAnyFlow."},AddEnvironmentRoleAssignment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field AddEnvironmentRoleAssignment."},ReadEnvironmentRoleInformation:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ReadEnvironmentRoleInformation."},RemoveEnvironmentRoleAssignment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field RemoveEnvironmentRoleAssignment."},ModifyDatabaseRoleAssignments:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ModifyDatabaseRoleAssignments."},CreateDatabase:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateDatabase."},ManageAnyPowerApp:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageAnyPowerApp."},ManageAnyConnection:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageAnyConnection."},ManageCDSMigration:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageCDSMigration."},ManageTalentEnvironmentSettings:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageTalentEnvironmentSettings."},ManageAnyCustomApi:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageAnyCustomApi."},ListAnyFunction:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ListAnyFunction."},DeleteAnyFunction:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field DeleteAnyFunction."}},description:"The field permissions."},runtimeEndpoints:{type:"object",properties:{"microsoft.BusinessAppPlatform":{type:"string",description:"The field microsoft BusinessAppPlatform."},"microsoft.CommonDataModel":{type:"string",description:"The field microsoft CommonDataModel."},"microsoft.PowerApps":{type:"string",description:"The field microsoft Power Apps."},"microsoft.Flow":{type:"string",description:"The field microsoft Flow."}},description:"The field runtimeEndpoints."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},lastModifiedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastModifiedBy."},linkedEnvironmentMetadata:{type:"object",properties:{type:{type:"string",description:"The field type."},resourceId:{type:"string",description:"The field resourceId."},friendlyName:{type:"string",description:"The field friendlyName."},uniqueName:{type:"string",description:"The field uniqueName."},domainName:{type:"string",description:"The field domainName."},version:{type:"string",description:"The field version."},instanceUrl:{type:"string",description:"The field instanceUrl."},instanceApiUrl:{type:"string",description:"The field instanceApiUrl."},baseLanguage:{type:"integer",format:"int32",description:"The field baseLanguage."},instanceState:{type:"string",description:"The field instanceState."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},modifiedTime:{type:"string",format:"date-time",description:"The field modifiedTime."},hostNameSuffix:{type:"string",description:"The field hostNameSuffix."},bapSolutionId:{type:"string",description:"The field bapSolutionId."},creationTemplates:{type:"array",items:{type:"string"},description:"The field creationTemplates."},managementPackageVersion:{type:"string",description:"The field managementPackageVersion."}},description:"The field linkedEnvironmentMetadata."},softDeletedTime:{type:"string",format:"date-time",description:"The field softDeletedTime."},provisioningDetails:{type:"object",properties:{message:{type:"string",description:"The field message."},operations:{type:"array",items:{type:"object",properties:{httpStatus:{type:"string",description:"The field httpStatus."},code:{type:"string",description:"The field code."}}},description:"The field operations."}},description:"The field provisioningDetails."}},description:"The field properties."}}},description:"The field value."}}}}},"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Environments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"api-version",in:"query",required:!1,type:"string",default:"2022-11-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Environments.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],description:"Returns a list of Environments.",operationId:"Get-Environments",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-environments"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/ResourceArray[PowerApp]"}}},"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Apps",description:"Returns a list of apps.",operationId:"Get-Apps",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01",description:"The date value of the API version.","x-ms-summary":"API Version"},{name:"$filter",in:"query",required:!1,type:"string",description:"A filter query parameter.","x-ms-summary":"Filter Query"},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Apps to return.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-apps"}}}},definitions:{"ResourceArray[PowerApp]":{type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/PowerApp"},description:"The field value."}}},PowerApp:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},tags:{type:"object",properties:{primaryDeviceWidth:{type:"string",description:"The field primaryDeviceWidth."},primaryDeviceHeight:{type:"string",description:"The field primaryDeviceHeight."},sienaVersion:{type:"string",description:"The field sienaVersion."},deviceCapabilities:{type:"string",description:"The field deviceCapabilities."},supportsPortrait:{type:"string",description:"The field supportsPortrait."},supportsLandscape:{type:"string",description:"The field supportsLandscape."},primaryFormFactor:{type:"string",description:"The field primaryFormFactor."},publisherVersion:{type:"string",description:"The field publisherVersion."},minimumRequiredApiVersion:{type:"string",description:"The field minimumRequiredApiVersion."}},description:"The field tags."},properties:{type:"object",properties:{appVersion:{type:"string",format:"date-time",description:"The field appVersion."},createdByClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field createdByClientVersion."},minClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field minClientVersion."},owner:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field owner."},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},lastModifiedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastModifiedBy."},backgroundColor:{type:"string",description:"The field backgroundColor."},backgroundImageUri:{type:"string",description:"The field backgroundImageUri."},displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},appUris:{type:"object",properties:{documentUri:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field documentUri."},imageUris:{type:"array",items:{type:"string"},description:"The field imageUris."}},description:"The field appUris."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},sharedGroupsCount:{type:"integer",format:"int32",description:"The field sharedGroupsCount."},sharedUsersCount:{type:"integer",format:"int32",description:"The field sharedUsersCount."},appOpenProtocolUri:{type:"string",description:"The field appOpenProtocolUri."},appOpenUri:{type:"string",description:"The field appOpenUri."},userAppMetadata:{type:"object",properties:{favorite:{type:"string",description:"The field favorite."},lastOpenedTime:{type:"string",format:"date-time",description:"The field lastOpenedTime."},includeInAppsList:{type:"boolean",description:"The field includeInAppsList."}},description:"The field userAppMetadata."},isFeaturedApp:{type:"boolean",description:"The field isFeaturedApp."},bypassConsent:{type:"boolean",description:"The field bypassConsent."},isHeroApp:{type:"boolean",description:"The field isHeroApp."},environment:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."}},description:"The field environment."},appPackageDetails:{type:"object",properties:{playerPackage:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field playerPackage."},webPackage:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field webPackage."},documentServerVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field documentServerVersion."},appPackageResourcesKind:{type:"string",description:"The field appPackageResourcesKind."},packagePropertiesJson:{type:"string",description:"The field packagePropertiesJson."}},description:"The field appPackageDetails."}},description:"The field properties."}}}},parameters:{},responses:{},securityDefinitions:{oauth2_auth:{type:"oauth2",flow:"accessCode",authorizationUrl:"https://login.windows.net/common/oauth2/authorize",tokenUrl:"https://login.windows.net/common/oauth2/authorize",scopes:{}}},security:[{oauth2_auth:[]}],tags:[],"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://powerapps.microsoft.com/"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers"}},wadlUrl:"https://pafeblobprodmw.blob.core.windows.net/apiwadls-d86c6660-8cff-46bc-8e65-4fae4de9fb31/shared%3A2Dpowerappsforappmakers?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A27Z&se=2025-07-03T09%3A05%3A27Z&sr=c&sp=rl&scid=c1de4d35-7c0d-4a6d-8f31-7a02252a1543&sig=KWxf68KxwBjZFlnAVt8Kbp%2FhQKQv81E4sAo2Tj62Lv4%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/powerappsforappmakers"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/powerappsforappmakers",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/powerappsforappmakers",metadata:{source:"marketplace",brandColor:"#742774",useNewApimVersion:"true",version:{previous:"releases/v1.0.1747\\1.0.1748.4181",current:"v1.0.1758\\1.0.1758.4260"}},capabilities:["actions"],interfaces:{},description:"Power Apps Management Connector for Makers",createdTime:"2018-08-17T00:00:45.0580395Z",changedTime:"2025-06-17T17:26:47.1327576Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},D=Q;var J={name:"shared_sharepointonline",id:"/providers/Microsoft.PowerApps/apis/shared_sharepointonline",type:"Microsoft.PowerApps/apis",properties:{displayName:"SharePoint",capabilities:["tabular","gateway","cloud"],primaryRuntimeUrl:"https://mock-runtime.powerplatform.com/apim/sharepointonline",interfaces:{CDPTabular1:{revisions:{1:{status:"Production",baseUrl:"/v2"}}}},connectionParameters:{},metadata:{allowSharing:!1}}},P=J;var Y={name:"TestList",title:"TestList","x-ms-permission":"read-write","x-ms-capabilities":{sortRestrictions:{sortable:!0,unsortableProperties:["MultipleLine","{Identifier}","{IsFolder}","{Thumbnail}","{Link}","{Name}","{FilenameWithExtension}","{Path}","{FullPath}","{ModerationStatus}","{ModerationComment}","{ContentType}","{HasAttachments}","{Attachments}","{VersionNumber}","{TriggerWindowStartToken}","{TriggerWindowEndToken}"]},filterRestrictions:{filterable:!0,nonFilterableProperties:["MultipleLine","HyperlinkCol","{Identifier}","{IsFolder}","{Thumbnail}","{Link}","{Name}","{FilenameWithExtension}","{Path}","{FullPath}","{ModerationStatus}","{ModerationComment}","{ContentType}","{HasAttachments}","{Attachments}","{VersionNumber}","{TriggerWindowStartToken}","{TriggerWindowEndToken}"]},isOnlyServerPagable:!0,filterFunctionSupport:["and","or","eq","startswith","gt","ge","lt","le","ne"],serverPagingOptions:["top","skiptoken"],odataVersion:3},schema:{type:"array",items:{type:"object",required:["Title"],properties:{ID:{title:"ID",description:"List item id. Use this value for specifying the item to act on in other list related actions.",type:"integer",format:"int64","x-ms-keyType":"primary","x-ms-keyOrder":1,"x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]}},Title:{title:"Title",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},"ChoiceCol1#Id":{title:"ChoiceCol1 Id",type:"integer",format:"int64","x-ms-permission":"read-only","x-ms-visibility":"internal"},ChoiceCol1:{title:"ChoiceCol1",type:"object","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{"x-ms-sp":{IsChoice:!0},filterFunctions:["eq"]},properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-write"},Value:{title:"Value",type:"string",default:"Choice 1","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"391e32ab-844e-4edc-af68-cc75b54bfc24"},"value-path":"Value","value-title":"Value","value-collection":"value"}},Id:{title:"Id",type:"integer",format:"int64","x-ms-visibility":"internal",default:0,"x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"Value"}},DateTimeCol:{title:"DateTimeCol",type:"string",format:"date-time","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]}},MultipleLine:{title:"MultipleLine",type:"string","x-ms-permission":"read-write","x-ms-sort":"none",default:"sampe"},"Person#Claims":{title:"Person Claims",type:"string","x-ms-permission":"read-only","x-ms-visibility":"internal"},Person:{title:"Person",type:"object","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]},properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-write"},Claims:{title:"Claims",type:"string","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"3dc412c0-3eb9-4126-99be-df73a5d38a4f"},"value-path":"Claims","value-title":"DisplayName","value-collection":"value"}},DisplayName:{title:"DisplayName",type:"string","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"Title"},filterFunctions:["eq","startswith"]}},Email:{title:"Email",type:"string",format:"email","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"EMail"},filterFunctions:["eq","startswith"]}},Picture:{title:"Picture",type:"string",format:"uri","x-ms-media-kind":"image","x-ms-media-default-folder-path":"/sites/AppConnectivity","x-ms-media-base-url":"https://capintegration01.sharepoint.com/sites/AppConnectivity","x-ms-permission":"read-only"},Department:{title:"Department",type:"string","x-ms-permission":"read-only"},JobTitle:{title:"JobTitle",type:"string","x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"DisplayName",subtitleProperty:"Email",thumbnailProperty:"Picture"}},NumCol:{title:"NumCol",type:"number",format:"double","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]},maximum:17976931348623157e292,minimum:-17976931348623157e292},YesNoCol:{title:"YesNoCol",type:"boolean","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]},default:!0},HyperlinkCol:{title:"HyperlinkCol",type:"string",format:"uri","x-ms-permission":"read-write","x-ms-sort":"asc,desc"},CurrencyCol:{title:"CurrencyCol",type:"number",format:"double","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]},default:1,maximum:17976931348623157e292,minimum:-17976931348623157e292},LocCol:{title:"LocCol",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},Street:{title:"LocCol: Street",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},City:{title:"LocCol: City",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},State:{title:"LocCol: State",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},CountryOrRegion:{title:"LocCol: Country/Region",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},PostalCode:{title:"LocCol: Postal Code",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},GeoLoc:{title:"LocCol: Coordinates",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},DispName:{title:"LocCol: Name",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},ImageCol:{title:"ImageCol",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},field_18:{title:"LookupCol",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},ManagedMetadataCol:{title:"ManagedMetadataCol",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},String:{title:"String ",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},StringNoSpace:{title:"StringNoSpace",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},field_22:{title:"Users1",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},field_23:{title:"Users1: Title",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},OData__ColorTag:{title:"Color Tag",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},ComplianceAssetId:{title:"Compliance Asset Id",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},Modified:{title:"Modified",description:"When this item was last changed.",type:"string",format:"date-time","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]}},Created:{title:"Created",description:"When this item was created.",type:"string",format:"date-time","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]}},"Author#Claims":{title:"Created By Claims",type:"string",description:"Internal identifier for the user who created this item.","x-ms-permission":"read-only","x-ms-visibility":"internal"},Author:{title:"Created By",description:"The user who created this item.",type:"object","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]},properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-only"},Claims:{title:"Claims",type:"string",description:"Internal identifier for the user who created this item.","x-ms-permission":"read-only","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"1df5e554-ec7e-46a6-901d-d85a3881cb18"},"value-path":"Claims","value-title":"DisplayName","value-collection":"value"}},DisplayName:{title:"DisplayName",type:"string",description:"The name of the user who created this item.","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"Title"},filterFunctions:["eq","startswith"]}},Email:{title:"Email",type:"string",description:"Email address of the user who created this item.",format:"email","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"EMail"},filterFunctions:["eq","startswith"]}},Picture:{title:"Picture",type:"string",description:"Link to a picture of the user who created this item.",format:"uri","x-ms-media-kind":"image","x-ms-media-default-folder-path":"/sites/AppConnectivity","x-ms-media-base-url":"https://capintegration01.sharepoint.com/sites/AppConnectivity","x-ms-permission":"read-only"},Department:{title:"Department",type:"string",description:"Department name of the user who created this item.","x-ms-permission":"read-only"},JobTitle:{title:"JobTitle",type:"string",description:"Job title of the user who created this item.","x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"DisplayName",subtitleProperty:"Email",thumbnailProperty:"Picture"}},"Editor#Claims":{title:"Modified By Claims",type:"string",description:"Internal identifier for the user who last changed this item.","x-ms-permission":"read-only","x-ms-visibility":"internal"},Editor:{title:"Modified By",description:"The user who last changed this item.",type:"object","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]},properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-only"},Claims:{title:"Claims",type:"string",description:"Internal identifier for the user who last changed this item.","x-ms-permission":"read-only","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"d31655d1-1d5b-4511-95a1-7a09e9b75bf2"},"value-path":"Claims","value-title":"DisplayName","value-collection":"value"}},DisplayName:{title:"DisplayName",type:"string",description:"The name of the user who last changed this item.","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"Title"},filterFunctions:["eq","startswith"]}},Email:{title:"Email",type:"string",description:"Email address of the user who last changed this item.",format:"email","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"EMail"},filterFunctions:["eq","startswith"]}},Picture:{title:"Picture",type:"string",description:"Link to a picture of the user who last changed this item.",format:"uri","x-ms-media-kind":"image","x-ms-media-default-folder-path":"/sites/AppConnectivity","x-ms-media-base-url":"https://capintegration01.sharepoint.com/sites/AppConnectivity","x-ms-permission":"read-only"},Department:{title:"Department",type:"string",description:"Department name of the user who last changed this item.","x-ms-permission":"read-only"},JobTitle:{title:"JobTitle",type:"string",description:"Job title of the user who last changed this item.","x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"DisplayName",subtitleProperty:"Email",thumbnailProperty:"Picture"}},"{Identifier}":{title:"Identifier",description:"Value that can be used in file related actions for selecting a file.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{IsFolder}":{title:"IsFolder",description:"True when the item is a folder, false otherwise.",type:"boolean","x-ms-permission":"read-only","x-ms-sort":"none"},"{Thumbnail}":{title:"Thumbnail",description:"URL to the thumbnails of the item in 3 different sizes, if available.",type:"object","x-ms-permission":"read-only","x-ms-sort":"none",properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-only"},Small:{title:"Small",type:"string",description:"URL to the small, highly compressed size thumbnail of the item, if available.","x-ms-permission":"read-only"},Medium:{title:"Medium",type:"string",description:"URL to the standard size thumbnail of the item, if available.","x-ms-permission":"read-only"},Large:{title:"Large",type:"string",description:"URL to the largest size thumbnail of the item, if available.","x-ms-permission":"read-only"}}},"{Link}":{title:"Link to item",description:"Link that can be used to get to the file or list item. Only people with permissions to the item will be able to open the link.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{Name}":{title:"Name",description:"File name of the item in document libraries, display name of the item in lists.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{FilenameWithExtension}":{title:"File name with extension",description:"For libraries, returns file name including extension. For lists, returns the title property.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{Path}":{title:"Folder path",description:"Path to the folder the item is in, relative to the site address.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{FullPath}":{title:"Full Path",description:"Full path of an item or a folder or a file",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{ModerationStatus}":{title:"Content approval status",description:"The content approval status. It can be one of the following: Draft, Pending, Approved, or Rejected",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{ModerationComment}":{title:"Comments associated with the content approval of this list item",description:"The comments associated with moderation of the list item.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{ContentType}#Id":{title:"Content type Id",type:"string","x-ms-permission":"read-only","x-ms-visibility":"internal"},"{ContentType}":{title:"Content type",description:"Name of the Content type of the item.",type:"object","x-ms-permission":"read-write","x-ms-sort":"none",properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-write"},Id:{title:"Id",type:"string","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"4651e8f2-38c9-4ad0-8def-41f743f76f30"},"value-path":"Id","value-title":"Name","value-collection":"value"}},Name:{title:"Name",type:"string","x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"Name"}},"{HasAttachments}":{title:"Has attachments",description:"Indicates the presence of attachments in the item.",type:"boolean","x-ms-permission":"read-only","x-ms-sort":"none"},"{Attachments}@odata.type":{title:"{Attachments}",type:"string","x-ms-visibility":"internal","x-ms-permission":"read-write"},"{Attachments}":{title:"Attachments",description:"Never returns any data. Use Attachment endpoints to access item attachments.","x-ms-permission":"read-write",targetEntity:"attachments",format:"x-ms-containedMediaEntity","x-ms-visibility":"internal",type:"array",items:{type:"object",format:"x-ms-mediaEntity","x-ms-sort":"none",properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-write"},Id:{title:"Id",type:"string","x-ms-keyType":"primary","x-ms-keyOrder":1,"x-ms-permission":"read-only"},AbsoluteUri:{title:"AbsoluteUri",type:"string",format:"uri","x-ms-permission":"read-only"},DisplayName:{title:"DisplayName",type:"string","x-ms-permission":"read-only"}}},"@odata.type":"#Collection(Microsoft.Azure.Connectors.SharePoint.SPListItemAttachment)"},"{VersionNumber}":{title:"Version number",description:"The version number of the file or the list item.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{TriggerWindowStartToken}":{title:"Trigger Window Start Token",description:"A token expressing the time of the last flow check. Use this if you want to check if one or more columns were modified since the last flow check.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{TriggerWindowEndToken}":{title:"Trigger Window End Token",description:"A token expressing the time of the current flow check. Use this if you want to check if one or more columns were modified since the last flow check.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"}},"x-ms-relationships":{ChoiceCol1:{targetEntity:"ChoiceCol1",referentialConstraints:{"ChoiceCol1#Id":{referencedProperty:"Id"}}},Person:{targetEntity:"Person",referentialConstraints:{"Person#Claims":{referencedProperty:"Claims"}}},Author:{targetEntity:"Author",referentialConstraints:{"Author#Claims":{referencedProperty:"Claims"}}},Editor:{targetEntity:"Editor",referentialConstraints:{"Editor#Claims":{referencedProperty:"Claims"}}},"{ContentType}":{targetEntity:"4651e8f2-38c9-4ad0-8def-41f743f76f30",referentialConstraints:{"{ContentType}#Id":{referencedProperty:"Id"}}}},"x-ms-displayFormat":{propertiesDisplayOrder:["ChoiceCol1","DateTimeCol","MultipleLine","Person","NumCol","YesNoCol","HyperlinkCol","CurrencyCol","LocCol","Street","City","State","CountryOrRegion","PostalCode","GeoLoc","DispName","ImageCol","field_18","ManagedMetadataCol","String","StringNoSpace","field_22","field_23","{Attachments}"],propertiesCompactDisplayOrder:["Title","ChoiceCol1","DateTimeCol","MultipleLine","Person","NumCol","YesNoCol","HyperlinkCol","CurrencyCol","LocCol","Street","City","State","CountryOrRegion","PostalCode","GeoLoc","DispName","ImageCol","field_18","ManagedMetadataCol","String","StringNoSpace","field_22","field_23"],propertiesTabularDisplayOrder:["Title","ChoiceCol1","DateTimeCol","MultipleLine","Person","NumCol","YesNoCol","HyperlinkCol","CurrencyCol","LocCol","Street","City","State","CountryOrRegion","PostalCode","GeoLoc","DispName","ImageCol","field_18","ManagedMetadataCol","String","StringNoSpace","field_22","field_23"]}}},referencedEntities:{ChoiceCol1:{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/ChoiceCol1",capabilities:{searchable:!0,requiresSearch:!1}}},Person:{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/Person",capabilities:{searchable:!0,requiresSearch:!1}}},Author:{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/Author",capabilities:{searchable:!0,requiresSearch:!1}}},Editor:{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/Editor",capabilities:{searchable:!0,requiresSearch:!1}}},"4651e8f2-38c9-4ad0-8def-41f743f76f30":{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/%257bContentType%257d",capabilities:{searchable:!0,requiresSearch:!1}}}},webUrl:"https://capintegration01.sharepoint.com/sites/AppConnectivity/Lists/TestList/AllItems.aspx"},C=Y;var X={name:"shared_teams",id:"/providers/Microsoft.PowerApps/apis/shared_teams",type:"Microsoft.PowerApps/apis",properties:{displayName:"Microsoft Teams",iconUri:"REDACTED_URL",iconBrandColor:"",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"4b55a631-6b07-4d07-a701-28f46d72f3df",scopes:["User.Read.All","Group.ReadWrite.All","Group.Read.All"],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED_URL",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"https://graph.microsoft.com",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED_URL"},loginUri:{value:"REDACTED_URL"},LoginUriAAD:{value:"REDACTED_URL"}}}},"token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}}},swagger:{swagger:"2.0",info:{version:"1.0.4",title:"Microsoft Teams",description:"Microsoft Teams enables you to get all your content, tools and conversations in the Team workspace with Microsoft 365.","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/v1.0/me/calendars/{calendarid}/events":{post:{summary:"Create a Teams meeting",description:"Create a meeting with a link at the bottom of the invite to join the meeting online on Microsoft Teams.",tags:["TeamsMeeting"],operationId:"CreateTeamsMeeting","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"calendarid",in:"path",enum:["Birthdays","Calendar","United States holidays"],"x-ms-summary":"Calendar id",description:"Select a value",type:"string",required:!0},{name:"item",in:"body",description:"Meeting to create",required:!0,schema:{$ref:"#/definitions/NewMeeting"},"x-ms-summary":"Item"}],consumes:["application/json"],produces:["application/json"],responses:{201:{description:"default",schema:{$ref:"#/definitions/NewMeetingRespone"}}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/v1.0/me/outlook/supportedTimeZones":{get:{summary:"Get supported time zones",description:"Lists the time zones that are supported for the user, as configured on the user's mailbox server.",tags:["o365Calendar"],operationId:"GetSupportedTimeZones",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of one or more time zones",type:"array","x-ms-summary":"Time zones List",items:{type:"object","x-ms-summary":"Time zone",description:"Represents a time zone entity",properties:{alias:{description:"An identifier for the time zone",type:"string","x-ms-summary":"ID","x-ms-visibility":"important"},displayName:{description:"A display string that represents the time zone",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"}}}}}}}},deprecated:!1,"x-ms-visibility":"internal",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/me/joinedTeams":{get:{summary:"List teams",description:"Lists all the Microsoft Teams you are a member of",operationId:"GetAllTeams",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of the teams you are a part of",type:"array","x-ms-summary":"Teams List",items:{type:"object","x-ms-summary":"Team",description:"Team entity",properties:{description:{description:"An optional description for the team",type:"string","x-ms-summary":"Description","x-ms-visibility":"important"},displayName:{description:"The name of the team",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"},id:{description:"The team's unique identifier, also called an Microsoft 365 Group ID",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"}}}}}}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/me/teamwork":{get:{summary:"API to test connections",description:"This operation is a quick way to test connections",operationId:"GetTeamwork","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/groups/{groupId}/channels":{get:{summary:"List channels",description:"Lists all the channels for a specific team",tags:["TeamsChannel"],operationId:"GetChannelsForGroup",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of one or more channels for a specific team",type:"array","x-ms-summary":"Channel List",items:{type:"object","x-ms-summary":"Channel",description:"Properties associated with a single channel",properties:{description:{description:"Optional textual description for the channel",type:"string","x-ms-summary":"Description","x-ms-visibility":"important"},displayName:{description:"Channel name as it appears in Microsoft Teams",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"},id:{description:"The channel's unique identifier",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"}}}}}}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"REDACTED_URL"}},post:{summary:"Create a channel",description:"Create a new channel within a specified team",tags:["TeamsChannel"],"x-ms-visibility":"advanced",operationId:"CreateChannel",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["displayName"],type:"object",properties:{description:{description:"Optional textual description for the channel",type:"string","x-ms-summary":"Description","x-ms-visibility":"advanced"},displayName:{description:"Channel name as it appears in Microsoft Teams",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"}}}}],responses:{201:{description:"default",schema:{type:"object",properties:{description:{description:"Optional textual description for the channel",type:"string","x-ms-summary":"Description","x-ms-visibility":"important"},displayName:{description:"Channel name as it appears in Microsoft Teams",type:"string","x-ms-summary":"Display Name","x-ms-visibility":"important"},id:{description:"The channel's unique identifier",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"}}}}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/channels/{channelId}":{get:{summary:"Get details for a specific channel in team","x-ms-summary":"Get channel details in team",description:"Get the channel details",tags:["TeamsChannel"],operationId:"GetChannel",produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/GetChannelResponse"}}},deprecated:!1,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/flowbot/actions/listchats/chattypes/{chatType}/topic/{topic}/expandmembers/false":{get:{summary:"List chats",description:"Lists recent chats you are a part of",tags:["TeamsChat"],operationId:"GetChats",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/chatType__in_path"},{$ref:"#/parameters/topic__in_path"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of one or more chats you are a part of",type:"array","x-ms-summary":"Chats List",items:{type:"object","x-ms-summary":"Chat",description:"Chat Entity",properties:{topic:{description:"Subject or topic for the chat. Only available for group chats",type:"string","x-ms-summary":"Topic","x-ms-visibility":"important"},createdDateTime:{description:"Date and time when the chat was created",type:"string","x-ms-summary":"Created Date Time",format:"date-time","x-ms-visibility":"important"},lastUpdatedDateTime:{description:"Date and time of when the chat was last renamed or its member list was last updated",type:"string","x-ms-summary":"Last Updated Date Time",format:"date-time","x-ms-visibility":"important"},id:{description:"The chat's unique identifier",type:"string","x-ms-summary":"Conversation ID","x-ms-visibility":"advanced"}}}}}}}},deprecated:!1,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/tags":{get:{tags:["AgentHidden"],summary:"List all tags for a team",description:"Lists the team's tags",operationId:"GetTags",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"}],responses:{200:{description:"Get tags response",schema:{$ref:"#/definitions/GetTagsResponseSchema"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}},post:{tags:["AgentHidden"],summary:"Create a tag for a team",description:"Creates a tag in a team",operationId:"CreateTag",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["displayName","members"],type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"The name of the tag as it appears to the user in Microsoft Teams.",type:"string"},members:{"x-ms-summary":"Members' IDs",description:"List of users' IDs separated by semi-colons, identifier must be in a format like '550e8400-e29b-41d4-a716-446655440000'.",type:"string"}}}}],responses:{200:{description:"Create a tag response",schema:{$ref:"#/definitions/CreateTagResponseSchema"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/tags/{tagId}/members":{post:{tags:["AgentHidden"],summary:"Add a member to a tag",description:"Adds a user to a tag",operationId:"AddMemberToTag",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["userId"],type:"object",properties:{userId:{"x-ms-summary":"User's ID",description:"The user's ID of the member to add to the tag, must be in a format like '550e8400-e29b-41d4-a716-446655440000'.",type:"string"}}}}],responses:{201:{description:"Add member to tag response",schema:{$ref:"#/definitions/AddMemberToTagResponseSchema"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}},get:{tags:["AgentHidden"],summary:"List the members of a tag",description:"Lists the members of a tag",operationId:"GetTagMembers",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"}],responses:{201:{description:"Get tag members response",schema:{$ref:"#/definitions/GetTagMembersResponseSchema"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/tags/{tagId}/members/{tagMemberId}":{delete:{tags:["AgentHidden"],summary:"Delete a member from a tag",description:"Deletes a member from a tag",operationId:"DeleteTagMember",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"},{name:"tagMemberId",in:"path",required:!0,"x-ms-summary":"Tag Member ID",description:"ID of the member to remove from the tag",type:"string"}],responses:{204:{description:"Delete tag member succeeded"},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/flowbot/feednotification/poster/{poster}/notificationType/{notificationType}":{post:{summary:"Post a feed notification",description:"Posts a notification to a user's activity feed linking to a chat or team.",operationId:"PostFeedNotification",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterJustFlowbot__in_path"},{$ref:"#/parameters/notificationType__in_path"},{name:"body","x-ms-summary":"Post feed notification request",description:"The post feed notification request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicPostFeedNotificationRequest"}}],responses:{201:{description:"Empty Response."},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/tags/{tagId}":{get:{summary:"Get an @mention token for a tag",description:"Creates a token that can be inserted into a message or adaptive card sent as a user in a channel to @mention a tag.",tags:["TeamsChannel","AgentHidden"],operationId:"AtMentionTag",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"}],responses:{201:{description:"Get tags response",schema:{$ref:"#/definitions/AtMentionTagResponse"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}},delete:{tags:["AgentHidden"],summary:"Delete a tag",description:"Deletes a tag from a team",operationId:"DeleteTag",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"}],responses:{204:{description:"Delete tag succeeded"},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/channels/{channelId}/messages":{post:{summary:"Post a message (V2)",description:"This operation is used to post a message to a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostMessageToChannelV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["body"],type:"object",properties:{subject:{description:"Subject of the message.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Subject"},body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string","x-ms-summary":"Message","x-ms-visibility":"important"},contentType:{description:"Content type: html or text.",type:"string","x-ms-summary":"Type","x-ms-visibility":"advanced",default:"html",enum:["html","text"]}}}}}}],responses:{201:{description:"Empty Response."}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostMessageToChannel",revision:2},externalDocs:{url:"REDACTED_URL"}},get:{summary:"Get messages",description:"This operation is used to get messages from a channel in a specific team",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"GetMessagesFromChannel",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/GetMessagesFromChannel_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-pageable":{nextLinkName:"@odata.nextLink"},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/messages/{messageId}/messageType/{threadType}":{post:{summary:"Get message details",description:"Gets details of a message in a chat or a channel",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"GetMessageDetails",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/messageId__in_path"},{$ref:"#/parameters/threadType__in_path"},{name:"body","x-ms-summary":"Get message details request",description:"The get message details request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicGetMessageDetailsSchema"}}],responses:{201:{description:"Get message details response",schema:{$ref:"#/definitions/DynamicGetMessageDetailsResponseSchema"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/v1.0/teams/{groupId}/channels/{channelId}/messages/{messageId}/replies":{get:{summary:"List replies of a channel message",description:"This operation is used to list replies to a message in a channel in a specific Team.","x-ms-visibility":"important",operationId:"ListRepliesToMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{$ref:"#/parameters/messageId__in_path"},{name:"$top",in:"query","x-ms-summary":"Latest replies count",description:"The number of latest replies to return. The default value is 20. The supported value is between 1 and 50.",required:!1,"x-ms-visibility":"important",type:"integer",format:"int32",default:20,minimum:1,maximum:50}],responses:{200:{description:"List replies message Response",schema:{$ref:"#/definitions/ListRepliesResponseSchema"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#list-replies-of-a-channel-message"}}},"/{connectionId}/v1.0/teams/listmembers/threadType/{threadType}":{post:{summary:"List members",description:"List members of a group chat or a channel",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"ListMembers",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/listMembersThreadType__in_path"},{name:"body","x-ms-summary":"List members request",description:"The list members request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicListMembersSchema"}}],responses:{201:{description:"The list members response",schema:{$ref:"#/definitions/ListMembersResponseSchema"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#list-members"}}},"/{connectionId}/v3/beta/teams/{groupId}/channels/{channelId}/messages":{post:{summary:"Post a message (V3)",description:"This operation is used to post a message to a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostMessageToChannelV3",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["body"],type:"object",properties:{subject:{description:"Subject of the message.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Subject"},body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string",format:"html","x-ms-summary":"Message","x-ms-visibility":"important"},contentType:{description:"Content type: html or text.",type:"string","x-ms-summary":"Type","x-ms-visibility":"internal",default:"html",enum:["html","text"]}}}}}}],responses:{201:{description:"Message Id",schema:{$ref:"#/definitions/MessageId"}}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostMessageToChannel",revision:3},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-message-(v3)-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{groupId}/channels/{channelId}/messages/{messageId}/replies":{post:{summary:"Post a reply to a message",description:"This operation is used to post a reply to a message in a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostReplyToMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{$ref:"#/parameters/messageId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["body"],type:"object",properties:{subject:{description:"Subject of the message.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Subject"},body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string","x-ms-summary":"Reply","x-ms-visibility":"important"},contentType:{description:"Content type: html or text.",type:"string","x-ms-summary":"Type","x-ms-visibility":"advanced",default:"html",enum:["html","text"]}}}}}}],responses:{201:{description:"Empty Response."}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostReplyToMessage",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-reply-to-a-message-%5bdeprecated%5d"}}},"/{connectionId}/v2/beta/teams/{groupId}/channels/{channelId}/messages/{messageId}/replies":{post:{summary:"Post a reply to a message (V2)",description:"This operation is used to post a reply to a message in a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostReplyToMessageV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{$ref:"#/parameters/messageId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["body"],type:"object",properties:{subject:{description:"Subject of the message.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Subject"},body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string",format:"html","x-ms-summary":"Reply","x-ms-visibility":"important"},contentType:{description:"Content type: html or text.",type:"string","x-ms-summary":"Type","x-ms-visibility":"internal",default:"html",enum:["html","text"]}}}}}}],responses:{201:{description:"Empty Response."}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostReplyToMessage",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-reply-to-a-message-(v2)-%5bdeprecated%5d"}}},"/{connectionId}/trigger/beta/teams/{groupId}/channels/{channelId}/messages":{get:{summary:"When a new channel message is added",description:"Triggers when a new message is posted to a channel in a team. Note that this trigger only fires when a root messages is added in the channel. Replies to an existing channel message will not result in the trigger event firing.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"OnNewChannelMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"$top",in:"query","x-ms-summary":"Top","x-ms-test-value":"50","x-ms-visibility":"internal",type:"integer",format:"int32",default:50}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OnNewChannelMessage_Response"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a message to the channel.","x-ms-dev-triggerType":"SimpleFilter","x-ms-dev-triggerDateFormat":"iso","x-ms-dev-triggerValueCollection":"value","x-ms-dev-triggerValuePath":"createdDateTime",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-channel-message-is-added"}}},"/{connectionId}/trigger/beta/teams/{groupId}/channels/{channelId}/messages_mentioningme":{get:{summary:"When I am mentioned in a channel message",description:"Triggers when a new message that @mentions the current user is added to a channel in a team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"OnNewChannelMessageMentioningMe",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"$top",in:"query","x-ms-summary":"Top","x-ms-test-value":"50","x-ms-visibility":"internal",type:"integer",format:"int32",default:50}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OnNewChannelMessage_Response"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work, get @mentioned in one of the specified channels.","x-ms-dev-triggerType":"SimpleFilter","x-ms-dev-triggerDateFormat":"iso","x-ms-dev-triggerValueCollection":"value","x-ms-dev-triggerValuePath":"createdDateTime",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-i-am-mentioned-in-a-channel-message"}}},"/{connectionId}/beta/subscriptions/atmentiontrigger/threadType/{threadType}":{post:{description:"Triggers when a new message that @mentions the current user is added to a specified chat or channel.",summary:"When I'm @mentioned",tags:["TeamsChat","TeamsChannel"],operationId:"WebhookAtMentionTrigger",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"},{name:"requestBody",in:"body",description:"This is the request body of the Webhook",schema:{$ref:"#/definitions/DynamicWebhookTriggerRequestSchema"}}],consumes:["application/json"],produces:["application/json"],responses:{default:{description:"default response for a trigger subscription",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, get @mentioned in one of the specified chats or channels.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-i%27m-%40mentioned"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/DynamicAtMentionWebhookTriggerResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/subscriptions/messagereactiontrigger/threadType/{threadType}":{post:{description:"Triggers when someone reacts to a message in a specified chat or channel.",summary:"When someone reacted to a message in chat",tags:["TeamsChat","TeamsChannel"],operationId:"WebhookMessageReactionTrigger",produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{type:"string",name:"reactionKey",in:"query",description:"Choose emoji to monitor for message reactions",required:!0,"x-ms-summary":"Emoji to Track"},{type:"string",name:"frequency",in:"query",description:"Whether the flow should be triggered by every reaction or only the first reaction on a particular message",enum:["Multiple","Once"],"x-ms-enum-values":[{displayName:"Every reaction (multiple)",value:"Multiple"},{displayName:"First reaction only (once)",value:"Once"}],required:!0,"x-ms-summary":"Trigger Frequency"},{type:"string",name:"runningPolicy",in:"query",description:"Specify who can trigger this workflow",required:!0,enum:["Myself","Everyone"],"x-ms-enum-values":[{displayName:"Myself",value:"Myself"},{displayName:"Everyone",value:"Everyone"}],"x-ms-summary":"Who can trigger?"},{$ref:"#/parameters/threadType__in_path"},{name:"requestBody",in:"body",description:"This is the request body of the Webhook",schema:{$ref:"#/definitions/DynamicWebhookTriggerRequestSchema"}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, react a message in the specified chat(s).",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-someone-reacted-to-a-message-in-chat"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/MessageReactionWebhookResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/subscriptions/chatmessagetrigger":{post:{description:"Triggers when a new message is posted in any chat the user is a part of.",summary:"When a new chat message is added",tags:["TeamsChat"],operationId:"WebhookChatMessageTrigger",produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"ChatMessageSubscriptionRequest","x-ms-summary":"Chat Message subscription request",description:"The chat message subscription request",in:"body",required:!0,schema:{type:"object",properties:{notificationUrl:{"x-ms-visibility":"internal","x-ms-notification-url":!0,type:"string"}}}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, send a message in any chat.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-chat-message-is-added"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/ChatMessageWebhookResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/subscriptions/keywordtrigger/threadType/{threadType}":{post:{description:"Triggers when a keyword is mentioned in a specified chat or channel. Does not trigger if a message is edited.",summary:"When keywords are mentioned",tags:["TeamsChat","TeamsChannel"],operationId:"WebhookKeywordTrigger",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"},{name:"$search",in:"query",required:!0,"x-ms-summary":"Keywords to search for",description:"A comma separated list of keywords to search for","x-ms-visibility":"important",type:"string"},{name:"requestBody",in:"body",description:"This is the request body of the Webhook",schema:{$ref:"#/definitions/DynamicWebhookTriggerRequestSchema"}}],consumes:["application/json"],produces:["application/json"],responses:{default:{description:"default response for a trigger subscription",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, use the keywords in one of the specified chats or channels.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-keywords-are-mentioned"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/DynamicKeywordWebhookTriggerResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/subscriptions/newmessagetrigger/threadType/{threadType}":{post:{description:"Triggers when a new message is posted in a specified chat or channel. Does not trigger if a message is edited.",summary:"When a new message is added to a chat or channel",tags:["TeamsChat","TeamsChannel"],operationId:"WebhookNewMessageTrigger",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"},{name:"requestBody",in:"body",description:"This is the request body of the Webhook",schema:{$ref:"#/definitions/DynamicWebhookTriggerRequestSchema"}}],consumes:["application/json"],produces:["application/json"],responses:{default:{description:"default response for a trigger subscription",schema:{}}},"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, post a message in one of the specified chats or channels.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-message-is-added-to-a-chat-or-channel"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/DynamicNewMessageWebhookTriggerResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/workflows/graphsubscriptions/{subscriptionIds}":{delete:{summary:"Delete Workflows MT Subscriptions","x-ms-summary":"Delete Workflows MT Subscriptions",description:"Delete Microsoft Graph webhook subscriptions which were created by the Workflows MiddleTier Service",operationId:"DeleteWorkflowsMiddleTierSubscriptions",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"subscriptionIds",in:"path",required:!0,type:"string"}],responses:{200:{description:"OK"},default:{description:"default",schema:{}}},"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#delete-workflows-mt-subscriptions"}},patch:{summary:"Renew Workflows MT Subscriptions","x-ms-summary":"Renew Workflows MT Subscriptions",description:"Renew Microsoft Graph webhook subscriptions which were created by the Workflows MiddleTier Service",operationId:"RenewWorkflowsMiddleTierSubscriptions",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"subscriptionIds",in:"path",required:!0,type:"string"},{name:"renewEncryptionCert",in:"query",type:"boolean",required:!1},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{expirationDateTime:{type:"string",description:"Specify the date and time, in UTC format, of when the Microsoft Graph webhook subscription expires. The maximum expiration time for security alerts is 43200 minutes (under 30 days)",title:"Expiration date time","x-ms-visibility":"important"}}}}],responses:{200:{description:"OK"},default:{description:"default",schema:{}}},"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#renew-workflows-mt-subscriptions"}}},"/{connectionId}/beta/subscriptions/{subscriptionIds}":{delete:{summary:"Delete WebHook Subscription","x-ms-summary":"Delete WebHook Subscription",description:"Delete WebHook Subscription",operationId:"DeleteWebHookSubscription",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"subscriptionIds",in:"path",required:!0,type:"string"}],responses:{200:{description:"OK"},default:{description:"default",schema:{}}},"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#delete-webhook-subscription"}},patch:{summary:"Update subscription","x-ms-summary":"Renew WebHook Subscription",description:"Renew a Microsoft Graph webhook subscription by updating its expiration time",operationId:"RenewWebHookSubscription",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"subscriptionIds",in:"path",required:!0,type:"string"},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{expirationDateTime:{type:"string",description:"Specify the date and time, in UTC format, of when the Microsoft Graph webhook subscription expires. The maximum expiration time for security alerts is 43200 minutes (under 30 days)",title:"Expiration date time","x-ms-visibility":"important"}}}}],responses:{200:{description:"OK"},default:{description:"default",schema:{}}},"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#update-subscription"}}},"/{connectionId}/beta/groups/{groupId}/channels/{channelId}/chatThreads":{post:{summary:"Post a message",description:"This operation is used to post a message to a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostMessageToChannel",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["rootMessage"],type:"object",properties:{rootMessage:{description:"rootMessage",required:["body"],type:"object",properties:{body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string",format:"html","x-ms-summary":"Message","x-ms-visibility":"important"},contentType:{format:"int32",description:"0 for text or 1 for html.",type:"integer","x-ms-summary":"Type","x-ms-visibility":"internal",default:1}}}}}}}}],responses:{201:{description:"Empty Response."}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostMessageToChannel",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-message-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/notification/recipienttypes/user":{post:{operationId:"PostUserNotification",summary:"Post a message as the Flow bot to a user",description:"Easily automate the process of sending a message to someone in Teams.",tags:["TeamsChat"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"PostNotificationRequest","x-ms-summary":"Post notification request",description:"The post notification request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicUserNotificationRequest"}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-message-as-the-flow-bot-to-a-user-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/notification/recipienttypes/channel":{post:{operationId:"PostChannelNotification",summary:"Post a message as the Flow bot to a channel",description:"Easily automate the process of posting a message to a Teams channel.",tags:["TeamsChannel"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"PostNotificationRequest","x-ms-summary":"Post notification request",description:"The post notification request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicChannelNotificationRequest"}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-message-as-the-flow-bot-to-a-channel-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/adaptivecard/recipienttypes/user":{post:{operationId:"PostUserAdaptiveCard",summary:"Post your own adaptive card as the Flow bot to a user",description:"Add the JSON card definition to create a custom message for a Teams user. The message can contain images, graphs, text, and more.",tags:["TeamsChat"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"PostAdaptiveCardRequest","x-ms-summary":"Post adaptive card request",description:"The post adaptive card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicUserAdaptiveCardRequest"}}],responses:{201:{description:"Adaptive Card Posted",schema:{$ref:"#/definitions/MessageId"}},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-your-own-adaptive-card-as-the-flow-bot-to-a-user-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/adaptivecard/recipienttypes/channel":{post:{operationId:"PostChannelAdaptiveCard",summary:"Post your own adaptive card as the Flow bot to a channel",description:"Add the JSON card definition to create a custom post for a Teams channel. The post can contain images, graphs, text, and more.",tags:["TeamsChannel"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"PostAdaptiveCardRequest","x-ms-summary":"Post adaptive card request",description:"The post adaptive card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicChannelAdaptiveCardRequest"}}],responses:{201:{description:"Adaptive Card Posted",schema:{$ref:"#/definitions/MessageId"}},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-your-own-adaptive-card-as-the-flow-bot-to-a-channel-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/{actionType}/posters/{poster}/recipienttypes/{recipientType}/schema":{get:{operationId:"GetUnifiedActionSchema",summary:"Get unified action input metadata",description:"Get the schema information for unified actions","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/actionType__in_path"},{$ref:"#/parameters/poster__in_path"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/UnifiedActionSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-unified-action-input-metadata"}}},"/{connectionId}/flowbot/actions/{actionType}/posters/{poster}/recipienttypes/{recipientType}/response/schema":{get:{operationId:"GetPostToConversationResponseSchema",summary:"Get response schema",description:"Get the schema information for unified action responses","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/actionType__in_path"},{$ref:"#/parameters/poster__in_path"},{$ref:"#/parameters/recipientType__in_path"}],responses:{default:{description:"Success",schema:{$ref:"#/definitions/DynamicResponseSchema"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-response-schema"}}},"/{connectionId}/flowbot/actions/adaptivecard/recipienttypes/{recipientType}/$metadata.json/inputs":{get:{operationId:"GetAdaptiveCardInputMetadata",summary:"Get adaptive card input metadata",description:"Get the schema information for adaptive card inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-adaptive-card-input-metadata"}}},"/{connectionId}/flowbot/actions/notification/recipienttypes/{recipientType}/$metadata.json/inputs":{get:{operationId:"GetNotificationInputMetadata",summary:"Get notification input metadata",description:"Get the schema information for notification inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-notification-input-metadata"}}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/user/$subscriptions":{post:{operationId:"SubscribeUserMessageWithOptions",summary:"Post a choice of options as the Flow bot to a user",description:"Send a set of options to a Microsoft Team's user, that they must respond to before the flow will continue. This action will pause the flow until the user response to the options",tags:["TeamsChat","AgentHidden"],"x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"UserMessageWithOptionsSubscriptionRequest","x-ms-summary":"User message with options subscription request",description:"The user message with options subscription request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicUserMessageWithOptionsSubscriptionRequest"}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-choice-of-options-as-the-flow-bot-to-a-user"}},"x-ms-notification-content":{description:"Details for the response with which a message with options subscription is completed and flows waiting on that subscription are resumed",schema:{$ref:"#/definitions/DynamicUserMessageWithOptionsSubscriptionResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/user/$subscriptions":{post:{operationId:"SubscribeUserFlowContinuation",summary:"Post an Adaptive Card to a Teams user and wait for a response",description:"Easily automate the process of sending a message to a Teams user that contains actions to continue a waiting flow.",tags:["TeamsChat"],"x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"UserFlowContinuationSubscriptionRequest","x-ms-summary":"User flow continuation subscription request",description:"The user flow continuation subscription request",in:"body",required:!0,schema:{type:"object",properties:{notificationUrl:{"x-ms-visibility":"internal","x-ms-notification-url":!0,type:"string"},body:{type:"object",properties:{updateMessage:{description:"Message to be included in an update to the original card following response","x-ms-summary":"Update message",type:"string"},shouldUpdateCard:{description:"Whether or not to update the card following response","x-ms-summary":"Should update card",type:"boolean"},recipient:{"x-ms-visibility":"important",type:"object",properties:{to:{description:"Add an email address","x-ms-visibility":"important","x-ms-summary":"Recipient","x-ms-ai-sensitivity":"high","x-ms-dynamic-values":{builtInOperation:"AadGraph.GetUsers","value-path":"mail","value-title":"displayName"},type:"string"},summary:{description:"The message summary","x-ms-visibility":"advanced","x-ms-summary":"Summary",type:"string"},isAlert:{description:"If the message will be shown in the activity feed","x-ms-visibility":"advanced","x-ms-summary":"IsAlert",type:"boolean"}},required:["to"]},messageBody:{"x-ms-summary":"Message",type:"string"}},required:["recipient","messageBody"]}},required:["notificationUrl","body"]}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-an-adaptive-card-to-a-teams-user-and-wait-for-a-response-%5bdeprecated%5d"}},"x-ms-notification-content":{description:"Details for the response with which a flow continuation subscription is completed and flows waiting on that subscription are resumed.",schema:{$ref:"#/definitions/DynamicUserFlowContinuationSubscriptionResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/channel/$subscriptions":{post:{operationId:"SubscribeChannelFlowContinuation",summary:"Post an Adaptive Card to a Teams channel and wait for a response",description:"Easily automate the process of sending a message to a Teams channel that contains actions to continue a waiting flow.",tags:["TeamsChannel"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"ChannelFlowContinuationSubscriptionRequest","x-ms-summary":"Channel flow continuation subscription request",description:"The channel flow continuation subscription request",in:"body",required:!0,schema:{type:"object",properties:{notificationUrl:{"x-ms-visibility":"internal","x-ms-notification-url":!0,type:"string"},body:{type:"object",properties:{updateMessage:{description:"Message to be included in an update to the original card following response","x-ms-summary":"Update message",type:"string"},shouldUpdateCard:{description:"Whether or not to update the card following response","x-ms-summary":"Should update card",type:"boolean"},recipient:{"x-ms-visibility":"important",type:"object",properties:{groupId:{"x-ms-visibility":"internal",type:"string"},channelId:{description:"Add channel ID","x-ms-visibility":"important","x-ms-summary":"Channel","x-ms-dynamic-values":{"value-path":"id","value-title":"displayName",operationId:"GetChannelsForGroup","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},type:"string"}},required:["channelId"]},messageBody:{"x-ms-summary":"Message",type:"string"}},required:["recipient","messageBody"]}},required:["notificationUrl","body"]}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-an-adaptive-card-to-a-teams-channel-and-wait-for-a-response-%5bdeprecated%5d"}},"x-ms-notification-content":{description:"Details for the response with which a flow continuation subscription is completed and flows waiting on that subscription are resumed.",schema:{$ref:"#/definitions/DynamicChannelFlowContinuationSubscriptionResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/{recipientType}/$subscriptions/{subscriptionId}":{delete:{operationId:"UnsubscribeMessageWithOptions",summary:"Unsubscribe from a choice of options",description:"Unsubscribes from a message with options","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"},{name:"subscriptionId",in:"path",description:"ID of subscription to be deleted",required:!0,"x-ms-summary":"ID of subscription to be deleted",type:"string"}],responses:{200:{description:"Subscription Deleted"},204:{description:"No Content"},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#unsubscribe-from-a-choice-of-options"}}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/{recipientType}/$subscriptions/{subscriptionId}":{delete:{operationId:"UnsubscribeFlowContinuation",summary:"Unsubscribe from a flow continuation",description:"Unsubscribes from a flow continuation","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"},{name:"subscriptionId",in:"path",description:"ID of subscription to be deleted",required:!0,"x-ms-summary":"ID of subscription to be deleted",type:"string"}],responses:{200:{description:"Subscription Deleted"},204:{description:"No Content"},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#unsubscribe-from-a-flow-continuation"}}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/{recipientType}/$metadata.json/inputs":{get:{operationId:"GetMessageWithOptionsInputMetadata",summary:"Get message with options input metadata",description:"Get the schema information for the message with options inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-with-options-input-metadata"}}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/{recipientType}/$metadata.json/inputs":{get:{operationId:"GetFlowContinuationInputMetadata",summary:"Get flow continuation input metadata",description:"Get the schema information for the flow continuation inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-flow-continuation-input-metadata"}}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/{recipientType}/$metadata.json/subscriptioninputs":{get:{operationId:"GetMessageWithOptionsSubscriptionInputMetadata",summary:"Get message with options subscription input metadata",description:"Get the schema information for the message with options subscription inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-with-options-subscription-input-metadata"}}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/{recipientType}/$metadata.json/subscriptioninputs":{get:{operationId:"GetFlowContinuationSubscriptionInputMetadata",summary:"Get flow continuation subscription input metadata",description:"Get the schema information for the flow continuation subscription inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-flow-continuation-subscription-input-metadata"}}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/{recipientType}/$metadata.json/subscriptionoutputs":{get:{operationId:"GetMessageWithOptionsSubscriptionOutputMetadata",summary:"Get message with options subscription output metadata",description:"Get the schema information for the message with options subscription outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-with-options-subscription-output-metadata"}}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/{recipientType}/$metadata.json/subscriptionoutputs":{post:{operationId:"GetFlowContinuationSubscriptionOutputMetadata",summary:"Get flow continuation subscription output metadata",description:"Get the schema information for the flow continuation subscription outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"},{name:"body","x-ms-summary":"Channel flow continuation subscription request message body",description:"The channel flow continuation subscription request message body",in:"body",required:!0,schema:{"x-ms-summary":"Message",type:"string"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-flow-continuation-subscription-output-metadata"}}},"/{connectionId}/flowbot/actions/flowcontinuation/posters/{poster}/recipienttypes/{recipientType}/$metadata.json/subscriptionoutputs":{post:{operationId:"GetFlowContinuationSubscriptionWithPosterOutputMetadata",summary:"Get flow continuation subscription output metadata",description:"Get the schema information for the flow continuation subscription outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutUser__in_path"},{$ref:"#/parameters/recipientType__in_path"},{name:"body","x-ms-summary":"Channel flow continuation subscription request message body",description:"The channel flow continuation subscription request message body",in:"body",required:!0,schema:{"x-ms-summary":"Message",type:"string"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-flow-continuation-subscription-output-metadata"}}},"/{connectionId}/flowbot/triggers/selectedmessage/$metadata.json/selectedmessageoutputs":{post:{operationId:"GetSelectedMessageTriggerOutputsMetadata",summary:"Get selected message hybrid trigger output metadata",description:"Get the schema information for the selected message hybrid trigger outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body","x-ms-summary":"Adaptive card request message body",description:"The body for parsing the metadata of the trigger",in:"body",required:!0,schema:{"x-ms-summary":"InputsAdaptiveCard",type:"string",default:"{}"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/SelectedMessageTriggerMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-selected-message-hybrid-trigger-output-metadata"}}},"/{connectionId}/flowbot/triggers/composemessage/$metadata.json/composemessageoutputs":{post:{operationId:"GetComposeMessageTriggerOutputsMetadata",summary:"Get compose message hybrid trigger output metadata",description:"Get the schema information for the compose message hybrid trigger outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body","x-ms-summary":"Adaptive card request message body",description:"The body for parsing the metadata of the trigger",in:"body",required:!0,schema:{"x-ms-summary":"InputsAdaptiveCard",type:"string",default:"{}"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ComposeMessageTriggerMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-compose-message-hybrid-trigger-output-metadata"}}},"/{connectionId}/flowbot/triggers/cardresponse/$metadata.json/cardresponseoutputs":{post:{operationId:"GetCardResponseTriggerOutputsMetadata",summary:"Get compose message hybrid trigger output metadata",description:"Get the schema information for the compose message hybrid trigger outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body","x-ms-summary":"Adaptive card request message body",description:"The body for parsing the metadata of the trigger",in:"body",required:!0,schema:{"x-ms-summary":"InputsAdaptiveCard",type:"string",default:"{}"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/CardResponseTriggerMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-compose-message-hybrid-trigger-output-metadata"}}},"/{connectionId}/beta/teams/{teamId}":{get:{tags:["Teams"],summary:"Get a team","x-ms-summary":"Get team",description:"Gets a Microsoft Team's details",operationId:"GetTeam",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/GetTeamResponse"}}},deprecated:!1,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-a-team"}}},"/{connectionId}/v1.0/users/{userId}":{get:{summary:"Get an @mention token for a user",description:"Creates a token that can be inserted into a message or adaptive card to @mention a user.",tags:["TeamsChat","TeamsChannel"],operationId:"AtMentionUser",produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",required:!0,type:"string",description:"Specify a user principal or user ID to @mention","x-ms-summary":"User"}],responses:{200:{description:"default",schema:{$ref:"#/definitions/AtMentionUser_V1"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-an-%40mention-token-for-a-user"}}},"/{connectionId}/beta/teams/{teamId}/schedule/timeOffReasons":{get:{tags:["TimeOffReasons"],summary:"Shifts: List all Time Off reasons","x-ms-summary":"List Time Off Reasons",description:"This operation returns the list of time off reasons associated with a team.",operationId:"ListTimeOffReasons",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of Time Off reasons to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/GetTimeOffReasonsResponse"}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListTimeOffReasons"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-time-off-reasons-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/shifts":{get:{tags:["Shifts"],summary:"Shifts: List all shifts","x-ms-summary":"List all team shifts",description:"This operation returns all shifts assigned to members of a team",operationId:"ListShifts",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"startTime",in:"query","x-ms-summary":"From Start Time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",required:!1,"x-ms-visibility":"advanced",type:"string",format:"date-time","x-ms-test-value":"2017-07-23T07:00:00Z"},{name:"endTime",in:"query","x-ms-summary":"To End Time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",required:!1,"x-ms-visibility":"advanced",type:"string",format:"date-time","x-ms-test-value":"2017-07-30T07:00:00Z"},{name:"$top",in:"query",description:"Total number of shifts to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of shifts in the schedule",type:"array","x-ms-summary":"Shifts List",items:{$ref:"#/definitions/ShiftResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListShifts"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-shifts-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/shifts/{shiftId}":{get:{tags:["Shifts"],summary:"Shifts: Get a shift","x-ms-summary":"Get Shift by ID",description:"This operation returns details for a shift using the shift's unique ID.",operationId:"GetShift",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"shiftId",in:"path",required:!0,type:"string","x-ms-summary":"Shift ID",description:"The unique ID of the shift.","x-ms-test-value":"SHFT_d45edcfe-7888-410c-8a7b-3dbf9e2e6d5b"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ShiftResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"GetShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-get-a-shift-%5bdeprecated%5d"}},delete:{tags:["Shifts"],summary:"Shifts: Delete a shift","x-ms-summary":"Delete Shift by ID",description:"This operation deletes a shift using the shift's unique ID.",operationId:"DeleteShift",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"shiftId",in:"path",required:!0,type:"string","x-ms-summary":"Shift ID",description:"The unique ID of the shift.","x-ms-test-value":"SHFT_d45edcfe-7888-410c-8a7b-3dbf9e2e6d5b"}],responses:{200:{description:"Shift Deleted"},204:{description:"No Content"}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"DeleteShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-delete-a-shift-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShifts":{get:{tags:["Shifts"],summary:"Shifts: List all Open Shifts","x-ms-summary":"List all team open shifts",description:"This operation returns all open shifts in a team",operationId:"ListOpenShifts",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"startTime",in:"query","x-ms-summary":"From Start Time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",required:!1,"x-ms-visibility":"advanced",type:"string",format:"date-time","x-ms-test-value":"2017-07-23T07:00:00Z"},{name:"endTime",in:"query","x-ms-summary":"To End Time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",required:!1,"x-ms-visibility":"advanced",type:"string",format:"date-time","x-ms-test-value":"2017-07-30T07:00:00Z"},{name:"$top",in:"query",description:"Total number of open shifts to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of open shifts in the schedule",type:"array","x-ms-summary":"Open Shifts List",items:{$ref:"#/definitions/OpenShiftResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListOpenShifts"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-open-shifts-%5bdeprecated%5d"}},post:{tags:["Shifts"],operationId:"CreateOpenShift",summary:"Shifts: Create a new Open Shift","x-ms-summary":"Create a new open shift",description:"Create a new open shift in a schedule",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"request","x-ms-summary":"Create Open Shift request",description:"The request to create an open shift",in:"body",required:!0,schema:{$ref:"#/definitions/EditOpenShiftRequest"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OpenShiftResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"CreateOpenShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-create-a-new-open-shift-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShifts/{openShiftId}":{get:{tags:["Shifts"],summary:"Shifts: Get an open shift","x-ms-summary":"Get Open Shift by ID",description:"This operation returns details for an open shift.",operationId:"GetOpenShift",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftId",in:"path",required:!0,type:"string","x-ms-summary":"Open Shift ID",description:"The unique ID of the open shift.","x-ms-test-value":"OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OpenShiftResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"GetOpenShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-get-an-open-shift-%5bdeprecated%5d"}},put:{tags:["Shifts"],operationId:"UpdateOpenShift",summary:"Shifts: Update an Open Shift","x-ms-summary":"Update an open shift",description:"Update an open shift in a schedule.",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftId",in:"path",required:!0,type:"string","x-ms-summary":"Open Shift ID",description:"The unique ID of the open shift.","x-ms-test-value":"OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8"},{name:"request","x-ms-summary":"Update Open Shift request",description:"The request to update an open shift",in:"body",required:!0,schema:{$ref:"#/definitions/EditOpenShiftRequest"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OpenShiftResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"UpdateOpenShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-update-an-open-shift-%5bdeprecated%5d"}},delete:{tags:["Shifts"],summary:"Shifts: Delete an open shift","x-ms-summary":"Delete Open Shift by ID",description:"This operation deletes an open shift.",operationId:"DeleteOpenShift",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftId",in:"path",required:!0,type:"string","x-ms-summary":"Open Shift ID",description:"The unique ID of the open shift.","x-ms-test-value":"OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8"}],responses:{200:{description:"Open Shift Deleted"},204:{description:"No Content"}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"DeleteOpenShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-delete-an-open-shift-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/schedulinggroups":{get:{tags:["Shifts"],summary:"Shifts: List all scheduling groups","x-ms-summary":"List all scheduling groups",description:"This operation returns all scheduling groups in a schedule",operationId:"ListSchedulingGroups",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of entries to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of schedule groups in the schedule",type:"array","x-ms-summary":"Scheduling Groups List",items:{$ref:"#/definitions/SchedulingGroupResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListSchedulingGroups"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-scheduling-groups-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/schedulinggroups/{schedulingGroupId}":{get:{tags:["Shifts"],summary:"Shifts: Get a scheduling group","x-ms-summary":"Get Scheduling Group by ID",description:"This operation returns details for a scheduling group using its unique ID.",operationId:"GetSchedulingGroup",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"schedulingGroupId",in:"path",required:!0,type:"string","x-ms-summary":"Scheduling Group ID",description:"The unique ID of the Scheduling Group.","x-ms-test-value":"TAG_f914d037-00a3-4ba4-b712-ef178cbea263"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SchedulingGroupResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"GetSchedulingGroup"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-get-a-scheduling-group-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/timeOffRequests":{get:{tags:["Shifts"],summary:"Shifts: List all Time Off requests","x-ms-summary":"Time Off Requests List",description:"This operation returns all time off requests in a schedule",operationId:"ListTimeOffRequests",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of requests to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"state",in:"query",description:"Request state filter",required:!1,"x-ms-summary":"Request State","x-ms-visibility":"advanced",type:"string",enum:["pending","approved","declined"],"x-ms-enum-values":[{displayName:"Pending",value:"pending"},{displayName:"Approved",value:"approved"},{displayName:"Declined",value:"declined"}]}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of Time Off requests in the schedule",type:"array","x-ms-summary":"TimeOff Requests List",items:{$ref:"#/definitions/TimeOffRequestResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListTimeOffRequests"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-time-off-requests-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/timeOffRequests/{timeOffRequestId}/approve":{post:{tags:["Shifts"],summary:"Shifts: Approve a Time Off request","x-ms-summary":"Approve a time off request",description:"This operation allows managers to approve a time off request.",operationId:"TimeOffRequestApprove",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"timeOffRequestId",in:"path","x-ms-summary":"Time Off Request ID",description:"The unique ID of the time off request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Manager approves a time off request.",type:"object",properties:{message:{"x-ms-summary":"Message From Manager",description:"A message from the manager to the sender/recipient when a request is accepted.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"TimeOffRequestApprove"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-approve-a-time-off-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/timeOffRequests/{timeOffRequestId}/decline":{post:{tags:["Shifts"],summary:"Shifts: Decline a Time Off request","x-ms-summary":"Decline a time off request",description:"This operation allows managers to decline a time off request.",operationId:"TimeOffRequestDecline",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"timeOffRequestId",in:"path","x-ms-summary":"Time Off Request ID",description:"The unique ID of the time off request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Manager declines a time off request.",type:"object",properties:{message:{"x-ms-summary":"Message From Manager",description:"A message from the manager to the sender/recipient when a request is declined.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"TimeOffRequestDecline"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-decline-a-time-off-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/offerShiftRequests":{get:{tags:["Shifts"],summary:"Shifts: List all Offer Shift requests","x-ms-summary":"Offer Shift Requests List",description:"This operation returns all offer shift requests in a schedule",operationId:"ListOfferShiftRequests",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of requests to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"state",in:"query",description:"Request state filter",required:!1,"x-ms-summary":"Request State","x-ms-visibility":"advanced",type:"string",enum:["pending","approved","declined"],"x-ms-enum-values":[{displayName:"Pending",value:"pending"},{displayName:"Approved",value:"approved"},{displayName:"Declined",value:"declined"}]}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of Offer Shift requests in the schedule",type:"array","x-ms-summary":"Offer Shift Requests List",items:{$ref:"#/definitions/OfferShiftRequestResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListOfferShiftRequests"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-offer-shift-requests-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId}/approve":{post:{tags:["Shifts"],summary:"Shifts: Approve an Offer Shift request","x-ms-summary":"Approve an offer shift request",description:"This operation allows recipients/managers to approve an offer shift request.",operationId:"OfferShiftRequestApprove",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"offerShiftRequestId",in:"path","x-ms-summary":"Offer Shift Request ID",description:"The unique ID of the offer shift request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Approve an offer shift request.",type:"object",properties:{message:{"x-ms-summary":"Message From Recipient/Manager",description:"A message when a request is accepted.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"OfferShiftRequestApprove"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-approve-an-offer-shift-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId}/decline":{post:{tags:["Shifts"],summary:"Shifts: Decline an Offer Shift request","x-ms-summary":"Decline an offer shift request",description:"This operation allows users to decline an offer shift request.",operationId:"OfferShiftRequestDecline",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"offerShiftRequestId",in:"path","x-ms-summary":"Offer Shift Request ID",description:"The unique ID of the offer shift request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Recipient/Manager declines an offer shift request.",type:"object",properties:{message:{"x-ms-summary":"Message From Recipient/Manager",description:"A message when a request is declined.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"OfferShiftRequestDecline"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-decline-an-offer-shift-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/swapShiftsChangeRequests":{get:{tags:["Shifts"],summary:"Shifts: List all Swap Shifts requests","x-ms-summary":"Swap Shifts Requests List",description:"This operation returns all swap shifts requests in a schedule",operationId:"ListSwapShiftsChangeRequests",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of requests to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"state",in:"query",description:"Request state filter",required:!1,"x-ms-summary":"Request State","x-ms-visibility":"advanced",type:"string",enum:["pending","approved","declined"],"x-ms-enum-values":[{displayName:"Pending",value:"pending"},{displayName:"Approved",value:"approved"},{displayName:"Declined",value:"declined"}]}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of Swap Shifts Change Requests in the schedule",type:"array","x-ms-summary":"Swap Shifts Change Requests List",items:{$ref:"#/definitions/SwapShiftsChangeRequestResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListSwapShiftsChangeRequests"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-swap-shifts-requests-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequestId}/approve":{post:{tags:["Shifts"],summary:"Shifts: Approve a Swap Shifts request","x-ms-summary":"Approve a Swap Shifts request",description:"This operation allows a user to approve a Swap Shifts request.",operationId:"SwapShiftsChangeRequestApprove",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"swapShiftsChangeRequestId",in:"path","x-ms-summary":"Swap Shifts Change Request ID",description:"The unique ID of the request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Approve a swap shifts change request.",type:"object",properties:{message:{"x-ms-summary":"Message From Recipient/Manager",description:"A message when a request is accepted.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"SwapShiftsChangeRequestApprove"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-approve-a-swap-shifts-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequestId}/decline":{post:{tags:["Shifts"],summary:"Shifts: Decline a Swap Shifts request","x-ms-summary":"Decline a swap shifts request",description:"This operation allows users to decline a swap shifts request.",operationId:"SwapShiftsChangeRequestDecline",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"swapShiftsChangeRequestId",in:"path","x-ms-summary":"Swap Shifts Change Request ID",description:"The unique ID of the request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Decline a Swap Shifts change request.",type:"object",properties:{message:{"x-ms-summary":"Message From Recipient/Manager",description:"A message when a request is declined.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"SwapShiftsChangeRequestDecline"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-decline-a-swap-shifts-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShiftChangeRequests":{get:{tags:["Shifts"],summary:"Shifts: List all Open Shift requests","x-ms-summary":"Open Shift Requests List",description:"This operation returns all open shift change requests in a schedule",operationId:"ListOpenShiftChangeRequests",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of requests to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"state",in:"query",description:"Request state filter",required:!1,"x-ms-summary":"Request State","x-ms-visibility":"advanced",type:"string",enum:["pending","approved","declined"],"x-ms-enum-values":[{displayName:"Pending",value:"pending"},{displayName:"Approved",value:"approved"},{displayName:"Declined",value:"declined"}]}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of Open Shift Change Requests in the schedule",type:"array","x-ms-summary":"Open Shift Change Requests List",items:{$ref:"#/definitions/OpenShiftChangeRequestResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListOpenShiftChangeRequests"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-open-shift-requests-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShiftChangeRequests/{openShiftChangeRequestId}/approve":{post:{tags:["Shifts"],summary:"Shifts: Approve an Open Shift request","x-ms-summary":"Approve an Open Shift request",description:"This operation allows managers to approve an Open Shift request.",operationId:"OpenShiftChangeRequestApprove",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftChangeRequestId",in:"path","x-ms-summary":"Open Shift Change Request ID",description:"The unique ID of the request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Manager approves an open shift change request.",type:"object",properties:{message:{"x-ms-summary":"Message From Manager",description:"A message from the manager to the sender/recipient when a request is accepted.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"OpenShiftChangeRequestApprove"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-approve-an-open-shift-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShiftChangeRequests/{openShiftChangeRequestId}/decline":{post:{tags:["Shifts"],summary:"Shifts: Decline an Open Shift request","x-ms-summary":"Decline an open shift request",description:"This operation allows managers to decline an open shift request.",operationId:"OpenShiftChangeRequestDecline",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftChangeRequestId",in:"path","x-ms-summary":"Open Shift Change Request ID",description:"The unique ID of the request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Manager declines an Open Shift change request.",type:"object",properties:{message:{"x-ms-summary":"Message From Manager",description:"A message from the manager to the sender/recipient when a request is declined.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"OpenShiftChangeRequestDecline"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-decline-an-open-shift-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule":{get:{tags:["Schedules"],summary:"Shifts: Get a schedule's details","x-ms-summary":"Get Schedule details by ID",description:"This operation returns details of a schedule using the schedule's unique ID.",operationId:"GetSchedule",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ScheduleResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"GetSchedule"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-get-a-schedule%27s-details-%5bdeprecated%5d"}}},"/{connectionId}/hybridtriggers/onselectedmessage":{get:{tags:["TeamsMessageTrigger"],summary:"For a selected message",description:"For internal use with the on selected message hybrid trigger","x-ms-visibility":"internal",operationId:"ForASelectedMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!1,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"taskModuleWidth",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog width (px)"},{name:"taskModuleHeight",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog height (px)"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the on selected message hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#for-a-selected-message"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicSelectedMessageTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/hybridtriggers/onselectedmessagev2":{get:{tags:["TeamsMessageTriggerV2"],summary:"For a selected message (V2)",description:"For internal use with the on selected message hybrid trigger","x-ms-visibility":"internal",operationId:"ForASelectedMessageV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!1,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"taskModuleWidth",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog width (px)"},{name:"taskModuleHeight",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog height (px)"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the on selected message hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#for-a-selected-message-(v2)"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicSelectedMessageTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/hybridtriggers/oncomposemessage":{get:{tags:["TeamsComposeMessageTrigger"],summary:"From the compose box",description:"For internal use with the compose message hybrid trigger","x-ms-visibility":"internal",operationId:"ComposeAMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!1,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"taskModuleWidth",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog width (px)"},{name:"taskModuleHeight",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog height (px)"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the compose message hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#from-the-compose-box"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicComposeMessageTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/hybridtriggers/composeamessagev2":{get:{tags:["TeamsComposeMessageTriggerV2"],summary:"From the compose box (V2)",description:"For internal use with the compose message hybrid trigger","x-ms-visibility":"internal",operationId:"ComposeAMessageV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!1,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"taskModuleWidth",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog width (px)"},{name:"taskModuleHeight",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog height (px)"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the compose message hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#from-the-compose-box-(v2)"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicComposeMessageTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/hybridtriggers/teamscardtrigger":{get:{tags:["TeamsCardResponseTrigger"],summary:"For adaptive card responses",description:"For internal use with the adaptive card response trigger","x-ms-visibility":"internal",operationId:"TeamsCardTrigger",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!0,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"CardTypeId",in:"query",required:!0,type:"string","x-ms-summary":"Card Type ID"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the adaptive card response hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#for-adaptive-card-responses"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicCardResponseTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/trigger/v1.0/groups/removal":{get:{summary:"When a new team member is removed",description:"Triggers when a member is removed from the specified team",operationId:"OnGroupMembershipRemoval",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"$select",in:"query","x-ms-summary":"Select","x-ms-test-value":"members","x-ms-visibility":"internal",type:"string",default:"members"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/OnGroupMemberChange_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-test-value":"ee115782-220d-4acc-92c4-e261619d63cd","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, remove a member from the team.","x-ms-dev-triggerType":"DeltaLink","x-ms-dev-triggerValueCollection":"value[0].members@delta","x-ms-dev-triggerValuePath":"@odata.deltaLink","x-ms-dev-queryfilterParamName":"$deltatoken",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-team-member-is-removed"}}},"/{connectionId}/trigger/v1.0/groups/delta":{get:{summary:"When a new team member is added",description:"Triggers when a member is added to the given team",operationId:"OnGroupMembershipAdd",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"$select",in:"query","x-ms-summary":"Select","x-ms-test-value":"members","x-ms-visibility":"internal",type:"string",default:"members"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/OnGroupMemberChange_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-test-value":"ee115782-220d-4acc-92c4-e261619d63cd","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a member to the team.","x-ms-dev-triggerType":"DeltaLink","x-ms-dev-triggerValueCollection":"value[0].members@delta","x-ms-dev-triggerValuePath":"@odata.deltaLink","x-ms-dev-queryfilterParamName":"$deltatoken",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-team-member-is-added"}}},"/{connectionId}/beta/chats":{post:{summary:"Create a chat",description:"Creates a one on one or group chat",tags:["TeamsChat"],operationId:"CreateChat","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"item",in:"body",description:"Chat to create",required:!0,schema:{$ref:"#/definitions/NewChat"},"x-ms-summary":"Item"}],consumes:["application/json"],produces:["application/json"],responses:{201:{description:"default",schema:{$ref:"#/definitions/NewChatResponse"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#create-a-chat"}}},"/{connectionId}/beta/teams":{post:{summary:"Create a team",description:"Creates a new Microsoft Team","x-ms-visibility":"important",operationId:"CreateATeam",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",required:!0,schema:{required:["displayName","description"],type:"object",properties:{displayName:{description:"The name of the team",type:"string","x-ms-visibility":"important","x-ms-summary":"Team Name"},description:{description:"An optional description for the team",type:"string","x-ms-visibility":"important","x-ms-summary":"Description"},visibility:{description:"The visibility of the the team",type:"string","x-ms-summary":"Visibility","x-ms-visibility":"advanced",default:"Public",enum:["Private","Public"]}}}}],responses:{201:{description:"default",schema:{$ref:"#/definitions/CreateATeamResponse"}}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#create-a-team"}}},"/{connectionId}/beta/teamsasyncresult":{get:{summary:"Get Teams async result",description:"This operation gets the result of an asynchronous operation within teams","x-ms-visibility":"internal",operationId:"GetTeamsAsyncResult",produces:["application/json","text/json"],responses:{200:{description:"default",schema:{$ref:"#/definitions/CreateATeamResponse"}}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-teams-async-result"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/teams/{teamId}/members":{post:{tags:["AgentHidden"],summary:"Add a member to a team",description:"Adds a member to a Microsoft Team","x-ms-visibility":"important",operationId:"AddMemberToTeam",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["userId"],type:"object",properties:{userId:{description:"User principal name or Microsoft Entra ID to add",type:"string","x-ms-visibility":"important","x-ms-summary":"User"},owner:{description:"True, if the user should be a team owner",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Set user as team owner"}}}}],responses:{204:{description:"default"}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#add-a-member-to-a-team"}}},"/{connectionId}/beta/teams/conversation/message/poster/{poster}/location/{location}":{post:{summary:"Post message in a chat or channel",description:"Posts a message to a chat or a channel",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"PostMessageToConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/poster__in_path"},{$ref:"#/parameters/location__in_path"},{name:"body","x-ms-summary":"Post message request",description:"The post message request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicPostMessageRequest"}}],responses:{default:{description:"Post message response",schema:{$ref:"#/definitions/PostToConversationResponse"}}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-message-in-a-chat-or-channel"}}},"/{connectionId}/v1.0/teams/conversation/replyWithMessage/poster/{poster}/location/{location}":{post:{summary:"Reply with a message in a channel",description:"Replies with a message to a channel's message",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"ReplyWithMessageToConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutPVA__in_path"},{$ref:"#/parameters/reply__in_path"},{name:"body","x-ms-summary":"Reply message request",description:"The reply message request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicReplyMessageRequest"}}],responses:{201:{description:"Reply message response",schema:{$ref:"#/definitions/PostToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#reply-with-a-message-in-a-channel"}}},"/{connectionId}/v1.0/teams/conversation/adaptivecard/poster/{poster}/location/{location}":{post:{summary:"Post card in a chat or channel",description:"Posts a card to a chat or a channel",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"PostCardToConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithPowerApps__in_path"},{$ref:"#/parameters/location__in_path"},{name:"body","x-ms-summary":"Post card request",description:"The post card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicPostCardRequest"}}],responses:{201:{description:"Post card response",schema:{$ref:"#/definitions/PostToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-card-in-a-chat-or-channel"}}},"/{connectionId}/v1.0/teams/conversation/gatherinput/poster/{poster}/location/{location}/$subscriptions":{post:{operationId:"PostCardAndWaitForResponse",summary:"Post adaptive card and wait for a response",description:"Posts an adaptive card to a chat or a channel and waits for a response from any user. This will pause the flow until any user responds.",tags:["TeamsChat","TeamsChannel","AgentHidden"],"x-ms-visibility":"important",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutUser__in_path"},{$ref:"#/parameters/location__in_path"},{name:"body","x-ms-summary":"Flow continuation subscription request",description:"The flow continuation subscription request",in:"body",required:!0,schema:{type:"object",properties:{notificationUrl:{"x-ms-visibility":"internal","x-ms-notification-url":!0,type:"string"},body:{type:"object",properties:{recipient:{$ref:"#/definitions/DynamicPostCardAndWaitRequest"},messageBody:{"x-ms-summary":"Message",type:"string"},updateMessage:{description:"Message to show as an update in the original card following response",default:"Thanks for your response!","x-ms-summary":"Update message",type:"string"}},required:["recipient","messageBody"]}},required:["notificationUrl","body"]}}],responses:{201:{description:"Post adaptive card response",schema:{$ref:"#/definitions/DynamicPostGatherInputToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-adaptive-card-and-wait-for-a-response"}},"x-ms-notification-content":{description:"Details for the response with which a flow continuation subscription is completed and flows waiting on that subscription are resumed",schema:{$ref:"#/definitions/DynamicGatherInputSubscriptionResult"},deprecated:!1,"x-ms-no-generic-test":!0,parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/v1.0/teams/conversation/replyWithAdaptivecard/poster/{poster}/location/{location}":{post:{summary:"Reply with an adaptive card in a channel",description:"Replies with an adaptive card to a channel's message",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"ReplyWithCardToConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutPVA__in_path"},{$ref:"#/parameters/reply__in_path"},{name:"body","x-ms-summary":"Reply adaptive card request",description:"The reply adaptive card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicReplyCardRequest"}}],responses:{201:{description:"Reply adaptive card response",schema:{$ref:"#/definitions/PostToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#reply-with-an-adaptive-card-in-a-channel"}}},"/{connectionId}/v1.0/teams/conversation/updateAdaptivecard/poster/{poster}/location/{location}":{post:{summary:"Update an adaptive card in a chat or channel",description:"Updates an existing adaptive card",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"UpdateCardInConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutPVA__in_path"},{$ref:"#/parameters/update_location__in_path"},{name:"body","x-ms-summary":"Update adaptive card request",description:"The update adaptive card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicUpdateCardRequest"}}],responses:{204:{description:"Update adaptive card succeeded"},201:{description:"Update adaptive card response",schema:{$ref:"#/definitions/PostToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#update-an-adaptive-card-in-a-chat-or-channel"}}},"/{connectionId}/flowbot/getmessagedetailsinputschema/threadType/{threadType}":{get:{operationId:"GetMessageDetailsInputSchema",summary:"Get message details response schema",description:"Get the schema information for get message details response","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/GetMessageDetailsSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-details-response-schema"}}},"/{connectionId}/flowbot/getmessagedetailsresponseschema/threadType/{threadType}":{get:{operationId:"GetMessageDetailsResponseSchema",summary:"Get message details input metadata",description:"Get the schema information for message inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/GetMessageDetailsSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-details-input-metadata"}}},"/{connectionId}/flowbot/listmembersinputschema/threadType/{threadType}":{get:{operationId:"ListMembersInputSchema",summary:"List members input schema",description:"Get the schema information for list members input based on thread type","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ListMembersSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#list-members-input-schema"}}},"/{connectionId}/flowbot/webhookTrigger/inputSchema/threadType/{threadType}":{get:{summary:"Input schema for webhook trigger",description:"Gets the input schema for webhook trigger","x-ms-visibility":"internal",operationId:"GetWebhookTriggerRequestSchema",produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/WebhookTriggerSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#input-schema-for-webhook-trigger"}}},"/{connectionId}/flowbot/webhookTrigger/triggerType/{triggerType}/responseSchema/threadType/{threadType}":{get:{summary:"Response schema for webhook trigger",description:"Gets the response schema for webhook trigger","x-ms-visibility":"internal",operationId:"GetWebhookTriggerResponseSchema",produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/triggerType__in_path"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/WebhookTriggerSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#response-schema-for-webhook-trigger"}}},"/{connectionId}/flowbot/messageType/{messageType}/poster/{poster}":{get:{summary:"Conversation location for where to post",description:"Returns a list of locations to post a message or reply based on who the user is posting as","x-ms-visibility":"internal",operationId:"GetMessageLocations",produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/messageType__in_path"},{$ref:"#/parameters/poster__in_path"}],responses:{200:{description:"Operation is successful",schema:{type:"object",properties:{locations:{type:"array",items:{type:"object"},description:"valid locations to post a message or reply, make verbose"}}}},default:{description:"Operation Failed."}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#conversation-location-for-where-to-post"}}},"/{connectionId}/flowbot/getfeednotificationinputschema/poster/{poster}/notificationType/{notificationType}":{get:{operationId:"GetFeedNotificationInputSchema",summary:"Get feed notification input metadata",description:"Get the schema information for feed notification","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterJustFlowbot__in_path"},{$ref:"#/parameters/notificationType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/PostFeedSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-feed-notification-input-metadata"}}},"/{connectionId}/teams/proxy/pva/bots":{get:{summary:"Gets all virtual agent chat bots",description:"Gets all virtual agent chat bots in current env",operationId:"GetVirtualAgentBots","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/VirtualAgentBots"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#gets-all-virtual-agent-chat-bots"}}},"/{connectionId}/httprequest":{post:{tags:["AgentHidden"],summary:"Send a Microsoft Graph HTTP request",description:"Construct a Microsoft Graph REST API request to invoke against the Microsoft Team endpoints. These segments are supported: 1st segment: /teams, /me, /users 2nd segment: channels, chats, installedApps, messages, pinnedMessages. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api",operationId:"HttpRequest",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET)",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json)",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#send-a-microsoft-graph-http-request"}}},"/whr":{post:{summary:"Proxy endpoint to validate subscriptions and forward notifications",description:"Proxy endpoint that receives notifications from the GraphAPI and validates subscriptions",operationId:"WebhookResponse",parameters:[],responses:{default:{description:"OK"}},deprecated:!1,security:[],"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#proxy-endpoint-to-validate-subscriptions-and-forward-notifications"}}},"/whlifecycle":{post:{summary:"Proxy endpoint to validate and handle lifecycle notifications",description:"Proxy endpoint that receives lifecycle notifications from the GraphAPI and handles the response",operationId:"WebhookLifecycleNotification",parameters:[],responses:{default:{description:"OK"}},deprecated:!1,security:[],"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#proxy-endpoint-to-validate-and-handle-lifecycle-notifications"}}}},definitions:{Object:{type:"object",properties:{}},ConnectorMetadata:{type:"object",properties:{metadatatype:{type:"string"},activitytype:{type:"string"},schema:{$ref:"#/definitions/Object"}}},PostFeedSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},PostMessageSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},PostCardSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},PostCardAndWaitSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},UnifiedActionSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},GetMessageDetailsSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},ListMembersSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},GetTagsResponseSchema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{type:"array",items:{type:"object",properties:{id:{description:"Unique identifier of the tag",type:"string","x-ms-summary":"ID","x-ms-visibility":"important"},teamId:{description:"ID of the team in which the tag is defined",type:"string","x-ms-summary":"Team ID","x-ms-visibility":"important"},displayName:{description:"The name of the tag as it appears to the user in Microsoft Teams.",type:"string","x-ms-summary":"Display name","x-ms-visibility":"important"},memberCount:{description:"The number of users assigned to the tag",type:"integer","x-ms-summary":"Member count","x-ms-visibility":"important"}}}}}},GetTagMembersResponseSchema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{id:{description:"The unique identifier for the member",type:"string","x-ms-summary":"Tag member ID","x-ms-visibility":"important"},tenantId:{description:"The ID of the tenant that the tag member is a part of",type:"string","x-ms-summary":"Tenant ID","x-ms-visibility":"important"},displayName:{description:"The member's display name",type:"string","x-ms-summary":"User display name","x-ms-visibility":"important"},userId:{description:"The user ID of the member",type:"string","x-ms-summary":"User ID","x-ms-visibility":"important"}}}}}},CreateTagResponseSchema:{description:"The created tag for a team","x-ms-summary":"Tag",type:"object",properties:{"@odata.type":{type:"string","x-ms-visibility":"internal"},id:{description:"Unique identifier of the tag",type:"string","x-ms-summary":"ID","x-ms-visibility":"important"},teamId:{description:"ID of the team in which the tag is defined",type:"string","x-ms-summary":"Team ID","x-ms-visibility":"important"},displayName:{description:"The name of the tag as it appears to the user in Microsoft Teams.",type:"string","x-ms-summary":"Display name","x-ms-visibility":"important"},memberCount:{description:"The number of users assigned to the tag",type:"integer","x-ms-summary":"Member count","x-ms-visibility":"important"}}},AddMemberToTagResponseSchema:{type:"object",properties:{userId:{description:"User ID of the member added to the tag",type:"string","x-ms-summary":"ID","x-ms-visibility":"important"}}},DynamicGetMessageDetailsSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetMessageDetailsInputSchema",parameters:{threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicGetMessageDetailsResponseSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetMessageDetailsResponseSchema",parameters:{threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicListMembersSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"ListMembersInputSchema",parameters:{threadType:{parameter:"threadType"}},"value-path":"schema"}},ListMembersResponseSchema:{description:"List members response schema",type:"object",properties:{value:{description:"List members response",type:"array",items:{type:"object",properties:{displayName:{description:"Display name of the member",type:"string","x-ms-summary":"Display Name"},email:{description:"Email address of the member",type:"string","x-ms-summary":"E-Mail"},id:{description:"Member's user ID",type:"string","x-ms-summary":"ID"},roles:{description:"The roles for that member",type:"array",items:{type:"string"},"x-ms-summary":"Roles"},tenantId:{description:"Tenant ID of the member",type:"string","x-ms-summary":"Tenant ID"},userId:{description:"User ID of the member",type:"string","x-ms-summary":"User ID"},visibleHistoryStartDateTime:{description:"The timestamp denoting how far back a conversation's history is shared with the conversation member",type:"string","x-ms-summary":"Start time of conversation's visible history"}}},"x-ms-summary":"List of members"}}},ListRepliesResponseSchema:{description:"List replies response schema",type:"object",properties:{value:{description:"List replies response",type:"array",items:{type:"object",properties:{id:{description:"Reply ID",type:"string","x-ms-summary":"ID"},replyToId:{description:"ID of the message being replied to",type:"string","x-ms-summary":"Reply To ID"},etag:{description:"ETag of the reply",type:"string","x-ms-summary":"ETag"},messageType:{description:"Type of the message",type:"string","x-ms-summary":"Message Type"},createdDateTime:{description:"Creation timestamp of the reply",type:"string","x-ms-summary":"Created Date Time"},lastModifiedDateTime:{description:"Last modification timestamp of the reply",type:"string","x-ms-summary":"Last Modified Date Time"},lastEditedDateTime:{description:"Last edited timestamp of the reply",type:"string","x-ms-summary":"Last Edited Date Time"},deletedDateTime:{description:"Deletion timestamp of the reply",type:"string","x-ms-summary":"Deleted Date Time"},subject:{description:"Subject of the reply",type:"string","x-ms-summary":"Subject"},summary:{description:"Summary of the reply",type:"string","x-ms-summary":"Summary"},chatId:{description:"Chat ID associated with the reply",type:"string","x-ms-summary":"Chat ID"},importance:{description:"Importance of the reply",type:"string","x-ms-summary":"Importance"},locale:{description:"Locale of the reply",type:"string","x-ms-summary":"Locale"},webUrl:{description:"Web URL of the reply",type:"string","x-ms-summary":"Web URL"},policyViolation:{description:"Policy violation details",type:"object","x-ms-summary":"Policy Violation"},eventDetail:{description:"Event details associated with the reply",type:"object","x-ms-summary":"Event Detail"},from:{description:"Details of the user who sent the reply",type:"object",properties:{application:{description:"Application details",type:"object","x-ms-summary":"Application"},device:{description:"Device details",type:"object","x-ms-summary":"Device"},user:{description:"User details",type:"object",properties:{id:{description:"User ID",type:"string","x-ms-summary":"User ID"},displayName:{description:"Display name of the user",type:"string","x-ms-summary":"Display Name"},userIdentityType:{description:"Type of user identity",type:"string","x-ms-summary":"User Identity Type"},tenantId:{description:"Tenant ID of the user",type:"string","x-ms-summary":"Tenant ID"}}}}},body:{description:"Content of the reply",type:"object",properties:{contentType:{description:"Content type of the reply",type:"string","x-ms-summary":"Content Type"},content:{description:"Content of the reply",type:"string","x-ms-summary":"Content"}}},channelIdentity:{description:"Channel identity details",type:"object",properties:{teamId:{description:"Team ID",type:"string","x-ms-summary":"Team ID"},channelId:{description:"Channel ID",type:"string","x-ms-summary":"Channel ID"}}},attachments:{description:"Attachments in the reply",type:"array",items:{type:"object"},"x-ms-summary":"Attachments"},mentions:{description:"Mentions in the reply",type:"array",items:{type:"object"},"x-ms-summary":"Mentions"},reactions:{description:"Reactions to the reply",type:"array",items:{type:"object"},"x-ms-summary":"Reactions"},messageHistory:{description:"History of the message",type:"array",items:{type:"object"},"x-ms-summary":"Message History"}}},"x-ms-summary":"List of message replies"}}},DynamicUserNotificationRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetNotificationInputMetadata",parameters:{recipientType:"user"},"value-path":"schema"}},DynamicPostConversationNotificationRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetNotificationInputMetadata",parameters:{recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicChannelNotificationRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetNotificationInputMetadata",parameters:{recipientType:"channel"},"value-path":"schema"}},DynamicPostFeedNotificationRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetFeedNotificationInputSchema",parameters:{poster:{parameter:"poster"},notificationType:{parameter:"notificationType"}},"value-path":"schema"}},DynamicPostMessageRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"Message",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicReplyMessageRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"ReplyWithMessage",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicPostCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"UnifiedAdaptiveCard",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicPostCardAndWaitRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"GatherInput",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicReplyCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"ReplyWithAdaptiveCard",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicUpdateCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"UpdateAdaptiveCard",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicUserAdaptiveCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetAdaptiveCardInputMetadata",parameters:{recipientType:"user"},"value-path":"schema"}},DynamicChannelAdaptiveCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetAdaptiveCardInputMetadata",parameters:{recipientType:"channel"},"value-path":"schema"}},DynamicUserMessageWithOptionsSubscriptionRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetMessageWithOptionsSubscriptionInputMetadata",parameters:{recipientType:"user"},"value-path":"schema"}},DynamicUserMessageWithOptionsSubscriptionResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetMessageWithOptionsSubscriptionOutputMetadata",parameters:{recipientType:"user"},"value-path":"schema"}},DynamicSelectedMessageTriggerResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetSelectedMessageTriggerOutputsMetadata",parameters:{body:{parameter:"inputsAdaptiveCard"}},"value-path":"schema"}},DynamicComposeMessageTriggerResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetComposeMessageTriggerOutputsMetadata",parameters:{body:{parameter:"inputsAdaptiveCard"}},"value-path":"schema"}},DynamicCardResponseTriggerResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetCardResponseTriggerOutputsMetadata",parameters:{body:{parameter:"inputsAdaptiveCard"}},"value-path":"schema"}},WebhookTriggerSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},MessageReactionWebhookResponseSchema:{description:"Message details",type:"object",properties:{threadType:{type:"string","x-ms-summary":"ThreadType","x-ms-visibility":"advanced",enum:["groupchat","channel"],"x-ms-enum-values":[{displayName:"Channel",value:"channel"},{displayName:"Group chat",value:"groupchat"}]},chatId:{description:"The chat's unique identifier",type:"string","x-ms-summary":"ChatId","x-ms-visibility":"advanced"},teamId:{description:"The team's unique identifier",type:"string","x-ms-summary":"TeamId","x-ms-visibility":"advanced"},channelId:{description:"The channel's unique identifier",type:"string","x-ms-summary":"ChannelId","x-ms-visibility":"advanced"},messageId:{description:"Id of the message which was reacted",type:"string","x-ms-summary":"MessageId","x-ms-visibility":"advanced"},replyToId:{description:"ID of the parent message of the thread",type:"string","x-ms-summary":"ReplyToId","x-ms-visibility":"advanced"},messageLink:{description:"Link to the message which was reacted",type:"string","x-ms-summary":"Messagelink","x-ms-visibility":"advanced"},userId:{description:"Reacting user's Id",type:"string","x-ms-summary":"UserId","x-ms-visibility":"advanced"},messageReaction:{description:"Message reaction used",type:"string","x-ms-summary":"MessageReaction","x-ms-visibility":"advanced"}}},ChatMessageWebhookResponseSchema:{description:"Message details",type:"object",properties:{value:{description:"Message details response",type:"array",items:{type:"object",properties:{conversationId:{description:"The chat's unique identifier",type:"string","x-ms-summary":"Conversation ID","x-ms-visibility":"advanced"},messageId:{description:"Message ID",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"},linkToMessage:{description:"Message link",type:"string","x-ms-summary":"Link","x-ms-visibility":"advanced"}}},"x-ms-summary":"Message"}}},DynamicWebhookTriggerRequestSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetWebhookTriggerRequestSchema",parameters:{threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicKeywordWebhookTriggerResponseSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetWebhookTriggerResponseSchema",parameters:{triggerType:"keyword",threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicAtMentionWebhookTriggerResponseSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetWebhookTriggerResponseSchema",parameters:{triggerType:"atMention",threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicNewMessageWebhookTriggerResponseSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetWebhookTriggerResponseSchema",parameters:{triggerType:"newMessage",threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicPostToConversationResponse:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetPostToConversationResponseSchema",parameters:{actionType:"Message",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicPostGatherInputToConversationResponse:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetPostToConversationResponseSchema",parameters:{actionType:"GatherInput",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicResponseSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},MessageId:{type:"object",properties:{id:{description:"Unique message identifier",type:"string","x-ms-summary":"Message ID","x-ms-visibility":"advanced"}}},DynamicUserFlowContinuationSubscriptionResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetFlowContinuationSubscriptionOutputMetadata",parameters:{recipientType:"user",body:{parameter:"body.messageBody"}},"value-path":"schema"},"x-ms-dynamic-properties":{operationId:"GetFlowContinuationSubscriptionOutputMetadata",parameters:{recipientType:{value:"user"},body:{parameterReference:"UserFlowContinuationSubscriptionRequest/body/messageBody"}},itemValuePath:"schema"}},DynamicChannelFlowContinuationSubscriptionResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetFlowContinuationSubscriptionOutputMetadata",parameters:{recipientType:"channel",body:{parameter:"body.messageBody"}},"value-path":"schema"},"x-ms-dynamic-properties":{operationId:"GetFlowContinuationSubscriptionOutputMetadata",parameters:{recipientType:{value:"channel"},body:{parameterReference:"ChannelFlowContinuationSubscriptionRequest/body/messageBody"}},itemValuePath:"schema"}},DynamicGatherInputSubscriptionResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetFlowContinuationSubscriptionWithPosterOutputMetadata",parameters:{recipientType:"user",poster:{parameter:"poster"},body:{parameter:"body.messageBody"}},"value-path":"schema"},"x-ms-dynamic-properties":{operationId:"GetFlowContinuationSubscriptionWithPosterOutputMetadata",parameters:{recipientType:{value:"user"},poster:{parameterReference:"poster"},body:{parameterReference:"body/body/messageBody"}},itemValuePath:"schema"}},GetMessagesFromChannel_Response:{type:"object",properties:{"@odata.context":{description:"@odata.context",type:"string","x-ms-summary":"@odata.context","x-ms-visibility":"advanced"},"@odata.count":{format:"int32",description:"@odata.count",type:"integer","x-ms-summary":"@odata.count","x-ms-visibility":"advanced"},"@odata.nextLink":{description:"@odata.nextLink",type:"string","x-ms-summary":"@odata.nextLink","x-ms-visibility":"advanced"},value:{$ref:"#/definitions/OnNewChannelMessage_Response"}}},OnGroupMemberChange_Response:{description:"value",type:"array",items:{type:"object",properties:{id:{description:"Unique id of the user",type:"string","x-ms-visibility":"advanced","x-ms-summary":"User ID"}}}},OnNewChannelMessage_Response:{description:"List of one or more messages for a specific channel in a team",type:"array",items:{type:"object","x-ms-summary":"Message",description:"Properties associated with a single message",properties:{attachments:{description:"attachments",type:"array",items:{type:"object"},"x-ms-summary":"attachments","x-ms-visibility":"advanced"},body:{description:"Plaintext representation of the content of the message",type:"object",properties:{content:{description:"The content of the message",type:"string","x-ms-summary":"content","x-ms-visibility":"advanced"},contentType:{description:"The type of the content. Possible values are text and html",type:"string","x-ms-summary":"content type","x-ms-visibility":"advanced"}},"x-ms-summary":"body","x-ms-visibility":"advanced"},createdDateTime:{format:"date-time",description:"Timestamp of when the chat message was created",type:"string","x-ms-summary":"creation timestamp","x-ms-visibility":"advanced"},deleted:{description:"deleted",type:"boolean","x-ms-summary":"deleted","x-ms-visibility":"advanced"},etag:{description:"Version number of the chat message.",type:"string","x-ms-summary":"etag","x-ms-visibility":"advanced"},from:{description:"The message sender",type:"object",properties:{application:{description:"application",type:"object","x-ms-summary":"application","x-ms-visibility":"advanced"},device:{description:"device",type:"string","x-ms-summary":"device","x-ms-visibility":"advanced"},user:{description:"user",type:"object",properties:{displayName:{description:"display name",type:"string","x-ms-summary":"display name","x-ms-visibility":"advanced"},id:{description:"user's identifier",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"},identityProvider:{description:"identityProvider",type:"string","x-ms-summary":"identityProvider","x-ms-visibility":"advanced"}},"x-ms-summary":"user","x-ms-visibility":"advanced"}},"x-ms-summary":"from","x-ms-visibility":"advanced"},id:{description:"Unique ID of the message",type:"string","x-ms-summary":"id","x-ms-visibility":"advanced"},importance:{description:"The importance of the message. The possible values are: normal, high, urgent.",type:"string","x-ms-summary":"importance","x-ms-visibility":"advanced"},lastModifiedDateTime:{description:"Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed",type:"string","x-ms-summary":"last modified timestamp","x-ms-visibility":"advanced"},locale:{description:"Locale of the chat message set by the client.",type:"string","x-ms-summary":"locale","x-ms-visibility":"advanced"},mentions:{description:"List of entities mentioned in the chat message. Supported entities are: user, bot, team, and channel.",type:"array",items:{type:"object"},"x-ms-summary":"mentions","x-ms-visibility":"advanced"},messageType:{description:"The type of chat message",type:"string","x-ms-summary":"messageType","x-ms-visibility":"advanced"},reactions:{description:"Reactions for this chat message (for example, Like)",type:"array",items:{type:"object"},"x-ms-summary":"reactions","x-ms-visibility":"advanced"},replyToId:{description:"ID of the parent message of the thread",type:"string","x-ms-summary":"replyToId","x-ms-visibility":"advanced"},subject:{description:"The subject of the chat message, optional",type:"string","x-ms-summary":"subject","x-ms-visibility":"advanced"},summary:{description:"Summary text of the message that could be used for push notifications and summary views or fall back views",type:"string","x-ms-summary":"summary","x-ms-visibility":"advanced"}}},"x-ms-summary":"Message List","x-ms-visibility":"advanced"},GetTeamResponse:{description:"Get team response",type:"object",properties:{id:{"x-ms-summary":"Team ID",description:"The unique identifier of the team",type:"string"},displayName:{"x-ms-summary":"Display name",description:"The name of the team",type:"string"},description:{"x-ms-summary":"Description of team",description:"The description of the team, optional",type:"string"},internalId:{"x-ms-summary":"Internal ID",description:"The internal ID of the team",type:"string"},webUrl:{"x-ms-summary":"Team's web url",description:"A hyperlink that will go to the team in the Microsoft Teams client",type:"string"},isArchived:{"x-ms-summary":"Archived",description:"Whether this team is in read-only mode",type:"boolean"},memberSettings:{$ref:"#/definitions/MemberSettings"},guestSettings:{$ref:"#/definitions/GuestSettings"},messagingSettings:{$ref:"#/definitions/MessagingSettings"},funSettings:{$ref:"#/definitions/FunSettings"},discoverySettings:{$ref:"#/definitions/DiscoverySettings"}}},GetChannelResponse:{description:"Get team channel details response",type:"object",properties:{id:{"x-ms-summary":"Channel ID",description:"The unique identifier of the channel",type:"string"},displayName:{"x-ms-summary":"Display name",description:"The name of the channel",type:"string"},description:{"x-ms-summary":"Description of channel",description:"The description of the channel, optional",type:"string"},email:{"x-ms-summary":"The email address for the channel",description:"The email address for sending messages to the channel",type:"string"},tenantId:{"x-ms-summary":"Team tenant id",description:"The ID of the Microsoft Entra tenant.",type:"string"},webUrl:{"x-ms-summary":"A hyperlink for the channel in Microsoft Teams",description:"A hyperlink for the channel in Microsoft Teams",type:"string"},filesFolderWebUrl:{"x-ms-summary":"SharePoint folder URL for channel",description:"The SharePoint folder URL of the channel",type:"string"},createdDateTime:{"x-ms-summary":"Channel creation time",format:"date-time",description:"Timestamp at which the channel was created. Read only",type:"string"},membershipType:{"x-ms-summary":"The type of the channel.",description:"The channel membership type",type:"string",enum:["standard","private","unknownFutureValue","shared"]}}},WebhookRequest:{type:"object",required:["notificationUrl"],properties:{notificationUrl:{type:"string",description:"Specify a well-formed URL of the endpoint that will receive notifications",title:"Notification URL","x-ms-notification-url":!0,"x-ms-visibility":"internal"}}},GetTimeOffReasonsResponse:{description:"The list of Time Off Reasons.","x-ms-summary":"List of time off reasons associated with a team",type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{"x-ms-summary":"Array containing time off reasons",description:"The list of time off reasons.",type:"array",items:{type:"object","x-ms-summary":"Single time off reason.",description:"Time off reason.",properties:{id:{"x-ms-summary":"Time Off Reason ID",description:"The unique ID of the time off reason.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},iconType:{"x-ms-summary":"Icon Type",description:"Icon Type",type:"string"},isActive:{"x-ms-summary":"Is Active",description:"Is Active",type:"boolean"},lastModifiedBy:{$ref:"#/definitions/LastModifiedBy"}}}}}},TimeOffRequestResponse:{"x-ms-summary":"TimeOff Request",description:"TimeOff Request Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the TimeOff request.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},assignedTo:{"x-ms-summary":"Assigned To",description:"The person the request is assigned to: 'manager' or 'recipient'",type:"string"},state:{"x-ms-summary":"State",description:"'approved', 'pending' or 'declined'",type:"string"},senderDateTime:{"x-ms-summary":"Sender Time",format:"date-time",description:"Time when the request was sent",type:"string"},senderMessage:{"x-ms-summary":"Sender Message",description:"The message from the request sender",type:"string"},senderUserId:{"x-ms-summary":"Sender ID",description:"The ID of the user that sent the request",type:"string"},managerActionDateTime:{"x-ms-summary":"Manager Action Time",format:"date-time",description:"Time when the manager responded",type:"string"},managerActionMessage:{"x-ms-summary":"Manager Message",description:"The message from the manager",type:"string"},managerUserId:{"x-ms-summary":"Manager ID",description:"The ID of the manager that responded",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"Start of time requested off",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"End of time requested off",type:"string"},timeOffReasonId:{"x-ms-summary":"TimeOff Reason ID",description:"The ID of the TimeOff Reason",type:"string"}}},OfferShiftRequestResponse:{"x-ms-summary":"Offer Shift Request",description:"Offer Shift Request Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the Offer Shift request.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},assignedTo:{"x-ms-summary":"Assigned To",description:"The person the request is assigned to: 'manager' or 'recipient'",type:"string"},state:{"x-ms-summary":"State",description:"'approved', 'pending' or 'declined'",type:"string"},senderDateTime:{"x-ms-summary":"Sender Time",format:"date-time",description:"Time when the request was sent",type:"string"},senderMessage:{"x-ms-summary":"Sender Message",description:"The message from the request sender",type:"string"},senderUserId:{"x-ms-summary":"Sender ID",description:"The ID of the user that sent the request",type:"string"},senderShiftId:{"x-ms-summary":"Sender Shift ID",description:"The ID of the shift from the sender",type:"string"},recipientActionDateTime:{"x-ms-summary":"Receiver Time",format:"date-time",description:"Time when the recipient responded",type:"string"},recipientActionMessage:{"x-ms-summary":"Recipient Message",description:"The message from the recipient",type:"string"},recipientUserId:{"x-ms-summary":"Recipient ID",description:"The ID of the recipient of the request",type:"string"},managerActionDateTime:{"x-ms-summary":"Manager Action Time",format:"date-time",description:"Time when the manager responded",type:"string"},managerActionMessage:{"x-ms-summary":"Manager Message",description:"The message from the manager",type:"string"},managerUserId:{"x-ms-summary":"Manager ID",description:"The ID of the manager that responded",type:"string"}}},SwapShiftsChangeRequestResponse:{"x-ms-summary":"Swap Shift Request",description:"Swap Shift Request Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the Swap Shift request.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},assignedTo:{"x-ms-summary":"Assigned To",description:"The person the request is assigned to: 'manager' or 'recipient'",type:"string"},state:{"x-ms-summary":"State",description:"'approved', 'pending' or 'declined'",type:"string"},senderDateTime:{"x-ms-summary":"Sender Time",format:"date-time",description:"Time when the request was sent",type:"string"},senderMessage:{"x-ms-summary":"Sender Message",description:"The message from the request sender",type:"string"},senderUserId:{"x-ms-summary":"Sender ID",description:"The ID of the user that sent the request",type:"string"},senderShiftId:{"x-ms-summary":"Sender Shift ID",description:"The ID of the shift from the sender",type:"string"},recipientActionDateTime:{"x-ms-summary":"Receiver Time",format:"date-time",description:"Time when the recipient responded",type:"string"},recipientActionMessage:{"x-ms-summary":"Recipient Message",description:"The message from the recipient",type:"string"},recipientUserId:{"x-ms-summary":"Recipient ID",description:"The ID of the recipient of the request",type:"string"},recipientShiftId:{"x-ms-summary":"Recipient Shift ID",description:"The ID of the shift from the recipient",type:"string"},managerActionDateTime:{"x-ms-summary":"Manager Action Time",format:"date-time",description:"Time when the manager responded",type:"string"},managerActionMessage:{"x-ms-summary":"Manager Message",description:"The message from the manager",type:"string"},managerUserId:{"x-ms-summary":"Manager ID",description:"The ID of the manager that responded",type:"string"}}},OpenShiftChangeRequestResponse:{"x-ms-summary":"Open Shift Change Request",description:"Open Shift Change Request Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the Open Shift Change request.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},assignedTo:{"x-ms-summary":"Assigned To",description:"The person the request is assigned to: 'manager' or 'recipient'",type:"string"},state:{"x-ms-summary":"State",description:"'approved', 'pending' or 'declined'",type:"string"},senderDateTime:{"x-ms-summary":"Sender Time",format:"date-time",description:"Time when the request was sent",type:"string"},senderMessage:{"x-ms-summary":"Sender Message",description:"The message from the request sender",type:"string"},senderUserId:{"x-ms-summary":"Sender ID",description:"The ID of the user that sent the request",type:"string"},managerActionDateTime:{"x-ms-summary":"Manager Action Time",format:"date-time",description:"Time when the manager responded",type:"string"},managerActionMessage:{"x-ms-summary":"Manager Message",description:"The message from the manager",type:"string"},managerUserId:{"x-ms-summary":"Manager ID",description:"The ID of the manager that responded",type:"string"},openShiftId:{"x-ms-summary":"Open Shift ID",description:"The ID of the open shift being requested",type:"string"}}},EditOpenShiftRequest:{type:"object",properties:{schedulingGroupId:{"x-ms-visibility":"important",description:"Scheduling Group ID","x-ms-summary":"Scheduling Group ID",type:"string","x-ms-dynamic-values":{"value-path":"id","value-title":"displayName",operationId:"ListSchedulingGroups","value-collection":"value",parameters:{teamId:{parameter:"teamId"}}}},sharedOpenShift:{"x-ms-visibility":"important",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name","x-ms-visibility":"advanced",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes","x-ms-visibility":"advanced",type:"string"},startDateTime:{"x-ms-summary":"From Start Time","x-ms-visibility":"important",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time","x-ms-visibility":"important",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{$ref:"#/definitions/ThemeEditor"},openSlotCount:{"x-ms-summary":"Open Slot Count","x-ms-visibility":"important",description:"Open Slot Count",type:"integer"},activities:{$ref:"#/definitions/Activities"}},required:["startDateTime","endDateTime","openSlotCount"]}}},OpenShiftResponse:{"x-ms-summary":"Open Shift",description:"Open Shift Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the open shift.",type:"string"},createdDateTime:{"x-ms-summary":"Created Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},schedulingGroupId:{"x-ms-summary":"Scheduling Group ID",description:"Scheduling Group ID",type:"string"},lastModifiedBy:{$ref:"#/definitions/LastModifiedBy"},sharedOpenShift:{$ref:"#/definitions/SharedOpenShift"},draftOpenShift:{$ref:"#/definitions/DraftOpenShift"}}},SharedOpenShift:{"x-ms-summary":"Shared Open Shift",description:"Shared version of the open shift",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{"x-ms-summary":"Theme",description:"Theme",type:"string"},openSlotCount:{"x-ms-summary":"Open Slot Count",description:"Open Slot Count",type:"integer"},activities:{$ref:"#/definitions/Activities"}}},DraftOpenShift:{"x-ms-summary":"Draft Open Shift",description:"Preliminary version of the open shift",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{"x-ms-summary":"Theme",description:"Theme",type:"string"},openSlotCount:{"x-ms-summary":"Open Slot Count",description:"Open Slot Count",type:"integer"},activities:{$ref:"#/definitions/Activities"}}},ShiftResponse:{"x-ms-summary":"Shift",description:"Shift Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the shift.",type:"string"},createdDateTime:{"x-ms-summary":"Created Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},userId:{"x-ms-summary":"Assigned To User ID",description:"Assigned To User ID",type:"string"},schedulingGroupId:{"x-ms-summary":"Scheduling Group ID",description:"Scheduling Group ID",type:"string"},lastModifiedBy:{$ref:"#/definitions/LastModifiedBy"},sharedShift:{$ref:"#/definitions/SharedShift"},draftShift:{$ref:"#/definitions/DraftShift"}}},SharedShift:{"x-ms-summary":"Shared Shift",description:"Shared version of the shift",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{"x-ms-summary":"Theme",description:"Theme",type:"string"},activities:{$ref:"#/definitions/Activities"}}},DraftShift:{"x-ms-summary":"Draft Shift",description:"Preliminary version of the shift",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{"x-ms-summary":"Theme",description:"Theme",type:"string"},activities:{$ref:"#/definitions/Activities"}}},ScheduleResponse:{description:"Schedule Entity",type:"object",properties:{id:{"x-ms-summary":"Schedule ID",description:"The unique ID of the schedule.",type:"string"},timeZone:{"x-ms-summary":"Schedule Time Zone",description:"The Time Zone of the schedule.",type:"string"},provisionStatus:{"x-ms-summary":"Schedule Provision Status",description:"The Provision Status of the schedule.",type:"string"},provisionStatusCode:{"x-ms-summary":"Schedule Provision Status Code",description:"The Provision Status Code of the schedule.",type:"string"}}},CreateATeamResponse:{type:"object",properties:{newTeamId:{description:"Team ID of the team that was just created",type:"string","x-ms-summary":"New Team ID"}}},PostToConversationResponse:{type:"object",properties:{id:{description:"Unique message ID",type:"string","x-ms-summary":"Message ID"},messageLink:{description:"Link to the message in Microsoft Teams",type:"string","x-ms-summary":"Message link"},conversationId:{description:"The chat's unique identifier",type:"string","x-ms-summary":"Conversation ID"}}},ThemeEditor:{"x-ms-summary":"Theme",description:"Theme","x-ms-visibility":"advanced",type:"string",default:"white",enum:["white","blue","green","purple","pink","yellow","gray","darkblue","darkgreen","darkpurple","darkpink","darkyellow"],"x-ms-enum-values":[{displayName:"White",value:"white"},{displayName:"Blue",value:"blue"},{displayName:"Green",value:"green"},{displayName:"Purple",value:"purple"},{displayName:"Pink",value:"pink"},{displayName:"Yellow",value:"yellow"},{displayName:"Gray",value:"gray"},{displayName:"Dark Blue",value:"darkblue"},{displayName:"Dark Green",value:"darkgreen"},{displayName:"Dark Purple",value:"darkpurple"},{displayName:"Dark Pink",value:"darkpink"},{displayName:"Dark Yellow",value:"darkyellow"}]},Activities:{description:"Shift activities",type:"array","x-ms-visibility":"advanced",items:{description:"Shift activity",type:"object","x-ms-summary":"Activity",properties:{isPaid:{"x-ms-summary":"Is Paid",description:"Is Paid",type:"boolean"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},code:{"x-ms-summary":"Code",description:"Code",type:"string"},displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"}},required:["startDateTime","endDateTime"]}},SchedulingGroupResponse:{"x-ms-summary":"Scheduling Group",description:"Scheduling Group Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the scheduling group.",type:"string"},displayName:{"x-ms-summary":"Display Name",description:"The display name for the scheduling group.",type:"string"},isActive:{"x-ms-summary":"Is Active",description:"Indicates whether the scheduling group can be used when creating new entities or updating existing ones.",type:"boolean"},userIds:{"x-ms-summary":"User IDs",description:"List of IDs of users in the scheduling group.",type:"array",items:{description:"The ID of a user in the scheduling group",type:"string","x-ms-summary":"User ID"}}}},AtMentionUser_V1:{description:"@mention Token",type:"object",properties:{atMention:{"x-ms-summary":"@mention",description:"An @mention token for the user. This property can be inserted into messages and adaptive cards",type:"string"}}},AtMentionTagResponse:{description:"@mention token for a tag",type:"object",properties:{atMention:{"x-ms-summary":"@mention tag",description:"A token for the tag to @mention. It can be inserted into messages and adaptive cards sent from a person",type:"string"}}},ChannelIdForTeam:{"x-ms-dynamic-values":{operationId:"GetChannelsForGroup","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},"x-ms-summary":"Channel","x-ms-test-value":"19:976f050cb80c4d57a2a5e28b8942e6ec@thread.skype",description:"Add channel ID",type:"string"},ChannelIds:{description:"Channel IDs",type:"object",properties:{channel:{$ref:"#/definitions/ChannelIdForTeam"}},required:["channel"]},ChatId:{"x-ms-dynamic-values":{operationId:"GetChats","value-path":"id","value-title":"topic","value-collection":"value",parameters:{topic:"isDefined",chatType:"all"}},"x-ms-summary":"Conversation ID","x-ms-test-value":"19:976f050cb80c4d57a2a5e28b8942e6ec@thread.skype",description:"The chat's unique identifier",type:"string"},NewChat:{description:"New chat event model",type:"object",required:["members"],properties:{topic:{type:"string",description:"Title, displayed only in group chats","x-ms-summary":"Title","x-ms-visibility":"important"},members:{description:"User's IDs, separated by semicolons",type:"string","x-ms-summary":"Members to add"}}},NewChatResponse:{description:"Response for new chat that was created",type:"object",properties:{id:{description:"The chat's unique identifier",type:"string","x-ms-summary":"Conversation ID"}}},NewMeeting:{description:"New meeting event model",type:"object",required:["isOnlineMeeting","onlineMeetingProvider","subject","body","start","end","timeZone"],properties:{subject:{type:"string",description:"The text of the event's subject line","x-ms-summary":"Subject","x-ms-visibility":"important"},body:{"x-ms-summary":"Body",description:"The body of the message associated with the event",required:["content","contentType"],type:"object",properties:{content:{description:"The content of the event",type:"string","x-ms-summary":"Event message content","x-ms-visibility":"important"},contentType:{description:"The type of the content. Possible values are text and html",type:"string","x-ms-summary":"Content type","x-ms-visibility":"internal",default:"html"}}},timeZone:{description:"Time zone of the event","x-ms-summary":"Time zone","x-ms-visibility":"important",type:"string","x-ms-dynamic-values":{operationId:"GetSupportedTimeZones","value-path":"alias","value-title":"alias","value-collection":"value"}},start:{type:"object",required:["dateTime"],"x-ms-visibility":"important",properties:{dateTime:{format:"date-no-tz","x-ms-visibility":"important",description:"Start time of the event (example: '2017-08-29T04:00:00')",type:"string","x-ms-summary":"Start time"}}},end:{type:"object",required:["dateTime"],"x-ms-visibility":"important",properties:{dateTime:{format:"date-no-tz","x-ms-visibility":"important",description:"End time of the event (example: '2017-08-29T05:00:00')",type:"string","x-ms-summary":"End time"}}},requiredAttendees:{format:"email",description:"Required attendees for the event separated by semicolons",type:"string","x-ms-summary":"Required attendees","x-ms-dynamic-values":{builtInOperation:"AadGraph.GetUsers",parameters:{},"value-path":"mail"}},optionalAttendees:{format:"email",description:"Optional attendees for the event separated by semicolons",type:"string","x-ms-summary":"Optional attendees","x-ms-dynamic-values":{builtInOperation:"AadGraph.GetUsers",parameters:{},"value-path":"mail"}},location:{type:"object",properties:{displayName:{type:"string",description:"The name associated with the location","x-ms-summary":"display name","x-ms-visibility":"advanced"}},"x-ms-summary":"Location",description:"The location of the event"},importance:{description:"The importance of the event: low, normal or high",type:"string",enum:["low","normal","high"],"x-ms-enum-values":[{displayName:"Low",value:"low"},{displayName:"Normal",value:"normal"},{displayName:"High",value:"high"}],"x-ms-summary":"Importance","x-ms-visibility":"advanced"},recurrence:{type:"object",description:"The recurrence pattern for the meeting","x-ms-visibility":"advanced",properties:{pattern:{type:"object",properties:{type:{type:"string","x-ms-visibility":"advanced","x-ms-summary":"Recurrence pattern",description:"Pattern for the recurrence. Required when meeting is a recurrence",enum:["","daily","weekly","relativeMonthly","relativeYearly"],"x-ms-enum-values":[{displayName:"Daily",value:"daily"},{displayName:"Weekly",value:"weekly"},{displayName:"Monthly",value:"relativeMonthly"}]},interval:{format:"int32",description:"The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required when meeting is a recurrence",type:"integer","x-ms-summary":"Recurrence interval","x-ms-visibility":"advanced"},daysOfWeek:{type:"array","x-ms-summary":"Days of week",description:"Comma separated days of weeks (example: 'Monday,Wednesday,Friday')",items:{type:"string","x-ms-summary":"Recurrence day(s) of week",description:"Days of week (example: 'Monday'). Required when recurrence pattern is NOT daily"}},index:{type:"string","x-ms-visibility":"advanced","x-ms-summary":"Week Index",description:"Specifies on which day of the week the event occurs. Default is first",enum:["","first","second","third","fourth","last"],"x-ms-enum-values":[{displayName:"First",value:"first"},{displayName:"Second",value:"second"},{displayName:"Third",value:"third"},{displayName:"Fourth",value:"fourth"},{displayName:"Last",value:"last"}]}}},range:{type:"object",description:"The recurrence pattern for the meeting","x-ms-visibility":"advanced",properties:{startDate:{format:"date",description:"Start date of the recurrence, format YYYY-MM-DD. Required when meeting is a recurrence",type:"string","x-ms-summary":"Recurrence start date","x-ms-visibility":"advanced"},endDate:{format:"date",description:"End date of the recurrence, format YYYY-MM-DD",type:"string","x-ms-summary":"Recurrence end date","x-ms-visibility":"advanced"}}}}},isAllDay:{description:"Set to true if the event lasts all day",type:"boolean","x-ms-summary":"All day event","x-ms-visibility":"advanced"},reminderMinutesBeforeStart:{description:"The number of minutes before the event start time that the reminder alert occurs",type:"integer","x-ms-summary":"Pre-event reminder time","x-ms-visibility":"advanced"},isReminderOn:{description:"Set to true if an alert is set to remind the user of the event",type:"boolean","x-ms-summary":"Enable reminders","x-ms-visibility":"advanced"},showAs:{description:"Status to show during the event",type:"string",enum:["free","tentative","busy","oof","workingElsewhere","unknown"],"x-ms-summary":"Status show as","x-ms-visibility":"advanced"},responseRequested:{description:"Set to true if the sender would like a response when the event is accepted",type:"boolean","x-ms-summary":"Request response","x-ms-visibility":"advanced"},isOnlineMeeting:{type:"boolean",description:"Set to true, if the meeting should have an online meeting provider",default:!0,"x-ms-summary":"Online meeting enabled","x-ms-visibility":"internal"},onlineMeetingProvider:{type:"string",description:"Represents the online meeting service provider",default:"teamsForBusiness","x-ms-summary":"Online meeting provider","x-ms-visibility":"internal"}}},NewMeetingRespone:{description:"Response for new meeting that was created",type:"object",properties:{id:{type:"string","x-ms-summary":"ID",description:"Unique identifier for the event"},createdDateTime:{type:"string","x-ms-summary":"Created timestamp",description:"Timestamp the event was created"},lastModifiedDateTime:{type:"string","x-ms-summary":"Last modified timestamp",description:"Timestamp the event was last modified"},categories:{type:"array",items:{},"x-ms-summary":"Categories",description:"The categories associated with the event"},timeZone:{type:"string","x-ms-summary":"Time Zone",description:"Time zone of the event"},reminderMinutesBeforeStart:{type:"integer",format:"int32","x-ms-summary":"Pre-event reminder time",description:"The number of minutes before the event start time that the reminder alert occurs"},isReminderOn:{type:"boolean","x-ms-summary":"Reminders enabled",description:"Set to true if an alert is set to remind the user of the event"},hasAttachments:{type:"boolean","x-ms-summary":"Has Attachments",description:"Set to true if the event has attachments"},subject:{type:"string","x-ms-summary":"Subject",description:"The text of the event's subject line"},bodyPreview:{type:"string","x-ms-summary":"Body preview",description:"The preview of the message associated with the event"},importance:{type:"string","x-ms-summary":"Importance",description:"The importance of the event. The possible values are: low, normal, high"},sensitivity:{type:"string","x-ms-summary":"Sensitivity",description:"Sensitivity of the event"},isAllDay:{type:"boolean","x-ms-summary":"Is all day",description:"Set to true if the event lasts all day"},isCancelled:{type:"boolean","x-ms-summary":"Is cancelled",description:"Set to true if the event has been canceled"},isOrganizer:{type:"boolean","x-ms-summary":"Is organizer",description:"Set to true if the calendar owner is the organizer of the event"},responseRequested:{type:"boolean","x-ms-summary":"Response requested",description:"The organizer would like an invitee to send a response to the event"},showAs:{type:"string","x-ms-summary":"Show As",description:"The status to show. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown."},type:{type:"string","x-ms-summary":"Type",description:"The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster"},webLink:{type:"string","x-ms-summary":"Web last",description:"The URL to open the event in Outlook on the web."},onlineMeetingUrl:{type:"string","x-ms-summary":"Online meeting URL",description:"A URL for an online meeting"},allowNewTimeProposals:{type:"boolean","x-ms-summary":"Allow new time proposals",description:"True if the meeting organizer allows invitees to propose a new time when responding"},recurrence:{type:"object","x-ms-summary":"Recurrence",description:"The recurrence pattern for the event",properties:{pattern:{type:"object","x-ms-summary":"Recurrence pattern",description:"The frequency of an event"},range:{type:"object","x-ms-summary":"Recurrence range",description:"The duration of an event"}}},responseStatus:{type:"object",properties:{response:{type:"string","x-ms-summary":"Response",description:"The response type. Possible values are: none, organizer, tentativelyAccepted, accepted, declined, notResponded"},time:{type:"string","x-ms-summary":"Time",description:"The date and time when the response was returned"}},"x-ms-summary":"Response status",description:"Indicates the type of response sent in response to an event message"},body:{type:"object",properties:{contentType:{type:"string","x-ms-summary":"Content type",description:"The type of the content. Possible values are text and html"},content:{type:"string","x-ms-summary":"Event message content",description:"The content of the event"}},"x-ms-summary":"Body",description:"The body of the message associated with the event"},start:{type:"object",properties:{dateTime:{type:"string","x-ms-summary":"date and time",description:"Start time of the event (example: '2017-08-29T04:00:00')"}},"x-ms-summary":"Start",description:"The start date, time, and time zone of the event"},end:{type:"object",properties:{dateTime:{type:"string","x-ms-summary":"date and time",description:"End time of the event (example: '2017-08-29T04:00:00')"}},"x-ms-summary":"End",description:"The date, time, and time zone that the event ends"},location:{type:"object",properties:{displayName:{type:"string","x-ms-summary":"display name",description:"The name associated with the location"}},"x-ms-summary":"Location",description:"The location of the event"},attendees:{type:"array",items:{type:"object",properties:{type:{type:"string","x-ms-summary":"type",description:"The attendee type: required, optional, resource"},status:{type:"object",properties:{response:{type:"string","x-ms-summary":"response",description:"The response type. Possible values are: none, organizer, tentativelyAccepted, accepted, declined, notResponded"},time:{type:"string","x-ms-summary":"time",description:"The date and time when the response was returned"}},"x-ms-summary":"Status",description:"The attendee's response"},emailAddress:{type:"object",properties:{name:{type:"string","x-ms-summary":"name",description:"The display name of an attendee"},address:{type:"string","x-ms-summary":"address",description:"The email address of an attendee"}},"x-ms-summary":"email address",description:"The name and email address of an attendee"}}},"x-ms-summary":"Attendee",description:"The collection of attendees for the event"},organizer:{type:"object",properties:{emailAddress:{type:"object",properties:{name:{type:"string","x-ms-summary":"name",description:"The display name of an organizer"},address:{type:"string","x-ms-summary":"address",description:"The email address of an organizer"}},"x-ms-summary":"email address",description:"The name and email address of an organizer"}},"x-ms-summary":"Organizer",description:"Organizer"},onlineMeeting:{type:"object",properties:{joinUrl:{type:"string","x-ms-summary":"join url",description:"The external link that launches the online meeting"}},"x-ms-summary":"Online meeting",description:"Details for an attendee to join the meeting online."}}},LastModifiedBy:{"x-ms-summary":"Last Modified By",description:"Last Modified By",type:"object",properties:{application:{"x-ms-summary":"Application",description:"Application",type:"string"},device:{"x-ms-summary":"Device",description:"Device",type:"string"},conversation:{"x-ms-summary":"Conversation",description:"Conversation",type:"string"},user:{"x-ms-summary":"User",description:"User",type:"object",properties:{id:{"x-ms-summary":"Id",description:"Id",type:"string"},displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"}}}}},MemberSettings:{"x-ms-summary":"Member settings",description:"Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team",type:"object",properties:{allowCreateUpdateChannels:{"x-ms-summary":"Members are allowed create/update channels",description:"If set to true, members can add and update channels",type:"boolean"},allowDeleteChannels:{"x-ms-summary":"Members are allowed delete channels",description:"If set to true, members can delete channels",type:"boolean"},allowAddRemoveApps:{"x-ms-summary":"Members are allowed add/remove apps",description:"If set to true, members can add and remove apps",type:"boolean"},allowCreateUpdateRemoveTabs:{"x-ms-summary":"Members are allowed create/update/remove tabs",description:"If set to true, members can add, update, and remove tabs",type:"boolean"},allowCreateUpdateRemoveConnectors:{"x-ms-summary":"Members are allowed create/update/remove connectors",description:"If set to true, members can add, update, and remove connectors",type:"boolean"}}},GuestSettings:{"x-ms-summary":"Guest settings",description:"Settings to configure whether guests can create, update, or delete channels in the team",type:"object",properties:{allowCreateUpdateChannels:{"x-ms-summary":"Guests are allowed create/update channels",description:"If set to true, guests can add and update channels",type:"boolean"},allowDeleteChannels:{"x-ms-summary":"Guests are allowed delete channels",description:"If set to true, guests can delete channels",type:"boolean"}}},MessagingSettings:{"x-ms-summary":"Messaging settings",description:"Settings to configure messaging and mentions in the team",type:"object",properties:{allowUserEditMessages:{"x-ms-summary":"Allow user to edit messages",description:"If set to true, users can edit their messages",type:"boolean"},allowUserDeleteMessages:{"x-ms-summary":"Allow user to delete messages",description:"If set to true, users can delete their messages",type:"boolean"},allowOwnerDeleteMessages:{"x-ms-summary":"Allow owner to delete messages",description:"If set to true, owners can delete any message",type:"boolean"},allowTeamMentions:{"x-ms-summary":"Allow team mentions",description:"If set to true, @team mentions are allowed",type:"boolean"},allowChannelMentions:{"x-ms-summary":"Allow channel mentions",description:"If set to true, @channel mentions are allowed",type:"boolean"}}},FunSettings:{"x-ms-summary":"Fun settings",description:"Settings to configure use of Giphy, memes, and stickers in the team",type:"object",properties:{allowGiphy:{"x-ms-summary":"Allow giphy",description:"If set to true, enables Giphy use",type:"boolean"},giphyContentRating:{"x-ms-summary":"Giphy content rating",description:"Giphy content rating. Possible values are: moderate, strict",type:"string"},allowStickersAndMemes:{"x-ms-summary":"Allow stickers and memes",description:"If set to true, enables users to include stickers and memes",type:"boolean"},allowCustomMemes:{"x-ms-summary":"Allow custom memes",description:"If set to true, enables users to include custom memes",type:"boolean"}}},DiscoverySettings:{"x-ms-summary":"Discovery settings",description:"Settings to configure team discoverability by others.",type:"object",properties:{showInTeamsSearchAndSuggestions:{"x-ms-summary":"Show in team's search and suggestions",description:"If set to true, the team is visible via search and suggestions from the Teams client",type:"boolean"}}},SelectedMessageTriggerMetadata:{description:"Metadata of data coming from Microsoft Teams for a selected message",type:"object",properties:{TeamsFlowRunContext:{$ref:"#/definitions/Object"},CardOutputs:{$ref:"#/definitions/Object"}},"x-ms-visibility":"advanced"},ComposeMessageTriggerMetadata:{description:"Metadata of data coming from Microsoft Teams for composing a message",type:"object",properties:{TeamsFlowRunContext:{$ref:"#/definitions/Object"},CardOutputs:{$ref:"#/definitions/Object"}},"x-ms-visibility":"advanced"},CardResponseTriggerMetadata:{description:"Metadata of data coming from Microsoft Teams for a response to an adaptive card",type:"object",properties:{TeamsFlowRunContext:{$ref:"#/definitions/Object"},CardOutputs:{$ref:"#/definitions/Object"}},"x-ms-visibility":"advanced"},VirtualAgentBots:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of the virtual agent bots",type:"array","x-ms-summary":"Virtual Agent bot list",items:{type:"object","x-ms-summary":"Virtual Agent Bot",description:"Properties associated with a single virtual agent bot",properties:{name:{description:"bot name",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"},botid:{description:"Unique ID of the bot",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"}}}}}},ObjectWithoutType:{}},parameters:{groupId__in_path:{name:"groupId",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetAllTeams","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-summary":"Team","x-ms-test-value":"173837de-575f-4e0e-935c-0ac64ea29e9d",description:"Select team",type:"string"},groupId__in_query:{name:"groupId",in:"query",required:!0,"x-ms-dynamic-values":{operationId:"GetAllTeams","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-summary":"Team","x-ms-test-value":"173837de-575f-4e0e-935c-0ac64ea29e9d",description:"Select team",type:"string"},recipientType__in_path:{name:"recipientType",in:"path",description:"Type of the recipient of the action",required:!0,"x-ms-summary":"Type of the recipient of the action",type:"string"},channelId__in_path:{name:"channelId",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetChannelsForGroup","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},"x-ms-summary":"Channel","x-ms-test-value":"19:976f050cb80c4d57a2a5e28b8942e6ec@thread.skype",description:"Channel ID",type:"string"},channelId__in_query:{name:"channelId",in:"query",required:!0,"x-ms-dynamic-values":{operationId:"GetChannelsForGroup","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},"x-ms-summary":"Channel","x-ms-test-value":"19:976f050cb80c4d57a2a5e28b8942e6ec@thread.skype",description:"Select channel",type:"string"},messageId__in_path:{name:"messageId",in:"path",required:!0,"x-ms-summary":"Message","x-ms-test-value":"1552086306463",description:"Message ID",type:"string"},teamId__in_path:{name:"teamId",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetAllTeams","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-summary":"Team",description:"Select team",type:"string"},memberId__in_path:{name:"memberId",in:"path",required:!0,"x-ms-summary":"Member",description:"Add member Microsoft Entra ID",type:"string"},tagId__in_path:{name:"tagId",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetTags","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},"x-ms-summary":"Tag",description:"Select tag",type:"string"},posterWithPowerApps__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot","x-ms-enum-values":[{displayName:"User",value:"User"},{displayName:"Flow bot",value:"Flow bot"},{displayName:"Power Virtual Agents (Preview)",value:"Power Virtual Agents"},{displayName:"Power Apps",value:"Power Apps"}],enum:["Power Apps","Power Virtual Agents","Flow bot","User"]},poster__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot","x-ms-enum-values":[{displayName:"User",value:"User"},{displayName:"Flow bot",value:"Flow bot"},{displayName:"Power Virtual Agents (Preview)",value:"Power Virtual Agents"}],enum:["Power Virtual Agents","Flow bot","User"]},posterWithoutPVA__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot",enum:["Flow bot","User"]},posterWithoutUser__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot","x-ms-enum-values":[{displayName:"Power Virtual Agents (Preview)",value:"Power Virtual Agents"},{displayName:"Flow bot",value:"Flow bot"}],enum:["Power Virtual Agents","Flow bot"]},posterJustFlowbot__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot","x-ms-enum-values":[{displayName:"Flow bot",value:"Flow bot"}],enum:["Flow bot"]},location__in_path:{name:"location",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetMessageLocations","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{messageType:"ParentMessage",poster:{parameter:"poster"}}},"x-ms-summary":"Post in",description:"Select an option",type:"string"},reply__in_path:{name:"location",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetMessageLocations","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{messageType:"Reply",poster:{parameter:"poster"}}},"x-ms-summary":"Post in",description:"Select an option",type:"string"},update_location__in_path:{name:"location",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetMessageLocations","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{messageType:"Update",poster:{parameter:"poster"}}},"x-ms-summary":"Post in",description:"Select an option",type:"string"},chatType__in_path:{name:"chatType",in:"path",description:"Filter by type",required:!0,"x-ms-summary":"Chat Types",type:"string",default:"all",enum:["all","group","meeting","oneOnOne"],"x-ms-enum-values":[{displayName:"All chat types",value:"all"},{displayName:"Group",value:"group"},{displayName:"Meeting",value:"meeting"},{displayName:"One on one",value:"oneOnOne"}]},topic__in_path:{name:"topic",in:"path",description:"Filter by whether or not the topic name is defined",required:!0,"x-ms-summary":"Topic",type:"string",default:"all",enum:["all","isDefined","notDefined"],"x-ms-enum-values":[{displayName:"All Chats",value:"all"},{displayName:"Is Defined",value:"isDefined"},{displayName:"Is Not Defined",value:"notDefined"}]},messageType__in_path:{name:"messageType",in:"path",required:!0,type:"string",description:"Message Type","x-ms-summary":"Message Type"},actionType__in_path:{name:"actionType",in:"path",required:!0,type:"string",description:"Unified Action","x-ms-summary":"Unified Action"},triggerType__in_path:{name:"triggerType",in:"path",required:!0,type:"string",description:"Trigger type","x-ms-summary":"Trigger type"},notificationType__in_path:{name:"notificationType",in:"path",description:"Choose notification type",required:!0,"x-ms-summary":"Notification type",type:"string",enum:["groupchat","team"],"x-ms-enum-values":[{displayName:"Team",value:"team"},{displayName:"Group chat",value:"groupchat"}]},threadType__in_path:{name:"threadType",in:"path",description:"Choose message type",required:!0,"x-ms-summary":"Message type",type:"string",enum:["groupchat","channel"],"x-ms-enum-values":[{displayName:"Channel",value:"channel"},{displayName:"Group chat",value:"groupchat"}]},listMembersThreadType__in_path:{name:"threadType",in:"path",description:"Choose message type",required:!0,"x-ms-summary":"Thread type",type:"string",enum:["groupchat","channel"],"x-ms-enum-values":[{displayName:"Group chat",value:"groupchat"},{displayName:"Channel",value:"channel"}]}},"x-ms-capabilities":{testConnection:{operationId:"GetTeamwork"}},"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://products.office.com/microsoft-teams/group-chat-software"}],externalDocs:{url:"https://docs.microsoft.com/connectors/teams"},basePath:"/apim/teams"},wadlUrl:"https://pafeblobprodcy.blob.core.windows.net/apiwadls-8a9c61c1-3265-44ed-b868-d6c935daa839/shared%3A2Dteams?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A22Z&se=2025-07-03T09%3A05%3A22Z&sr=c&sp=rl&scid=a38fa378-e458-4428-8ed0-c7c1444f60b7&sig=9rb%2FSwv4%2FkJItJ%2FWBY2woAMb%2B%2B5qOTTZkOpxFi19jes%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/teams"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/teams",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/teams",metadata:{source:"marketplace",brandColor:"",useNewApimVersion:"true",version:{previous:"v1.0.1754\\1.0.1754.4231",current:"v1.0.1757\\1.0.1757.4256"}},capabilities:["actions","triggers"],interfaces:{},description:"Microsoft Teams enables you to get all your content, tools and conversations in the Team workspace with Microsoft 365.",createdTime:"2017-05-10T16:50:33.2827685Z",changedTime:"2025-06-24T16:00:35.9360213Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},S=X;var ee={name:"shared_translatorv2",id:"/providers/Microsoft.PowerApps/apis/shared_translatorv2",type:"Microsoft.PowerApps/apis",properties:{displayName:"Microsoft Translator V2",iconUri:"REDACTED_URL",iconBrandColor:"#1267AE",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{userProvidedKey:{type:"securestring",uiDefinition:{displayName:"Subscription Key",description:"Specify your subscription key for Microsoft Translator Text API, or leave it blank to use an internal shared key. If empty, your API calls will be throttled based on a fixed internal limit.",tooltip:"Specify your subscription key for Microsoft Translator Text API. If empty, your API calls will be throttled based on a fixed internal limit.",constraints:{required:"false"}}}},swagger:{swagger:"2.0",info:{version:"2.0",title:"Microsoft Translator V2",description:"Microsoft Translator lets you translate text across multiple languages.","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/translatorv2",schemes:["https"],paths:{"/{connectionId}/Languages":{get:{tags:["MicrosoftTranslator"],summary:"Get languages",description:"Retrieves all languages that Microsoft Translator supports for translation, transliteration or dictionary scopes",operationId:"Languages",consumes:[],produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"scope",in:"query",description:"The scope of supported languages: translation, transliteration or dictionary",required:!1,"x-ms-summary":"Scope","x-ms-visibility":"internal",type:"string",default:"translation"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/Language"}}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/Translate":{post:{tags:["MicrosoftTranslator"],summary:"Translate text",description:"Translates text to a specified language using Microsoft Translator.",operationId:"Translate",consumes:["application/json"],produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"to",in:"query",description:"The target language code (example: 'fr').",required:!0,"x-ms-summary":"Target Language","x-ms-dynamic-values":{operationId:"Languages","value-path":"Code","value-title":"Name"},type:"string","x-ms-test-value":"en"},{name:"from",in:"query",description:"The source language (if not provided, Microsoft Translator will try to auto-detect) (example: en).",required:!1,"x-ms-summary":"Source Language","x-ms-visibility":"advanced","x-ms-dynamic-values":{operationId:"Languages","value-path":"Code","value-title":"Name"},type:"string"},{name:"category",in:"query",description:"The translation category (default: 'general').",required:!1,"x-ms-summary":"Category","x-ms-visibility":"advanced",type:"string"},{name:"textType",in:"query",description:"The text type (default: 'plain').",required:!1,"x-ms-summary":"Text Type","x-ms-visibility":"advanced",type:"string",enum:["plain","html"]},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/TextBody"}}],responses:{200:{description:"OK",schema:{type:"string","x-ms-summary":"Translated Text"}}},deprecated:!1,"x-ms-visibility":"important",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/Detect":{post:{tags:["MicrosoftTranslator"],summary:"Detect language",description:"Detects the source language of the given text.",operationId:"Detect",consumes:["application/json"],produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/TextBody"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Language"}}},deprecated:!1,"x-ms-visibility":"important",externalDocs:{url:"REDACTED_URL"}}}},definitions:{TextBody:{description:"Body containing text to translate or detect",type:"object",required:["Text"],properties:{Text:{description:"Text to translate or detect",type:"string","x-ms-summary":"Text","x-ms-visibility":"important"}},"x-ms-test-value":{Text:"Hola"}},Language:{description:"Language Model for Microsoft Translator translatable languages",type:"object",properties:{Code:{description:"Gets or sets the language code.",type:"string","x-ms-summary":"Language Code"},Name:{description:"Gets or sets the language name.",type:"string","x-ms-summary":"Language Name"}}}},"x-ms-capabilities":{testConnection:{operationId:"Languages",parameters:{scope:"translation"}}},"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"REDACTED_URL"}],externalDocs:{url:"REDACTED_URL"}},wadlUrl:"REDACTED_URL",runtimeUrls:["REDACTED_URL"],primaryRuntimeUrl:"REDACTED_URL",doNotUseApiHubNetRuntimeUrl:"REDACTED_URL",metadata:{source:"marketplace",brandColor:"#1267AE",allowSharing:!0,connectionLimits:{"*":2},useNewApimVersion:"true",version:{previous:"v1.0.1752\\1.0.1752.4216",current:"v1.0.1752\\1.0.1752.4216"}},capabilities:["actions"],interfaces:{},description:"Microsoft Translator lets you translate text across multiple languages.",createdTime:"2019-04-08T17:34:13.0155781Z",changedTime:"2025-06-03T20:24:29.4772357Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},R=ee;var l={shared_office365users:m,shared_excelonlinebusiness:v,shared_commondataserviceforapps:b,office365groups:q,kusto:T,teams:S,msnweather:I,onedriveforbusiness:w,translatorv2:R,powerappsforappmakers:D,sharepointonline:P},te={testlist:C},ie={contact:x};function A(e){return ie[e.toLowerCase()]}function N(e){return te[e.toLowerCase()]}function F(e){let t=e.toLowerCase();return l[t]??l[`shared_${t}`]??l[t.replace(/^shared_/,"")]}function M(e){return{id:`/providers/Microsoft.BusinessAppPlatform/environments/${e}`,name:e,properties:{displayName:"E2E Mock Environment",linkedEnvironmentMetadata:{instanceApiUrl:"https://mockorg.crm.dynamics.com",instanceUrl:"https://mockorg.crm.dynamics.com/",friendlyName:"E2E Mock",uniqueName:"mockorg"}}}}function j(e,t){return{id:`/providers/Microsoft.PowerApps/apis/${e}/connections/${t}`,name:t,type:"Microsoft.PowerApps/apis/connections",properties:{displayName:"E2E Mock Connection",status:[{status:"Connected"}],apiId:`/providers/Microsoft.PowerApps/apis/${e}`}}}function n(e,t){return e.toLowerCase().includes(t.toLowerCase())}function s(e){let t=e.indexOf("?"),i=t===-1?e:e.slice(0,t);try{return new URL(i).pathname}catch{return i}}function se(e){let i=decodeURIComponent(e).match(/name eq '([^']+)'|environment eq '([^']+)'/i);return i?.[1]??i?.[2]??"mock-environment"}var O=[{name:"powerapps.listApps",match:e=>e.method==="GET"&&/\/powerapps\/apps(\?|$)/i.test(e.url),respond:()=>({data:{value:[]}})},{name:"appframework.listApps",match:e=>e.method==="GET"&&n(e.url,"/appframework/apps"),respond:()=>({data:{value:[]}})},{name:"powerapps.environment",match:e=>e.method==="GET"&&n(s(e.url),"/powerapps/environment"),respond:e=>({data:M(se(e.url))})},{name:"governance.connectorDataPolicy",match:e=>e.method==="GET"&&n(e.url,"connectorDataPolicy"),respond:()=>({data:{value:[]}})},{name:"governance.userRoutingEnvironment",match:e=>e.method==="GET"&&n(s(e.url),"/governance/userRoutingEnvironment"),respond:()=>({status:200,data:{environmentFound:!0,operationSuccess:!0,environment:{name:"86297537-2957-edd3-89bc-5fbdfa2831eb"}}})},{name:"dataverse.entityAttributesOptionSet",match:e=>e.method==="GET"&&/\/EntityDefinitions\(LogicalName='[^']+'\)\/Attributes\//i.test(s(e.url)),respond:()=>({data:{value:[]}})},{name:"dataverse.entityDefinition",match:e=>e.method==="GET"&&/\/EntityDefinitions\(LogicalName='[^']+'\)/i.test(s(e.url)),respond:e=>{let t=decodeURIComponent(s(e.url).match(/EntityDefinitions\(LogicalName='([^']+)'\)/i)?.[1]??""),i=A(t);return i?{data:i}:{status:404,data:{error:{code:"EntityNotFound",message:`No fixture for entity '${t}'.`}}}}},{name:"connectivity.userConsent",match:e=>e.method==="POST"&&n(s(e.url),"/userConsent"),respond:()=>({status:200,data:{}})},{name:"apim.tableMetadata",match:e=>e.method==="GET"&&n(e.url,"/$metadata.json/datasets/")&&/\/(tables|procedures)\/[^/]+$/i.test(s(e.url)),respond:e=>{let t=s(e.url),i=decodeURIComponent(t.match(/\/(?:tables|procedures)\/([^/]+)$/i)?.[1]??""),r=N(i);return r?{data:r}:{status:404,data:{error:{code:"TableNotFound",message:`No fixture for table '${i}'.`}}}}},{name:"apim.listDatasetsOrTables",match:e=>{let t=s(e.url);return e.method==="GET"&&(/\/datasets$/i.test(t)||/\/datasets\/[^/]+\/(allTables|tables|procedures)$/i.test(t))},respond:()=>({data:{value:[]}})},{name:"connectivity.getConnection",match:e=>{let t=s(e.url);return e.method==="GET"&&/\/connectivity\/connectors\/[^/]+\/connections\/[^/]+$/i.test(t)},respond:e=>{let i=s(e.url).match(/\/connectivity\/connectors\/([^/]+)\/connections\/([^/]+)$/i);return{data:j(i?.[1]??"unknown",i?.[2]??"unknown")}}},{name:"connectivity.listConnections",match:e=>{let t=s(e.url);return e.method==="GET"&&/\/connectivity\/connectors\/[^/]+\/connections$/i.test(t)},respond:()=>({data:{value:[]}})},{name:"connectivity.getConnector",match:e=>{let t=s(e.url);return e.method==="GET"&&/\/connectivity\/connectors\/[^/]+$/i.test(t)},respond:e=>{let i=s(e.url).match(/\/connectivity\/connectors\/([^/]+)$/i)?.[1]??"",r=F(decodeURIComponent(i));return r?{data:r}:{status:404,data:{error:{code:"ConnectorNotFound",message:`No fixture for '${i}'.`}}}}},{name:"connectivity.listConnectors",match:e=>{let t=s(e.url);return e.method==="GET"&&/\/connectivity\/connectors$/i.test(t)},respond:()=>({data:{value:[]}})},{name:"appframework.locateApp",match:e=>e.method==="POST"&&/\/appframework\/apps\/[^/]+\/locate$/i.test(s(e.url)),respond:e=>({status:200,data:{tenantId:"00000000-0000-0000-0000-000000000001",environmentName:"86297537-2957-edd3-89bc-5fbdfa2831eb",geo:"unitedstates",appName:decodeURIComponent(s(e.url).match(/\/appframework\/apps\/([^/]+)\/locate$/i)?.[1]??"Test App"),repositoryId:"99999999-8888-7777-6666-555555555555"}})},{name:"appframework.deleteApp",match:e=>e.method==="DELETE"&&/\/appframework\/apps\/[^/]+$/i.test(s(e.url)),respond:()=>({status:200,data:{}})},{name:"appframework.createApp",match:e=>e.method==="POST"&&/\/appframework\/apps$/i.test(s(e.url)),respond:e=>{let t=e.body??{},i=t.environmentId??"86297537-2957-edd3-89bc-5fbdfa2831eb";return{status:201,data:{id:"11111111-2222-3333-4444-555555555555",name:"11111111-2222-3333-4444-555555555555",location:"unitedstates",displayName:t.displayName??"Test App",environmentId:i,repositoryId:"99999999-8888-7777-6666-555555555555",description:t.description??""}}}}];var E=f("MOCK_BACKEND_VERBOSE"),L=h("MOCK_BACKEND_LOG")?.trim();function k(e){if(E&&process.stderr.write(`[mock-http] ${e}
7
+ import{i as c}from"./chunk-LDP2SHPJ.js";import"./chunk-7PH2NK5K.js";import{b as h,c as f}from"./chunk-Y7TZZLPW.js";import"./chunk-Y5AMO72S.js";import"./chunk-UT667QSU.js";import{randomUUID as U}from"crypto";import{appendFileSync as re}from"fs";var $={name:"shared_office365users",id:"/providers/Microsoft.PowerApps/apis/shared_office365users",type:"Microsoft.PowerApps/apis",properties:{displayName:"Office 365 Users",iconUri:"REDACTED",iconBrandColor:"#eb3c00",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{Token:{type:"oauthSetting",oAuthSettings:{identityProvider:"office365usercertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED"},loginUri:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}},uiDefinition:{displayName:"Log in with Office 365 Credentials",description:"Log in with Office 365 Credentials",tooltip:"Provide Office 365 Credentials",constraints:{required:"true"}}},"Token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}}},swagger:{swagger:"2.0",info:{version:"1.0",title:"Office 365 Users",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.","x-ms-api-annotation":{status:"Production"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/office365users",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/codeless/v1.0/me":{patch:{summary:"Update my profile",description:"Updates the profile of the current user",operationId:"UpdateMyProfile",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",required:!1,schema:{$ref:"#/definitions/GraphUserUpdateable_V1"}}],responses:{default:{description:"default"}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"REDACTED"}},get:{summary:"Get my profile (V2)",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",operationId:"MyProfile_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"MyProfile",revision:2},responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v2)"}}},"/{connectionId}/codeless/v1.0/me/photo/$value":{put:{summary:"Update my profile photo",description:"Updates the profile photo of the current user. The size of the photo must be less than 4 MB.",operationId:"UpdateMyPhoto",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",schema:{type:"string",format:"binary"},required:!0,description:"Image content","x-ms-summary":"Image content"},{name:"Content-Type",in:"header",type:"string",default:"image/jpeg",required:!0,description:"Image content type (like 'image/jpeg')","x-ms-summary":"Content-Type","x-ms-visibility":"advanced"}],responses:{default:{description:"default"}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#update-my-profile-photo"}}},"/{connectionId}/codeless/beta/me/insights/trending":{get:{summary:"Get my trending documents",description:"Retrieves the trending documents for the signed in user",operationId:"MyTrendingDocuments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"$filter",in:"query",required:!1,type:"string",description:"An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType","x-ms-summary":"Filter query"},{name:"extractSensitivityLabel",in:"query",description:'Select if you want to extract Sensitivity label ( "false", "true").',required:!1,"x-ms-summary":"Extract Sensitivity Label",type:"string",default:"false",enum:["false","true"]},{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata",type:"string",default:"false",enum:["false","true"]}],responses:{200:{description:"200",schema:{description:"List of trending documents",type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/GraphTrending"},description:"value","x-ms-summary":"value"}}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-trending-documents"}}},"/{connectionId}/users/{userId}/relevantpeople":{get:{tags:["People"],summary:"Get relevant people",description:"Get relevant people.",operationId:"RelevantPeople",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/LinklessEntityListResponse[List[Person]]"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-relevant-people"}}},"/{connectionId}/users/me":{get:{tags:["Users"],summary:"Get my profile (V1)",description:"Retrieves the profile of the current user.",operationId:"MyProfile",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"MyProfile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v1)-%5bdeprecated%5d"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/users/{userId}":{get:{tags:["Users"],summary:"Get user profile (V1)",description:"Retrieves the profile of a specific user.",operationId:"UserProfile",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"UserProfile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/photo":{get:{tags:["Users"],summary:"Get user photo metadata",description:"Get user photo metadata.",operationId:"UserPhotoMetadata",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"query",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ClientPhotoMetadata"}},default:{description:"Operation Failed."}},deprecated:!1,externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-metadata"}}},"/{connectionId}/users/photo/value":{get:{tags:["Users"],summary:"Get user photo (V1)",description:"Retrieves the photo of the specified user if they have one.",operationId:"UserPhoto",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"query",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{format:"binary",type:"string","x-ms-media-kind":"image","x-ms-summary":"Image file content"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"UserPhoto",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/{userId}/manager":{get:{tags:["Users"],summary:"Get manager (V1)",description:"Retrieves the profile of the specified user's manager.",operationId:"Manager",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"Manager",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-manager-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/{userId}/directReports":{get:{tags:["Users"],summary:"Get direct reports (V1)",description:"Retrieves the user profiles of the specified user's direct reports.",operationId:"DirectReports",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{type:"array",items:{$ref:"#/definitions/User"}}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"DirectReports",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users":{get:{tags:["Users"],summary:"Search for users",description:"Retrieves the user profiles that match the search term.",operationId:"SearchUser",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"searchTerm",in:"query",description:"Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",required:!1,"x-ms-summary":"Search term",type:"string"},{name:"top",in:"query",description:"Limit on the number of results to return. By default returns all entries.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32",default:0}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{type:"array",items:{$ref:"#/definitions/User"}}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"SearchUser",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#search-for-users-%5bdeprecated%5d"}}},"/{connectionId}/v2/users":{get:{tags:["Users"],summary:"Search for users (V2)",description:"Retrieves the user profiles that match the search term (V2).",operationId:"SearchUserV2",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"searchTerm",in:"query",description:"Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",required:!1,"x-ms-summary":"Search term",type:"string"},{name:"top",in:"query",description:"Limit on the number of results to return. Minimum value is 1. Default value is 1000.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"isSearchTermRequired",in:"query",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.",required:!1,"x-ms-summary":"Is search term required","x-ms-visibility":"advanced",type:"boolean",default:!0},{name:"skipToken",in:"query",description:"Skip token to get next users.",required:!1,"x-ms-summary":"Skip token","x-ms-visibility":"internal",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/EntityListResponse[IReadOnlyList[User]]"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-api-annotation":{status:"Production",family:"SearchUser",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#search-for-users-(v2)"}}},"/{connectionId}/testconnection":{get:{tags:["Users"],summary:"Tests the connection",description:"Tests the connection.",operationId:"TestConnection",consumes:[],produces:[],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"internal",externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#tests-the-connection"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/codeless/v1.0/users/{id}":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},summary:"Get user profile (V2)",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",operationId:"UserProfile_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"UserProfile",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/manager":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},summary:"Get manager (V2)",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",operationId:"Manager_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"Manager",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-manager-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/directReports":{get:{responses:{200:{description:"OK",schema:{description:"List of direct reports",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/GraphUser_V1"}}}}}},summary:"Get direct reports (V2)",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",operationId:"DirectReports_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"},{name:"$top",in:"query",description:"Limit on the number of results to return. By default returns all entries.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"DirectReports",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/photo/$value":{get:{summary:"Get user photo (V2)",description:"Retrieves the photo of the specified user if they have one",operationId:"UserPhoto_V2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"}],responses:{200:{description:"OK",schema:{format:"binary",type:"string","x-ms-media-kind":"image","x-ms-summary":"Image file content"}}},deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"UserPhoto",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v2)"}}},"/{connectionId}/codeless/beta/users/{id}/insights/trending":{get:{summary:"Get trending documents",description:"Retrieves the trending documents for a user",operationId:"TrendingDocuments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$filter",in:"query",required:!1,type:"string",description:"An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType","x-ms-summary":"Filter query"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"}],responses:{200:{description:"200",schema:{description:"List of trending documents",type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/GraphTrending"},description:"value","x-ms-summary":"value"}}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-trending-documents"}}},"/{connectionId}/codeless/httprequest":{post:{summary:"Send an HTTP request",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.",operationId:"HttpRequest",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET).",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content.",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json).",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#send-an-http-request"}}}},definitions:{GraphUserUpdateable_V1:{description:"Updateable parts of user from Graph API",type:"object",properties:{aboutMe:{type:"string",description:"About Me","x-ms-summary":"About Me"},birthday:{type:"string",format:"date-time",description:"Birthday","x-ms-summary":"Birthday"},interests:{type:"array",items:{type:"string"},description:"Interests","x-ms-summary":"Interests"},mySite:{type:"string",description:"My Site","x-ms-summary":"My Site"},pastProjects:{type:"array",items:{type:"string"},description:"Past Projects","x-ms-summary":"Past Projects"},schools:{type:"array",items:{type:"string"},description:"Schools","x-ms-summary":"Schools"},skills:{type:"array",items:{type:"string"},description:"Skills","x-ms-summary":"Skills"}}},GraphTrending:{description:"Trending documents from Graph API",type:"object",properties:{id:{type:"string",description:"Unique identifier of the relationship","x-ms-summary":"Id"},weight:{type:"number",format:"float",description:"Value indicating how much the document is currently trending","x-ms-summary":"Weight"},resourceVisualization:{$ref:"#/definitions/resourceVisualization"},resourceReference:{$ref:"#/definitions/resourceReference"}}},resourceVisualization:{type:"object",properties:{title:{type:"string",description:"The item's title text","x-ms-summary":"Title"},type:{type:"string",description:"The item's media type (can be used for filtering for a specific file based on a specific type)","x-ms-summary":"Type"},mediaType:{type:"string",description:"The items media type (can be used for filtering for a specific type of file based on supported IANA Media MIME types)","x-ms-summary":"Media type"},previewImageUrl:{type:"string",description:"A URL leading to the preview image for the item","x-ms-summary":"Preview image URL"},previewText:{type:"string",description:"A preview text for the item","x-ms-summary":"Preview text"},containerWebUrl:{type:"string",description:"A path leading to the folder in which the item is stored","x-ms-summary":"Container web URL"},containerDisplayName:{type:"string",description:"A string describing where the item is stored","x-ms-summary":"Container display name"},containerType:{type:"string",description:"Can be used for filtering by the type of container in which the file is stored","x-ms-summary":"Container type"}},description:"resourceVisualization","x-ms-summary":"Resource visualization"},resourceReference:{type:"object",properties:{webUrl:{type:"string",description:"A URL leading to the referenced item","x-ms-summary":"Web URL"},id:{type:"string",description:"The item's unique identifier","x-ms-summary":"Id"},type:{type:"string",description:'A string value that can be used to classify the item, such as "microsoft.graph.driveItem"',"x-ms-summary":"Type"}},description:"resourceReference","x-ms-summary":"Resource reference"},"LinklessEntityListResponse[List[Person]]":{description:"Represents a list from the Graph API",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/Person"}}}},Person:{description:"Represents a Person",type:"object",properties:{id:{description:"A unique identifier for the Person object in the directory",type:"string","x-ms-summary":"Person id"},displayName:{description:"The person's display name",type:"string","x-ms-summary":"Display name"},givenName:{description:"The person's given name",type:"string","x-ms-summary":"Given name"},surname:{description:"The person's surname",type:"string","x-ms-summary":"Surname"},birthday:{description:"The person's birthday",type:"string","x-ms-summary":"Birthday"},personNotes:{description:"Free-form notes that the current user has taken about this person",type:"string","x-ms-summary":"Person Notes"},isFavorite:{description:"If the current user has flagged this person as a favorite",type:"boolean","x-ms-summary":"Is Favorite?"},jobTitle:{description:"The person's job title",type:"string","x-ms-summary":"Job title"},companyName:{description:"The name of the person's company",type:"string","x-ms-summary":"Company name"},department:{description:"The person's department",type:"string","x-ms-summary":"Department"},officeLocation:{description:"The location of the person's office",type:"string","x-ms-summary":"Office location"},profession:{description:"The person's profession",type:"string","x-ms-summary":"Profession"},userPrincipalName:{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.",type:"string","x-ms-summary":"User Principal Name (UPN)"},imAddress:{description:"The person's VOIP SIP address",type:"string","x-ms-summary":"IM Address"},scoredEmailAddresses:{description:"Collection of the person's email addresses with a relevance score",type:"array",items:{$ref:"#/definitions/ScoredEmailAddress"},"x-ms-summary":"Scored Email Addresses"},phones:{description:"The person's phone numbers",type:"array",items:{$ref:"#/definitions/Phone"},"x-ms-summary":"Phones"}}},ScoredEmailAddress:{description:"Represents a scored email address",type:"object",properties:{address:{description:"The email address",type:"string","x-ms-summary":"Email Address"},relevanceScore:{format:"double",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.",type:"number","x-ms-summary":"Relevance Score"}}},Phone:{description:"Represents a phone number",type:"object",properties:{number:{description:"The phone number",type:"string","x-ms-summary":"Phone Number"},type:{description:"The type of phone number. Possible values: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio.",type:"string","x-ms-summary":"Phone Type"}}},User:{description:"Represents a User object in the directory",required:["Id"],type:"object",properties:{Id:{description:"A unique identifier for the user object in the directory.",type:"string","x-ms-summary":"User id"},AccountEnabled:{description:"true if the account is enabled; otherwise, false. This property is required when a user is created.",type:"boolean","x-ms-summary":"Account enabled?"},BusinessPhones:{description:"A list of business phone numbers for the user",type:"array",items:{type:"string"},readOnly:!0,"x-ms-summary":"Business phones"},City:{description:"The city in which the user is located.",type:"string","x-ms-summary":"City"},CompanyName:{description:"The name of the company in which the user works.",type:"string","x-ms-summary":"Company name"},Country:{description:'The country/region in which the user is located; for example, "US" or "UK".',type:"string","x-ms-summary":"Country"},Department:{description:"The name of the department in which the user works.",type:"string","x-ms-summary":"Department"},DisplayName:{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.",type:"string","x-ms-summary":"Display name"},GivenName:{description:"The given name (first name) of the user.",type:"string","x-ms-summary":"Given name"},JobTitle:{description:"The user\u2019s job title.",type:"string","x-ms-summary":"Job title"},Mail:{description:'The SMTP/email address for the user, for example, "jeff@contoso.onmicrosoft.com". Read-Only.',type:"string","x-ms-summary":"Email"},MailNickname:{description:"The mail alias for the user. This property must be specified when a user is created.",type:"string","x-ms-summary":"Nickname"},mobilePhone:{description:"The primary cellular telephone number for the user.",type:"string","x-ms-visibility":"internal"},OfficeLocation:{description:"The office location in the user's place of business.",type:"string","x-ms-summary":"Office location"},PostalCode:{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.",type:"string","x-ms-summary":"Postal code"},Surname:{description:"The user's surname (family name or last name).",type:"string","x-ms-summary":"Surname"},TelephoneNumber:{description:"The primary cellular telephone number for the user.",type:"string","x-ms-summary":"Telephone number"},UserPrincipalName:{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\u2019s email name. The general format is alias@domain, where domain must be present in the tenant\u2019s collection of verified domains.",type:"string","x-ms-summary":"User Principal Name (UPN)"}}},ClientPhotoMetadata:{description:"Photo Metadata class",type:"object",properties:{HasPhoto:{description:"Has photo",type:"boolean","x-ms-summary":"Has photo"},Height:{format:"int32",description:"Height of photo",type:"integer","x-ms-summary":"Height"},Width:{format:"int32",description:"Width of photo",type:"integer","x-ms-summary":"Width"},ContentType:{description:"Content Type of photo",type:"string","x-ms-summary":"ContentType"},ImageFileExtension:{description:'File extension for the photo (ex: ".jpg")',type:"string",readOnly:!0,"x-ms-summary":"Image File Extension"}}},Object:{type:"object",properties:{}},"EntityListResponse[IReadOnlyList[User]]":{description:"Class representing entity list response from an Office API.",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/User"}},"@odata.nextLink":{description:"Next page link",type:"string"}}},GraphUser_V1:{description:"User from Graph API",type:"object",properties:{aboutMe:{description:"About Me",type:"string","x-ms-summary":"About Me"},accountEnabled:{description:"true if the account is enabled; otherwise, false. This property is required when a user is created.",type:"boolean","x-ms-summary":"Account enabled?"},birthday:{description:"Birthday",type:"string",format:"date-time","x-ms-summary":"Birthday"},businessPhones:{description:"Business Phones",type:"array",items:{type:"string"},"x-ms-summary":"Business Phones"},city:{description:"The city in which the user is located.",type:"string","x-ms-summary":"City"},companyName:{description:"The name of the company in which the user works.",type:"string","x-ms-summary":"Company name"},country:{description:'The country/region in which the user is located; for example, "US" or "UK".',type:"string","x-ms-summary":"Country"},department:{description:"The name of the department in which the user works.",type:"string","x-ms-summary":"Department"},displayName:{description:"Display Name",type:"string","x-ms-summary":"Display Name"},givenName:{description:"Given Name",type:"string","x-ms-summary":"Given Name"},hireDate:{type:"string",format:"date-time",description:"Hire Date","x-ms-summary":"Hire Date"},id:{description:"Id",type:"string","x-ms-summary":"Id"},interests:{type:"array",items:{type:"string"},description:"Interests","x-ms-summary":"Interests"},jobTitle:{description:"Job Title",type:"string","x-ms-summary":"Job Title"},mail:{description:"Mail",type:"string","x-ms-summary":"Mail"},mailNickname:{description:"The mail alias for the user. This property must be specified when a user is created.",type:"string","x-ms-summary":"Nickname"},mobilePhone:{description:"Mobile Phone",type:"string","x-ms-summary":"Mobile Phone"},mySite:{type:"string",description:"My Site","x-ms-summary":"My Site"},officeLocation:{description:"Office Location",type:"string","x-ms-summary":"Office Location"},pastProjects:{type:"array",items:{type:"string"},description:"Past Projects","x-ms-summary":"Past Projects"},postalCode:{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.",type:"string","x-ms-summary":"Postal code"},preferredLanguage:{description:"Preferred Language",type:"string","x-ms-summary":"Preferred Language"},preferredName:{type:"string",description:"Preferred Name","x-ms-summary":"Preferred Name"},responsibilities:{type:"array",items:{type:"string"},description:"Responsibilities","x-ms-summary":"Responsibilities"},schools:{type:"array",items:{type:"string"},description:"Schools","x-ms-summary":"Schools"},skills:{type:"array",items:{type:"string"},description:"Skills","x-ms-summary":"Skills"},state:{type:"string",description:"State","x-ms-summary":"State"},streetAddress:{type:"string",description:"Street Address","x-ms-summary":"Street Address"},surname:{description:"Surname",type:"string","x-ms-summary":"Surname"},userPrincipalName:{description:"User Principal Name",type:"string","x-ms-summary":"User Principal Name"},userType:{type:"string",description:"User Type","x-ms-summary":"User Type"}}},ObjectWithoutType:{}},securityDefinitions:{oauth2_auth:{type:"oauth2",flow:"accessCode",authorizationUrl:"https://login.windows.net/common/oauth2/authorize",tokenUrl:"https://login.windows.net/common/oauth2/authorize",scopes:{"Sites.Read.All User.ReadBasic.All User.ReadWrite":"Sites.Read.All User.ReadBasic.All User.ReadWrite"}}},security:[{oauth2_auth:["Sites.Read.All User.ReadBasic.All User.ReadWrite"]}],tags:[],"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://www.office.com/"}],"x-ms-capabilities":{testConnection:{operationId:"TestConnection",parameters:{}}},parameters:{extractSensitivityLabel:{name:"extractSensitivityLabel",in:"query",description:'Select if you want to extract Sensitivity label ( "false", "true").',required:!1,"x-ms-summary":"Extract Sensitivity Label",type:"string",default:"false",enum:["false","true"]},fetchSensitivityLabelMetadata:{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata",type:"string",default:"false",enum:["false","true"]}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users"}},wadlUrl:"https://pafeblobprodcy.blob.core.windows.net/apiwadls-983f0a2f-70b4-4055-93ae-d5a6659c9cc7/shared%3A2Doffice365users?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A09Z&se=2025-07-03T09%3A05%3A09Z&sr=c&sp=rl&scid=88b17a3b-17f4-4086-8294-a4e81fbae2bd&sig=M9luk4QeqW%2F7MqFciTD3MatAadIkZ35GMc8FnvMKirE%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users",metadata:{source:"marketplace",brandColor:"#eb3c00",useNewApimVersion:"true",version:{previous:"v1.0.1751\\1.0.1751.4212",current:"v1.0.1751\\1.0.1751.4213"}},capabilities:["actions"],interfaces:{},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.",createdTime:"2016-10-13T00:29:38.7281213Z",changedTime:"2025-05-03T00:30:22.5108959Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:["Read your full user profile","Read the full profile of all users"],wont:["Modify or delete any user-profile information"]},rateLimit:0,apiVersion:"None"}},m=$;var g=m,G=g.properties??{},V={...g,name:"shared_commondataserviceforapps",id:"/providers/Microsoft.PowerApps/apis/shared_commondataserviceforapps",type:"Microsoft.PowerApps/apis",properties:{...G,displayName:"Microsoft Dataverse (legacy)",connectionParameters:{},connectionParameterSets:void 0,metadata:{allowSharing:!1}}},b=V;var H={MetadataId:"11111111-1111-1111-1111-111111111111",LogicalName:"contact",EntitySetName:"contacts",PrimaryIdAttribute:"contactid",PrimaryNameAttribute:"fullname",DisplayName:{UserLocalizedLabel:{Label:"Contact"}},DisplayCollectionName:{UserLocalizedLabel:{Label:"Contacts"}},Attributes:[{LogicalName:"contactid",SchemaName:"ContactId",AttributeTypeName:{Value:"Uniqueidentifier"},DisplayName:{UserLocalizedLabel:{Label:"Contact"}},IsPrimaryId:!0,IsValidForCreate:!1,IsValidForUpdate:!1,RequiredLevel:{Value:"SystemRequired"}},{LogicalName:"fullname",SchemaName:"FullName",AttributeTypeName:{Value:"String"},DisplayName:{UserLocalizedLabel:{Label:"Full Name"}},IsPrimaryName:!0,MaxLength:160},{LogicalName:"emailaddress1",SchemaName:"EMailAddress1",AttributeTypeName:{Value:"String"},DisplayName:{UserLocalizedLabel:{Label:"Email"}},MaxLength:100},{LogicalName:"createdon",SchemaName:"CreatedOn",AttributeTypeName:{Value:"DateTime"},DisplayName:{UserLocalizedLabel:{Label:"Created On"}},IsValidForCreate:!1,IsValidForUpdate:!1}],ManyToOneRelationships:[],OneToManyRelationships:[],ManyToManyRelationships:[]},x=H;var B={name:"shared_excelonlinebusiness",id:"/providers/Microsoft.PowerApps/apis/shared_excelonlinebusiness",type:"Microsoft.PowerApps/apis",properties:{displayName:"Excel Online Business",iconUri:"REDACTED",iconBrandColor:"#eb3c00",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{Token:{type:"oauthSetting",oAuthSettings:{identityProvider:"office365usercertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED"},loginUri:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}},uiDefinition:{displayName:"Log in with Office 365 Credentials",description:"Log in with Office 365 Credentials",tooltip:"Provide Office 365 Credentials",constraints:{required:"true"}}},"Token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}}},swagger:{swagger:"2.0",info:{version:"1.0",title:"Office 365 Users",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.","x-ms-api-annotation":{status:"Production"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/office365users",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/codeless/v1.0/me":{patch:{summary:"Update my profile",description:"Updates the profile of the current user",operationId:"UpdateMyProfile",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",required:!1,schema:{$ref:"#/definitions/GraphUserUpdateable_V1"}}],responses:{default:{description:"default"}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"REDACTED"}},get:{summary:"Get my profile (V2)",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",operationId:"MyProfile_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"MyProfile",revision:2},responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v2)"}}},"/{connectionId}/codeless/v1.0/me/photo/$value":{put:{summary:"Update my profile photo",description:"Updates the profile photo of the current user. The size of the photo must be less than 4 MB.",operationId:"UpdateMyPhoto",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",schema:{type:"string",format:"binary"},required:!0,description:"Image content","x-ms-summary":"Image content"},{name:"Content-Type",in:"header",type:"string",default:"image/jpeg",required:!0,description:"Image content type (like 'image/jpeg')","x-ms-summary":"Content-Type","x-ms-visibility":"advanced"}],responses:{default:{description:"default"}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#update-my-profile-photo"}}},"/{connectionId}/codeless/beta/me/insights/trending":{get:{summary:"Get my trending documents",description:"Retrieves the trending documents for the signed in user",operationId:"MyTrendingDocuments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"$filter",in:"query",required:!1,type:"string",description:"An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType","x-ms-summary":"Filter query"},{name:"extractSensitivityLabel",in:"query",description:'Select if you want to extract Sensitivity label ( "false", "true").',required:!1,"x-ms-summary":"Extract Sensitivity Label",type:"string",default:"false",enum:["false","true"]},{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata",type:"string",default:"false",enum:["false","true"]}],responses:{200:{description:"200",schema:{description:"List of trending documents",type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/GraphTrending"},description:"value","x-ms-summary":"value"}}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-trending-documents"}}},"/{connectionId}/users/{userId}/relevantpeople":{get:{tags:["People"],summary:"Get relevant people",description:"Get relevant people.",operationId:"RelevantPeople",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/LinklessEntityListResponse[List[Person]]"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-relevant-people"}}},"/{connectionId}/users/me":{get:{tags:["Users"],summary:"Get my profile (V1)",description:"Retrieves the profile of the current user.",operationId:"MyProfile",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"MyProfile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-my-profile-(v1)-%5bdeprecated%5d"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/users/{userId}":{get:{tags:["Users"],summary:"Get user profile (V1)",description:"Retrieves the profile of a specific user.",operationId:"UserProfile",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"UserProfile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/photo":{get:{tags:["Users"],summary:"Get user photo metadata",description:"Get user photo metadata.",operationId:"UserPhotoMetadata",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"query",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ClientPhotoMetadata"}},default:{description:"Operation Failed."}},deprecated:!1,externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-metadata"}}},"/{connectionId}/users/photo/value":{get:{tags:["Users"],summary:"Get user photo (V1)",description:"Retrieves the photo of the specified user if they have one.",operationId:"UserPhoto",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"query",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{200:{description:"OK",schema:{format:"binary",type:"string","x-ms-media-kind":"image","x-ms-summary":"Image file content"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"UserPhoto",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/{userId}/manager":{get:{tags:["Users"],summary:"Get manager (V1)",description:"Retrieves the profile of the specified user's manager.",operationId:"Manager",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/User"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"Manager",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-manager-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users/{userId}/directReports":{get:{tags:["Users"],summary:"Get direct reports (V1)",description:"Retrieves the user profiles of the specified user's direct reports.",operationId:"DirectReports",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",description:"User principal name or id.",required:!0,"x-ms-summary":"User (UPN)",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{type:"array",items:{$ref:"#/definitions/User"}}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"DirectReports",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v1)-%5bdeprecated%5d"}}},"/{connectionId}/users":{get:{tags:["Users"],summary:"Search for users",description:"Retrieves the user profiles that match the search term.",operationId:"SearchUser",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"searchTerm",in:"query",description:"Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",required:!1,"x-ms-summary":"Search term",type:"string"},{name:"top",in:"query",description:"Limit on the number of results to return. By default returns all entries.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32",default:0}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{type:"array",items:{$ref:"#/definitions/User"}}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"SearchUser",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#search-for-users-%5bdeprecated%5d"}}},"/{connectionId}/v2/users":{get:{tags:["Users"],summary:"Search for users (V2)",description:"Retrieves the user profiles that match the search term (V2).",operationId:"SearchUserV2",consumes:[],produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"searchTerm",in:"query",description:"Search string (applies to: display name, given name, surname, mail, mail nickname and user principal name).",required:!1,"x-ms-summary":"Search term",type:"string"},{name:"top",in:"query",description:"Limit on the number of results to return. Minimum value is 1. Default value is 1000.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"isSearchTermRequired",in:"query",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.",required:!1,"x-ms-summary":"Is search term required","x-ms-visibility":"advanced",type:"boolean",default:!0},{name:"skipToken",in:"query",description:"Skip token to get next users.",required:!1,"x-ms-summary":"Skip token","x-ms-visibility":"internal",type:"string"}],responses:{202:{description:"Operation was successful"},200:{description:"Operation was successful",schema:{$ref:"#/definitions/EntityListResponse[IReadOnlyList[User]]"}},400:{description:"BadRequest"},401:{description:"Unauthorized"},403:{description:"Forbidden"},500:{description:"Internal Server Error"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-api-annotation":{status:"Production",family:"SearchUser",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#search-for-users-(v2)"}}},"/{connectionId}/testconnection":{get:{tags:["Users"],summary:"Tests the connection",description:"Tests the connection.",operationId:"TestConnection",consumes:[],produces:[],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"internal",externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#tests-the-connection"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/codeless/v1.0/users/{id}":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},summary:"Get user profile (V2)",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",operationId:"UserProfile_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"UserProfile",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-profile-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/manager":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/GraphUser_V1"}}},summary:"Get manager (V2)",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",operationId:"Manager_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"Manager",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-manager-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/directReports":{get:{responses:{200:{description:"OK",schema:{description:"List of direct reports",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/GraphUser_V1"}}}}}},summary:"Get direct reports (V2)",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",operationId:"DirectReports_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$select",in:"query",required:!1,type:"string",description:"Comma separated list of fields to select. Example: surname, department, jobTitle","x-ms-summary":"Select fields","x-ms-visibility":"advanced"},{name:"$top",in:"query",description:"Limit on the number of results to return. By default returns all entries.",required:!1,"x-ms-summary":"Top","x-ms-visibility":"advanced",type:"integer",format:"int32"}],deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"DirectReports",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-direct-reports-(v2)"}}},"/{connectionId}/codeless/v1.0/users/{id}/photo/$value":{get:{summary:"Get user photo (V2)",description:"Retrieves the photo of the specified user if they have one",operationId:"UserPhoto_V2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"}],responses:{200:{description:"OK",schema:{format:"binary",type:"string","x-ms-media-kind":"image","x-ms-summary":"Image file content"}}},deprecated:!1,"x-ms-api-annotation":{status:"Production",family:"UserPhoto",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-user-photo-(v2)"}}},"/{connectionId}/codeless/beta/users/{id}/insights/trending":{get:{summary:"Get trending documents",description:"Retrieves the trending documents for a user",operationId:"TrendingDocuments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string",description:"User principal name or id.","x-ms-summary":"User (UPN)"},{name:"$filter",in:"query",required:!1,type:"string",description:"An OData filter to filter the resources selected. Filter selected resources on ResourceVisualization/Type or ResourceVisualization/containerType","x-ms-summary":"Filter query"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"}],responses:{200:{description:"200",schema:{description:"List of trending documents",type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/GraphTrending"},description:"value","x-ms-summary":"value"}}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#get-trending-documents"}}},"/{connectionId}/codeless/httprequest":{post:{summary:"Send an HTTP request",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.",operationId:"HttpRequest",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET).",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content.",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json).",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users/#send-an-http-request"}}}},definitions:{GraphUserUpdateable_V1:{description:"Updateable parts of user from Graph API",type:"object",properties:{aboutMe:{type:"string",description:"About Me","x-ms-summary":"About Me"},birthday:{type:"string",format:"date-time",description:"Birthday","x-ms-summary":"Birthday"},interests:{type:"array",items:{type:"string"},description:"Interests","x-ms-summary":"Interests"},mySite:{type:"string",description:"My Site","x-ms-summary":"My Site"},pastProjects:{type:"array",items:{type:"string"},description:"Past Projects","x-ms-summary":"Past Projects"},schools:{type:"array",items:{type:"string"},description:"Schools","x-ms-summary":"Schools"},skills:{type:"array",items:{type:"string"},description:"Skills","x-ms-summary":"Skills"}}},GraphTrending:{description:"Trending documents from Graph API",type:"object",properties:{id:{type:"string",description:"Unique identifier of the relationship","x-ms-summary":"Id"},weight:{type:"number",format:"float",description:"Value indicating how much the document is currently trending","x-ms-summary":"Weight"},resourceVisualization:{$ref:"#/definitions/resourceVisualization"},resourceReference:{$ref:"#/definitions/resourceReference"}}},resourceVisualization:{type:"object",properties:{title:{type:"string",description:"The item's title text","x-ms-summary":"Title"},type:{type:"string",description:"The item's media type (can be used for filtering for a specific file based on a specific type)","x-ms-summary":"Type"},mediaType:{type:"string",description:"The items media type (can be used for filtering for a specific type of file based on supported IANA Media MIME types)","x-ms-summary":"Media type"},previewImageUrl:{type:"string",description:"A URL leading to the preview image for the item","x-ms-summary":"Preview image URL"},previewText:{type:"string",description:"A preview text for the item","x-ms-summary":"Preview text"},containerWebUrl:{type:"string",description:"A path leading to the folder in which the item is stored","x-ms-summary":"Container web URL"},containerDisplayName:{type:"string",description:"A string describing where the item is stored","x-ms-summary":"Container display name"},containerType:{type:"string",description:"Can be used for filtering by the type of container in which the file is stored","x-ms-summary":"Container type"}},description:"resourceVisualization","x-ms-summary":"Resource visualization"},resourceReference:{type:"object",properties:{webUrl:{type:"string",description:"A URL leading to the referenced item","x-ms-summary":"Web URL"},id:{type:"string",description:"The item's unique identifier","x-ms-summary":"Id"},type:{type:"string",description:'A string value that can be used to classify the item, such as "microsoft.graph.driveItem"',"x-ms-summary":"Type"}},description:"resourceReference","x-ms-summary":"Resource reference"},"LinklessEntityListResponse[List[Person]]":{description:"Represents a list from the Graph API",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/Person"}}}},Person:{description:"Represents a Person",type:"object",properties:{id:{description:"A unique identifier for the Person object in the directory",type:"string","x-ms-summary":"Person id"},displayName:{description:"The person's display name",type:"string","x-ms-summary":"Display name"},givenName:{description:"The person's given name",type:"string","x-ms-summary":"Given name"},surname:{description:"The person's surname",type:"string","x-ms-summary":"Surname"},birthday:{description:"The person's birthday",type:"string","x-ms-summary":"Birthday"},personNotes:{description:"Free-form notes that the current user has taken about this person",type:"string","x-ms-summary":"Person Notes"},isFavorite:{description:"If the current user has flagged this person as a favorite",type:"boolean","x-ms-summary":"Is Favorite?"},jobTitle:{description:"The person's job title",type:"string","x-ms-summary":"Job title"},companyName:{description:"The name of the person's company",type:"string","x-ms-summary":"Company name"},department:{description:"The person's department",type:"string","x-ms-summary":"Department"},officeLocation:{description:"The location of the person's office",type:"string","x-ms-summary":"Office location"},profession:{description:"The person's profession",type:"string","x-ms-summary":"Profession"},userPrincipalName:{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.",type:"string","x-ms-summary":"User Principal Name (UPN)"},imAddress:{description:"The person's VOIP SIP address",type:"string","x-ms-summary":"IM Address"},scoredEmailAddresses:{description:"Collection of the person's email addresses with a relevance score",type:"array",items:{$ref:"#/definitions/ScoredEmailAddress"},"x-ms-summary":"Scored Email Addresses"},phones:{description:"The person's phone numbers",type:"array",items:{$ref:"#/definitions/Phone"},"x-ms-summary":"Phones"}}},ScoredEmailAddress:{description:"Represents a scored email address",type:"object",properties:{address:{description:"The email address",type:"string","x-ms-summary":"Email Address"},relevanceScore:{format:"double",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.",type:"number","x-ms-summary":"Relevance Score"}}},Phone:{description:"Represents a phone number",type:"object",properties:{number:{description:"The phone number",type:"string","x-ms-summary":"Phone Number"},type:{description:"The type of phone number. Possible values: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio.",type:"string","x-ms-summary":"Phone Type"}}},User:{description:"Represents a User object in the directory",required:["Id"],type:"object",properties:{Id:{description:"A unique identifier for the user object in the directory.",type:"string","x-ms-summary":"User id"},AccountEnabled:{description:"true if the account is enabled; otherwise, false. This property is required when a user is created.",type:"boolean","x-ms-summary":"Account enabled?"},BusinessPhones:{description:"A list of business phone numbers for the user",type:"array",items:{type:"string"},readOnly:!0,"x-ms-summary":"Business phones"},City:{description:"The city in which the user is located.",type:"string","x-ms-summary":"City"},CompanyName:{description:"The name of the company in which the user works.",type:"string","x-ms-summary":"Company name"},Country:{description:'The country/region in which the user is located; for example, "US" or "UK".',type:"string","x-ms-summary":"Country"},Department:{description:"The name of the department in which the user works.",type:"string","x-ms-summary":"Department"},DisplayName:{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.",type:"string","x-ms-summary":"Display name"},GivenName:{description:"The given name (first name) of the user.",type:"string","x-ms-summary":"Given name"},JobTitle:{description:"The user\u2019s job title.",type:"string","x-ms-summary":"Job title"},Mail:{description:'The SMTP/email address for the user, for example, "jeff@contoso.onmicrosoft.com". Read-Only.',type:"string","x-ms-summary":"Email"},MailNickname:{description:"The mail alias for the user. This property must be specified when a user is created.",type:"string","x-ms-summary":"Nickname"},mobilePhone:{description:"The primary cellular telephone number for the user.",type:"string","x-ms-visibility":"internal"},OfficeLocation:{description:"The office location in the user's place of business.",type:"string","x-ms-summary":"Office location"},PostalCode:{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.",type:"string","x-ms-summary":"Postal code"},Surname:{description:"The user's surname (family name or last name).",type:"string","x-ms-summary":"Surname"},TelephoneNumber:{description:"The primary cellular telephone number for the user.",type:"string","x-ms-summary":"Telephone number"},UserPrincipalName:{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\u2019s email name. The general format is alias@domain, where domain must be present in the tenant\u2019s collection of verified domains.",type:"string","x-ms-summary":"User Principal Name (UPN)"}}},ClientPhotoMetadata:{description:"Photo Metadata class",type:"object",properties:{HasPhoto:{description:"Has photo",type:"boolean","x-ms-summary":"Has photo"},Height:{format:"int32",description:"Height of photo",type:"integer","x-ms-summary":"Height"},Width:{format:"int32",description:"Width of photo",type:"integer","x-ms-summary":"Width"},ContentType:{description:"Content Type of photo",type:"string","x-ms-summary":"ContentType"},ImageFileExtension:{description:'File extension for the photo (ex: ".jpg")',type:"string",readOnly:!0,"x-ms-summary":"Image File Extension"}}},Object:{type:"object",properties:{}},"EntityListResponse[IReadOnlyList[User]]":{description:"Class representing entity list response from an Office API.",type:"object",properties:{value:{description:"Value",type:"array",items:{$ref:"#/definitions/User"}},"@odata.nextLink":{description:"Next page link",type:"string"}}},GraphUser_V1:{description:"User from Graph API",type:"object",properties:{aboutMe:{description:"About Me",type:"string","x-ms-summary":"About Me"},accountEnabled:{description:"true if the account is enabled; otherwise, false. This property is required when a user is created.",type:"boolean","x-ms-summary":"Account enabled?"},birthday:{description:"Birthday",type:"string",format:"date-time","x-ms-summary":"Birthday"},businessPhones:{description:"Business Phones",type:"array",items:{type:"string"},"x-ms-summary":"Business Phones"},city:{description:"The city in which the user is located.",type:"string","x-ms-summary":"City"},companyName:{description:"The name of the company in which the user works.",type:"string","x-ms-summary":"Company name"},country:{description:'The country/region in which the user is located; for example, "US" or "UK".',type:"string","x-ms-summary":"Country"},department:{description:"The name of the department in which the user works.",type:"string","x-ms-summary":"Department"},displayName:{description:"Display Name",type:"string","x-ms-summary":"Display Name"},givenName:{description:"Given Name",type:"string","x-ms-summary":"Given Name"},hireDate:{type:"string",format:"date-time",description:"Hire Date","x-ms-summary":"Hire Date"},id:{description:"Id",type:"string","x-ms-summary":"Id"},interests:{type:"array",items:{type:"string"},description:"Interests","x-ms-summary":"Interests"},jobTitle:{description:"Job Title",type:"string","x-ms-summary":"Job Title"},mail:{description:"Mail",type:"string","x-ms-summary":"Mail"},mailNickname:{description:"The mail alias for the user. This property must be specified when a user is created.",type:"string","x-ms-summary":"Nickname"},mobilePhone:{description:"Mobile Phone",type:"string","x-ms-summary":"Mobile Phone"},mySite:{type:"string",description:"My Site","x-ms-summary":"My Site"},officeLocation:{description:"Office Location",type:"string","x-ms-summary":"Office Location"},pastProjects:{type:"array",items:{type:"string"},description:"Past Projects","x-ms-summary":"Past Projects"},postalCode:{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.",type:"string","x-ms-summary":"Postal code"},preferredLanguage:{description:"Preferred Language",type:"string","x-ms-summary":"Preferred Language"},preferredName:{type:"string",description:"Preferred Name","x-ms-summary":"Preferred Name"},responsibilities:{type:"array",items:{type:"string"},description:"Responsibilities","x-ms-summary":"Responsibilities"},schools:{type:"array",items:{type:"string"},description:"Schools","x-ms-summary":"Schools"},skills:{type:"array",items:{type:"string"},description:"Skills","x-ms-summary":"Skills"},state:{type:"string",description:"State","x-ms-summary":"State"},streetAddress:{type:"string",description:"Street Address","x-ms-summary":"Street Address"},surname:{description:"Surname",type:"string","x-ms-summary":"Surname"},userPrincipalName:{description:"User Principal Name",type:"string","x-ms-summary":"User Principal Name"},userType:{type:"string",description:"User Type","x-ms-summary":"User Type"}}},ObjectWithoutType:{}},securityDefinitions:{oauth2_auth:{type:"oauth2",flow:"accessCode",authorizationUrl:"https://login.windows.net/common/oauth2/authorize",tokenUrl:"https://login.windows.net/common/oauth2/authorize",scopes:{"Sites.Read.All User.ReadBasic.All User.ReadWrite":"Sites.Read.All User.ReadBasic.All User.ReadWrite"}}},security:[{oauth2_auth:["Sites.Read.All User.ReadBasic.All User.ReadWrite"]}],tags:[],"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://www.office.com/"}],"x-ms-capabilities":{testConnection:{operationId:"TestConnection",parameters:{}}},parameters:{extractSensitivityLabel:{name:"extractSensitivityLabel",in:"query",description:'Select if you want to extract Sensitivity label ( "false", "true").',required:!1,"x-ms-summary":"Extract Sensitivity Label",type:"string",default:"false",enum:["false","true"]},fetchSensitivityLabelMetadata:{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata",type:"string",default:"false",enum:["false","true"]}},externalDocs:{url:"https://docs.microsoft.com/connectors/office365users"}},wadlUrl:"https://pafeblobprodcy.blob.core.windows.net/apiwadls-983f0a2f-70b4-4055-93ae-d5a6659c9cc7/shared%3A2Doffice365users?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A09Z&se=2025-07-03T09%3A05%3A09Z&sr=c&sp=rl&scid=88b17a3b-17f4-4086-8294-a4e81fbae2bd&sig=M9luk4QeqW%2F7MqFciTD3MatAadIkZ35GMc8FnvMKirE%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365users",metadata:{source:"marketplace",brandColor:"#eb3c00",useNewApimVersion:"true",version:{previous:"v1.0.1751\\1.0.1751.4212",current:"v1.0.1751\\1.0.1751.4213"}},capabilities:["actions"],interfaces:{},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.",createdTime:"2016-10-13T00:29:38.7281213Z",changedTime:"2025-05-03T00:30:22.5108959Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:["Read your full user profile","Read the full profile of all users"],wont:["Modify or delete any user-profile information"]},rateLimit:0,apiVersion:"None"}},v=B;var W={name:"shared_kusto",id:"/providers/Microsoft.PowerApps/apis/shared_kusto",type:"Microsoft.PowerApps/apis",properties:{displayName:"Azure Data Explorer",iconUri:"REDACTED",iconBrandColor:"#20427f",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameterSets:{uiDefinition:{displayName:"Authentication type",description:"Type of authentication to be used."},values:[{name:"certOauth",uiDefinition:{displayName:"Client Certificate Auth",description:"Provide Microsoft Entra ID credentials using PFX certificate and password"},parameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"REDACTED",IsOnbehalfofLoginSupported:!0},customParameters:{grantType:{value:"client_credentials"},ResourceUri:{value:"https://kusto.kusto.windows.net"}}},uiDefinition:{displayName:"Login your Credentials",description:"Login your Credentials",tooltip:"Provide your Credentials",constraints:{required:"true",hidden:"false"}}},"token:TenantId":{type:"string",uiDefinition:{schema:{description:"The tenant ID of the Microsoft Entra ID application",type:"string"},displayName:"Tenant",constraints:{required:"true",hidden:"false"}}},"token:clientId":{type:"string",uiDefinition:{displayName:"Client ID",description:"The client ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"false"}}},"token:clientCertificateSecret":{type:"clientCertificate",uiDefinition:{displayName:"Client certificate secret",description:"The client certificate secret allowed by this application",constraints:{required:"true",hidden:"false"}}},"token:resourceUri":{type:"string",uiDefinition:{displayName:"ResourceUri",description:"The resource you are requesting authorization to use.",constraints:{required:"false",hidden:"true"}}},"token:grantType":{type:"string",allowedValues:[{value:"client_credentials"}],uiDefinition:{displayName:"Grant Type",description:"Grant type",constraints:{required:"false",hidden:"true",allowedValues:[{text:"Client Credentials",value:"client_credentials"}]}}}},metadata:{allowSharing:!0}},{name:"oauth",uiDefinition:{displayName:"Microsoft Entra ID Integrated",description:"Use Microsoft Entra ID to access your Azure Data Explorer."},parameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"https://global.consent.azure-apim.net/redirect/kusto",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"https://kusto.kusto.windows.net",IsOnbehalfofLoginSupported:!0},customParameters:{tenantId:{},ResourceUri:{value:"REDACTED"},loginUriAAD:{value:"REDACTED"},loginUri:{value:"REDACTED"}}},uiDefinition:{displayName:"Sign in with your Microsoft Entra ID credentials",description:"Sign in with your Microsoft Entra ID credentials",tooltip:"Provide Microsoft Entra ID credentials",constraints:{required:"true",hidden:"false"}}},privacySetting:{type:"string",allowedValues:[{value:"None"},{value:"Private"},{value:"Organizational"},{value:"Public"}],uiDefinition:{displayName:"Privacy Setting",description:"Privacy Setting",tooltip:"Privacy Setting",constraints:{tabIndex:1,required:"false",hidden:"true",capability:["cloud","gateway"],allowedValues:[{name:"None",value:"None"},{name:"Private",value:"Private"},{name:"Organizational",value:"Organizational"},{name:"Public",value:"Public"}]}}}},metadata:{allowSharing:!1}},{name:"oauthServicePrincipal",uiDefinition:{displayName:"Service principal",description:"Use your own Microsoft Entra ID app for service principal authentication."},parameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aad",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"https://global.consent.azure-apim.net/redirect/kusto",properties:{IsFirstParty:"False",AzureActiveDirectoryResourceId:"https://kusto.kusto.windows.net",IsOnbehalfofLoginSupported:!0},customParameters:{grantType:{value:"client_credentials"},ResourceUri:{value:"https://kusto.kusto.windows.net"},loginUri:{value:"https://login.windows.net"},LoginUriAAD:{value:"https://login.windows.net"}}},uiDefinition:{displayName:"Login your Credentials",description:"Login your Credentials",tooltip:"Provide your Credentials",constraints:{required:"false",hidden:"true"}}},"token:clientId":{type:"string",uiDefinition:{displayName:"Client ID",schema:{type:"string",description:"Client (or Application) ID of your Microsoft Entra ID application."},constraints:{required:"true",hidden:"false"}}},"token:clientSecret":{type:"securestring",uiDefinition:{displayName:"Client Secret",schema:{type:"securestring",description:"Client secret of your Microsoft Entra ID application."},constraints:{required:"true",hidden:"false"}}},"token:TenantId":{type:"string",uiDefinition:{schema:{description:"The tenant ID of for the Microsoft Entra ID application",type:"string"},displayName:"Tenant",constraints:{required:"true",hidden:"false"}}},"token:resourceUri":{type:"string",uiDefinition:{displayName:"ResourceUri",description:"The resource you are requesting authorization to use.",constraints:{required:"false",hidden:"true"}}},"token:grantType":{type:"string",allowedValues:[{value:"client_credentials"}],uiDefinition:{displayName:"Grant Type",description:"Grant type",constraints:{required:"false",hidden:"true",allowedValues:[{text:"Client Credentials",value:"client_credentials"}]}}}},metadata:{allowSharing:!1}}]},connectionParameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"https://global.consent.azure-apim.net/redirect/kusto",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"https://kusto.kusto.windows.net",IsOnbehalfofLoginSupported:!0},customParameters:{tenantId:{},ResourceUri:{value:"https://kusto.kusto.windows.net"},loginUriAAD:{value:"https://login.windows.net"},loginUri:{value:"https://login.windows.net"}}}},"token:clientId":{type:"string",uiDefinition:{displayName:"Client ID",description:"Client (or Application) ID of the Microsoft Entra ID application.",constraints:{required:"false",hidden:"true"}}},"token:clientSecret":{type:"securestring",uiDefinition:{displayName:"Client Secret",description:"Client secret of the Microsoft Entra ID application.",constraints:{required:"false",hidden:"true"}}},"token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}},"token:resourceUri":{type:"string",uiDefinition:{displayName:"ResourceUri",description:"The resource you are requesting authorization to use, for instance https://kusto.kustomfa.windows.net.",constraints:{required:"false",hidden:"true"}}},"token:grantType":{type:"string",allowedValues:[{value:"code"},{value:"client_credentials"}],uiDefinition:{displayName:"Grant Type",description:"Grant type",constraints:{required:"false",hidden:"true",allowedValues:[{text:"Code",value:"code"},{text:"Client Credentials",value:"client_credentials"}]}}},privacySetting:{type:"string",allowedValues:[{value:"None"},{value:"Private"},{value:"Organizational"},{value:"Public"}],uiDefinition:{displayName:"Privacy Setting",description:"Privacy Setting",tooltip:"Privacy Setting",constraints:{tabIndex:1,required:"false",hidden:"true",capability:["cloud","gateway"],allowedValues:[{name:"None",value:"None"},{name:"Private",value:"Private"},{name:"Organizational",value:"Organizational"},{name:"Public",value:"Public"}]}}}},swagger:{swagger:"2.0",info:{version:"1.0.0",title:"Azure Data Explorer",description:"Azure Data Explorer a.k.a Kusto is a log analytics cloud platform optimized for ad-hoc big data queries. Read more about it here: http://aka.ms/kdocs","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/kusto",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/ListKustoResults/false":{post:{summary:"Run KQL query",description:"Runs the KQL query and returns the result as a set of rows which can be iterated over in the following connectors e.g TableName | take 10.",operationId:"listKustoResultsPost","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/QueryAndListSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Table"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"REDACTED"}}},"/{connectionId}/ListKustoShowCommandResults":{post:{summary:"Run show control command",description:"Runs the show control command and returns the result as a set of rows which can be iterated over in the following connectors e.g .show table TableName policy caching.",operationId:"listKustoShowCommandResultsPost",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/ControlCommandAndListSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Table"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#run-show-control-command"}}},"/{connectionId}/ListKustoResultsSchema":{post:{summary:"Query schema",description:"Gets the schema for a query",operationId:"listKustoResultsSchemaPost","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/QueryAndListSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Object"}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#query-schema"}}},"/{connectionId}/RunKustoAndVisualizeResults/false":{post:{summary:"Run KQL query and render a chart",description:"Runs the KQL query and returns result as a chart of your choice e.g TableName | where Timestamp > ago(1h) | project timestamp, value.",operationId:"runKustoQueryAndVisualizeResultsPost","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/QueryAndVisualizeSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/VisualizeResults"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#run-kql-query-and-render-a-chart"}}},"/{connectionId}/RunKustoAndVisualizeResults/true":{post:{summary:"Run control command and render a chart",description:"Runs the control command and returns the result as a chart of your choice e.g .clear table TableName data.",operationId:"runKustoCommandAndVisualizeResultsPost","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/CommandAndVisualizeSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/VisualizeResults"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#run-control-command-and-render-a-chart"}}},"/{connectionId}/RunAsyncControlCommandAndWait":{post:{summary:"Run async control command",description:"Runs control command in async mode and returns its ID, state and status on completion. Command can run for maximum 1 hour. The 'async' keyword is mandatory e.g .set-or-append async TargetTable <| SourceTable.",operationId:"runAsyncControlCommandAndWait","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"body",required:!0,schema:{$ref:"#/definitions/ControlCommandAndListSchema"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/AsyncCommandResult"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#run-async-control-command"}}},"/{connectionId}/RetrieveKustoAsyncResult":{get:{summary:"Retrieve Kusto async result",description:"Retrieve status and result of Kusto async operation",operationId:"retrieveKustoAsyncResult","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"operationId","x-ms-summary":"Operation ID",description:"Unique identifier of the async operation",in:"query",type:"string",required:!0},{name:"Timestamp","x-ms-summary":"Query beginning timestamp",description:"The timestamp in which the query begin",in:"query",type:"string",required:!1},{name:"clusterUrl","x-ms-summary":"Cluster URL",description:"The cluster's URL",in:"query",type:"string",required:!1},{name:"storageAccountName","x-ms-summary":"storage account Name",description:"The storage account name storing the request result",in:"query",type:"string",required:!1}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Object"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#retrieve-kusto-async-result"}}},"/{connectionId}/RetrieveKustoAsyncControlCommandResult":{get:{summary:"Retrieve Kusto async control command result",description:"Retrieve status and result of Kusto async operation",operationId:"retrieveKustoAsyncControlCommandResult","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"operationId","x-ms-summary":"Operation ID",description:"Unique identifier of the async operation",in:"query",type:"string",required:!0},{name:"Timestamp","x-ms-summary":"Query beginning timestamp",description:"The timestamp in which the query begin",in:"query",type:"string",required:!1},{name:"clusterUrl","x-ms-summary":"Cluster URL",description:"The cluster's URL",in:"query",type:"string",required:!0},{name:"databaseName","x-ms-summary":"Database Name",description:"The database name",in:"query",type:"string",required:!0}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Object"}},202:{description:"Accepted",schema:{type:"string"},headers:{location:{"x-ms-summary":"Location",type:"string"},"retry-after":{"x-ms-summary":"Retry After",type:"string"}}},default:{description:"Operation Failed"}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#retrieve-kusto-async-control-command-result"}}},"/{connectionId}/mcp/KustoQueryManagement":{post:{tags:["agentic","Action"],summary:"Kusto Query MCP Server",description:"This MCP server runs Kusto queries and manages the results.",operationId:"mcp_KustoQueryManagement",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{in:"body",name:"queryRequest",schema:{$ref:"#/definitions/MCPQueryRequest"}},{in:"query",name:"sessionId",type:"string",required:!1}],responses:{200:{description:"MCP Server response",schema:{$ref:"#/definitions/MCPQueryResponse"}},default:{description:"Operation failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-mcs-visibility":"featured",externalDocs:{url:"https://docs.microsoft.com/connectors/kusto/#kusto-query-mcp-server"}}}},definitions:{Object:{type:"object",properties:{}},Table:{type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/Row"}}}},Row:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"listKustoResultsSchemaPost",parameters:{cluster:{parameter:"cluster"},db:{parameter:"db"},csl:{parameter:"csl"}},"value-path":"Schema/Items"},"x-ms-dynamic-properties":{operationId:"listKustoResultsSchemaPost",parameters:{"body/cluster":{parameterReference:"body/cluster"},"body/db":{parameterReference:"body/db"},"body/csl":{parameterReference:"body/csl"}},itemValuePath:"Schema/Items"}},QueryAndVisualizeSchema:{type:"object",required:["cluster","db","csl","chartType"],properties:{cluster:{$ref:"#/definitions/ClusterName"},db:{$ref:"#/definitions/DatabaseName"},csl:{$ref:"#/definitions/Query"},chartType:{$ref:"#/definitions/ChartType"}}},CommandAndVisualizeSchema:{type:"object",required:["cluster","db","csl","chartType"],properties:{cluster:{$ref:"#/definitions/ClusterName"},db:{$ref:"#/definitions/DatabaseName"},csl:{"x-ms-summary":"Control Command",description:"Specify the control command you would like to run",type:"string","x-ms-test-value":".show version"},chartType:{$ref:"#/definitions/ChartType"}}},QueryAndListSchema:{type:"object",required:["cluster","db","csl"],properties:{cluster:{$ref:"#/definitions/ClusterName"},db:{$ref:"#/definitions/DatabaseName"},csl:{$ref:"#/definitions/Query"}}},ControlCommandAndListSchema:{type:"object",required:["cluster","db","csl"],properties:{cluster:{$ref:"#/definitions/ClusterName"},db:{$ref:"#/definitions/DatabaseName"},csl:{"x-ms-summary":"Control Command",description:"Specify the show control command you would like to run",type:"string","x-ms-test-value":".show version"}}},ClusterName:{"x-ms-summary":"Cluster URL",description:"Specify the cluster url e.g. https://<yourCluster>.<yourLocation>.kusto.windows.net",type:"string","x-ms-test-value":"Process"},DatabaseName:{"x-ms-summary":"Database Name",description:"Specify the database name",type:"string","x-ms-test-value":"process"},Query:{"x-ms-summary":"Query",description:"Specify the query you would like to run",type:"string","x-ms-test-value":"print 1"},ChartType:{"x-ms-summary":"Chart Type",type:"string",description:"Specify the resulting chart type",enum:["Html Table","Pie Chart","Time Chart","Bar Chart"],"x-ms-test-value":"Html Table"},VisualizeResults:{type:"object",properties:{body:{type:"string",description:"The body of the result in base64 encoding.",format:"byte","x-ms-summary":"Body"},bodyHtml:{type:"string",description:"The body of the result in html encoding.",format:"HTML","x-ms-summary":"BodyHtml"},attachmentContent:{type:"string",description:"The content of the attachment.",format:"byte","x-ms-summary":"Attachment Content"},attachmentName:{type:"string",description:"The name of the attachment file.","x-ms-summary":"Attachment Name"},kustoDeepLink:{type:"string",description:"Links to run the query in Kusto tools, for instance in KustoExplorer.","x-ms-summary":"Links to Kusto Explorer"}}},AsyncCommandResult:{type:"object",properties:{state:{type:"string",description:"The state of the command.","x-ms-summary":"State"},status:{type:"string",description:"The status of the command.","x-ms-summary":"Status"},operationId:{type:"string",description:"The operation ID of the control command","x-ms-summary":"Operation ID"}}},MCPQueryRequest:{type:"object",properties:{jsonrpc:{type:"string"},id:{type:"string"},method:{type:"string"},params:{type:"object"},result:{type:"object"},error:{type:"object"},callbackEndpoint:{type:"string","x-ms-visibility":"internal"}}},MCPQueryResponse:{type:"object",properties:{jsonrpc:{type:"string"},id:{type:"string"},method:{type:"string"},params:{type:"object"},result:{type:"object"},error:{type:"object"}}}},externalDocs:{url:"https://docs.microsoft.com/connectors/kusto"}},wadlUrl:"https://pafeblobprodmw.blob.core.windows.net/apiwadls-0d015810-1568-43af-ad2c-f13a55e74ecd/shared%3A2Dkusto?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A11Z&se=2025-07-03T09%3A05%3A11Z&sr=c&sp=rl&scid=b8173500-464d-4178-bc94-234f5b56f411&sig=8KTRfykjMkDkljP%2FLrLPuXvOa28APiJ3LUsuJiQA9qs%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/kusto"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/kusto",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/kusto",metadata:{source:"marketplace",brandColor:"#20427f",useNewApimVersion:"true",version:{previous:"v1.0.1757\\1.0.1757.4253",current:"v1.0.1759\\1.0.1759.4267"}},capabilities:["actions"],interfaces:{},description:"Azure Data Explorer a.k.a Kusto is a log analytics cloud platform optimized for ad-hoc big data queries. Read more about it here: http://aka.ms/kdocs",createdTime:"2017-11-16T18:46:29.4086445Z",changedTime:"2025-06-30T17:09:36.2489031Z",releaseTag:"Production",tier:"Premium",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},T=W;var z={name:"shared_msnweather",id:"/providers/Microsoft.PowerApps/apis/shared_msnweather",type:"Microsoft.PowerApps/apis",properties:{displayName:"MSN Weather",iconUri:"REDACTED_URL",iconBrandColor:"",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{},swagger:{swagger:"2.0",info:{version:"1.0.0",title:"MSN Weather",description:"MSN Weather gets you the very latest weather forecast, including temperature, humidity, precipitation for your location.","x-ms-connector-name":"msnweather","x-ms-api-annotation":{status:"Production"},"x-ms-keywords":["msnweather","weather","forecast","temperature"],"x-ms-openai-published-to-copilots":[{"AICopilot-enabled":!0,AICopilotName:"Microsoft 365 Copilot"}],contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/msnweather",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/current/{Location}":{get:{summary:"Get current weather",description:"Get the current weather for a location.",operationId:"CurrentWeather",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Units"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/CurrentWeather"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/trigger/current/weather/{Location}":{get:{summary:"When the current weather changes",description:"Triggers a new flow when the specified weather measure changes for a location.",operationId:"OnCurrentWeatherChange",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Measure"},{name:"When",in:"query",required:!0,description:"The condition the trigger will be checking. Valid options are 'Is equal to', 'Goes over', or 'Goes below'. For example, if the measure is 'temperature' and this parameter is set to 'Goes below' then the trigger will fire when the temperature goes below the target value.","x-ms-summary":"When the measure...",type:"string",default:"Is equal to",enum:["Is equal to","Goes over","Goes below"],"x-ms-enum-values":[{value:"Is equal to",displayName:"Is equal to"},{value:"Goes over",displayName:"Goes over"},{value:"Goes below",displayName:"Goes below"}]},{name:"Target",in:"query",required:!0,description:"The target value for the specified measure.","x-ms-summary":"Target",type:"number",format:"float","x-ms-test-value":0},{name:"units",in:"query",required:!0,type:"string",description:"The units for the measure value and the target value.","x-ms-summary":"Units","x-ms-dynamic-values":{operationId:"GetMeasureUnits",parameters:{Location:{parameter:"Location"},Measure:{parameter:"Measure"}},"value-path":"units","value-title":"displayText"},"x-ms-test-value":"Metric"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/CurrentWeather"}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"When the current weather changes.","x-ms-visibility":"important",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/trigger/current/conditions/{Location}":{get:{summary:"When the current conditions change",description:"Triggers a new flow when the conditions change for a location.",operationId:"OnCurrentConditionsChange",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Units"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/CurrentWeather"}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"When the current conditions change.","x-ms-visibility":"advanced",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/forecast/today/{Location}":{get:{summary:"Get forecast for today",description:"Get the forecast for the current day in the specified location.",operationId:"TodaysForecast",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Units"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/WeatherForecast"}}},deprecated:!1,"x-ms-visibility":"important","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/forecast/tomorrow/{Location}":{get:{summary:"Get the forecast for tomorrow",description:"Get the forecast for tomorrow in the specified location.",operationId:"TomorrowsForecast",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Units"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/WeatherForecast"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/current/units/{Location}":{get:{summary:"Get Measure Units",description:"Get Measure Units",operationId:"GetMeasureUnits",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/Location"},{$ref:"#/parameters/Measure"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/MeasureUnits"}}},deprecated:!1,"x-ms-visibility":"internal",externalDocs:{url:"REDACTED_URL"}}}},definitions:{CurrentWeather:{type:"object",properties:{responses:{type:"object",properties:{weather:{type:"object",properties:{current:{type:"object",properties:{baro:{format:"float",type:"number","x-ms-summary":"Pressure",description:"The atmospheric pressure."},cap:{type:"string","x-ms-summary":"Conditions",description:"A caption of weather conditions such as rainy, sunny, etc."},dewPt:{format:"float",type:"number","x-ms-summary":"Dewpoint","x-ms-visibility":"advanced",description:"The temperature at which dew forms."},feels:{format:"float",type:"number","x-ms-summary":"Apparent Temperature","x-ms-visibility":"advanced",description:"The apparent temperature, or feels-like temperature."},rh:{format:"float",type:"number","x-ms-summary":"Humidity",description:"The relative humidity percentage."},wx:{type:"string","x-ms-summary":"METAR weather conditions","x-ms-visibility":"advanced",description:"The METAR code of weather conditions."},sky:{type:"string","x-ms-summary":"METAR Sky Conditions","x-ms-visibility":"advanced",description:"The METAR code of sky conditions."},temp:{format:"float",type:"number","x-ms-summary":"Temperature",description:"The current temperature."},uv:{format:"float",type:"number","x-ms-summary":"UV Index",description:"The numerical UV index."},uvDesc:{type:"string","x-ms-summary":"UV Index Description","x-ms-visibility":"advanced",description:"A description of the meaning of the UV index."},vis:{format:"float",type:"number","x-ms-summary":"Visibility Distance","x-ms-visibility":"advanced",description:"The visibility distance."},windDir:{format:"int32",type:"integer","x-ms-summary":"Wind Direction","x-ms-visibility":"advanced",description:"The wind direction in degrees clockwise from north."},windSpd:{format:"float",type:"number","x-ms-summary":"Wind Speed",description:"The wind speed."},windGust:{format:"float",type:"number","x-ms-summary":"Wind Gust Speed","x-ms-visibility":"advanced",description:"The wind gust speed."},created:{format:"date-time",type:"string","x-ms-summary":"Last Updated",description:"The datetime at which provider created the current condition."}}}}},source:{type:"object",properties:{coordinates:{type:"object",properties:{lat:{format:"float",type:"number","x-ms-summary":"Latitude","x-ms-visibility":"advanced",description:"The latitude of the location."},lon:{format:"float",type:"number","x-ms-summary":"Longitude","x-ms-visibility":"advanced",description:"The longitude of the location."}}},location:{type:"string","x-ms-summary":"Location",description:"The location for which provider created the current condition."}}}}},units:{type:"object",properties:{system:{type:"string","x-ms-summary":"Unit System",description:"Units used in data set (metric or imperial).","x-ms-visibility":"internal"},pressure:{type:"string","x-ms-summary":"Pressure Units","x-ms-visibility":"advanced",description:"Units used for pressure measurements."},temperature:{type:"string","x-ms-summary":"Temperature Units",description:"Units used for temperature measurements."},speed:{type:"string","x-ms-summary":"Speed Units","x-ms-visibility":"advanced",description:"Units used for speed measurements."},distance:{type:"string","x-ms-summary":"Distance Units","x-ms-visibility":"advanced",description:"Units used for distance measurements."}}}}},WeatherForecast:{type:"object",properties:{responses:{type:"object",properties:{daily:{type:"object",properties:{day:{type:"object",properties:{cap:{type:"string","x-ms-summary":"Conditions","x-ms-visibility":"advanced",description:"The caption of weather conditions such as rainy, sunny, etc."},precip:{format:"float",type:"number","x-ms-summary":"Rain Chance","x-ms-visibility":"advanced",description:"The chance of precipitation (%)."},wx:{type:"string","x-ms-summary":"METAR Weather Conditions","x-ms-visibility":"advanced",description:"The METAR code of weather conditions."},sky:{type:"string","x-ms-summary":"METAR Sky Conditions","x-ms-visibility":"advanced",description:"The METAR code of sky conditions."},windDir:{format:"int32",type:"integer","x-ms-summary":"Wind Direction","x-ms-visibility":"advanced",description:"The wind direction in degrees clockwise from north."},windSpd:{format:"float",type:"number","x-ms-summary":"Wind Speed","x-ms-visibility":"advanced",description:"The wind speed."},summary:{type:"string","x-ms-summary":"Summary",description:"A text summary of the forecast.","x-ms-visibility":"advanced"}},"x-ms-summary":"Day"},night:{type:"object",properties:{cap:{type:"string","x-ms-summary":"Conditions","x-ms-visibility":"advanced",description:"The caption of weather conditions such as rainy, sunny, etc."},precip:{format:"float",type:"number","x-ms-summary":"Rain Chance","x-ms-visibility":"advanced",description:"The chance of precipitation (%)."},wx:{type:"string","x-ms-summary":"METAR Weather Conditions","x-ms-visibility":"advanced",description:"The METAR code of weather conditions."},sky:{type:"string","x-ms-summary":"METAR Sky Conditions","x-ms-visibility":"advanced",description:"The METAR code of sky conditions."},windDir:{format:"int32",type:"integer","x-ms-summary":"Wind Direction","x-ms-visibility":"advanced",description:"The wind direction in degrees clockwise from north."},windSpd:{format:"float",type:"number","x-ms-summary":"Wind Speed","x-ms-visibility":"advanced",description:"The wind speed."},summary:{type:"string","x-ms-summary":"Summary",description:"A text summary of the forecast.","x-ms-visibility":"advanced"}},"x-ms-summary":"Night"},pvdrCap:{type:"string","x-ms-summary":"Conditions",description:"The caption of weather conditions such as rainy, sunny, etc."},valid:{format:"date-time",type:"string","x-ms-summary":"Date",description:"The datetime at which the forecast is valid."},precip:{format:"float",type:"number","x-ms-summary":"Rain Chance",description:"The chance of precipitation (%)."},windMax:{format:"float",type:"number","x-ms-summary":"Max Wind Speed",description:"The peak wind speed for the day."},windMaxDir:{format:"int32",type:"integer","x-ms-summary":"Max Wind Direction","x-ms-visibility":"advanced",description:"The direction of the peak wind for the day."},rhHi:{format:"float",type:"number","x-ms-summary":"Humidity High",description:"The high relative humidity point for the day."},rhLo:{format:"float",type:"number","x-ms-summary":"Humidity Low",description:"The low relative humidity point for the day."},tempHi:{format:"float",type:"number","x-ms-summary":"Temperature High",description:"The high temperature."},tempLo:{format:"float",type:"number","x-ms-summary":"Temperature Low",description:"The low temperature."},uv:{format:"float",type:"number","x-ms-summary":"UV Index",description:"The numerical UV index."},uvDesc:{type:"string","x-ms-summary":"UV Index Description","x-ms-visibility":"advanced",description:"A description of the meaning of the UV index."},created:{format:"date-time",type:"string","x-ms-summary":"Forecast Date","x-ms-visibility":"advanced",description:"The datetime at which the daily forecast was derived."}}},almanac:{type:"object",properties:{sunrise:{format:"date-time",type:"string","x-ms-summary":"Sunrise Time","x-ms-visibility":"advanced",description:"Time of sunrise on the day of this forecast."},sunset:{format:"date-time",type:"string","x-ms-summary":"Sunset Time","x-ms-visibility":"advanced",description:"Time of sunset on the day of this forecast."},moonrise:{format:"date-time",type:"string","x-ms-summary":"Moonrise Time","x-ms-visibility":"advanced",description:"Time of moonrise on the day of this forecast."},moonset:{format:"date-time",type:"string","x-ms-summary":"Moonset Time","x-ms-visibility":"advanced",description:"Time of moonset on the day of this forecast."},moonPhase:{type:"string","x-ms-summary":"Moon Phase","x-ms-visibility":"advanced",description:"The phase of the moon the day of this forecast."},moonPhaseCode:{type:"string","x-ms-summary":"Moon Phase Code","x-ms-visibility":"advanced",description:"The code representing the phase of the moon."}}},source:{type:"object",properties:{coordinates:{type:"object",properties:{lat:{format:"float",type:"number","x-ms-summary":"Latitude","x-ms-visibility":"advanced",description:"The latitude of the location."},lon:{format:"float",type:"number","x-ms-summary":"Longitude","x-ms-visibility":"advanced",description:"The longitude of the location."}}},location:{type:"string","x-ms-summary":"Location",description:"The location for which provider created the forecast."}}}}},units:{type:"object",properties:{system:{type:"string","x-ms-summary":"Unit System",description:"Units used in data set (metric or imperial).","x-ms-visibility":"internal"},pressure:{type:"string","x-ms-summary":"Pressure Units","x-ms-visibility":"advanced",description:"Units used for pressure measurements."},temperature:{type:"string","x-ms-summary":"Temperature Units",description:"Units used for temperature measurements."},speed:{type:"string","x-ms-summary":"Speed Units","x-ms-visibility":"advanced",description:"Units used for speed measurements."},distance:{type:"string","x-ms-summary":"Distance Units","x-ms-visibility":"advanced",description:"Units used for distance measurements."}}}}},MeasureUnits:{type:"array",items:{type:"object",properties:{displayText:{type:"string"},units:{type:"string"}}}}},parameters:{Location:{name:"Location",in:"path",required:!0,description:"The location search query. Valid inputs are City, Region, State, Country, Landmark, Postal Code, latitude and longitude","x-ms-summary":"Location","x-ms-test-value":"Redmond",type:"string"},Units:{name:"units",in:"query",required:!0,description:"The measurement system used for all the measure values in the request and response. Valid options are 'Imperial' and 'Metric'.","x-ms-summary":"Units",type:"string",default:"I",enum:["I","C"],"x-ms-enum-values":[{value:"I",displayName:"Imperial"},{value:"C",displayName:"Metric"}]},Measure:{name:"Measure",in:"query",required:!0,description:"The weather measure used for this operation. Valid options are 'Temperature', 'UV Index', 'Humidity' or 'Wind Speed'.","x-ms-summary":"Measure",type:"string",default:"Temperature",enum:["Temperature","UV Index","Humidity","Wind Speed"],"x-ms-enum-values":[{value:"Temperature",displayName:"Temperature"},{value:"UV Index",displayName:"UV Index"},{value:"Humidity",displayName:"Humidity"},{value:"Wind Speed",displayName:"Wind Speed"}]}},"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"REDACTED_URL"}],externalDocs:{url:"REDACTED_URL"}},wadlUrl:"REDACTED_URL",runtimeUrls:["REDACTED_URL"],primaryRuntimeUrl:"REDACTED_URL",doNotUseApiHubNetRuntimeUrl:"REDACTED_URL",metadata:{source:"marketplace",brandColor:"",connectionLimits:{"*":1},useNewApimVersion:"true",version:{previous:"v1.0.1754\\1.0.1754.4231",current:"v1.0.1756\\1.0.1756.4248"}},capabilities:["actions","triggers"],interfaces:{},description:"MSN Weather gets you the very latest weather forecast, including temperature, humidity, precipitation for your location.",createdTime:"2017-01-26T01:06:37.0992138Z",changedTime:"2025-06-10T17:28:35.1938228Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},I=z;var K={name:"shared_office365groups",id:"/providers/Microsoft.PowerApps/apis/shared_office365groups",type:"Microsoft.PowerApps/apis",properties:{displayName:"Office 365 Groups",iconUri:"REDACTED",iconBrandColor:"#EB3C00",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"0386266b-6217-4e26-81bd-b446100c5cb4",scopes:["Group.ReadWrite.All offline_access"],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"REDACTED",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED"},LoginUri:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}}},"token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}}},swagger:{swagger:"2.0",info:{version:"1.0.0",title:"Office 365 Groups",description:"Office 365 Groups lets you manage group membership and calendar events in your organization using your Office 365 account. You can perform various actions such as get group roster, add or remove members and create group events.","x-ms-api-annotation":{status:"Production"},contact:{name:"Office 365 Groups",url:"REDACTED",email:"idcknowledgeeco@microsoft.com"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/office365groups",schemes:["https"],consumes:[],produces:["application/json"],paths:{"/{connectionId}/v1.0/groups/{groupId}/members":{get:{summary:"List group members",description:"This operation returns a list of all members in the given group and their details such as name, title, email, etc. You can query up to 1000 items using Top parameter. In case you need to retrieve more than 1000 values please turn on Settings->Pagination feature and provide Threshold limit.",operationId:"ListGroupMembers",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"$top",in:"query","x-ms-summary":"Top",description:"Number of group members to retrieve (from 1 to 999, default is 100).",required:!1,"x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListGroupMembers_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-test-value":"ee115782-220d-4acc-92c4-e261619d63cd","x-ms-pageable":{nextLinkName:"@odata.nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-group-members"}}},"/{connectionId}/trigger/v1.0/groups/delta":{get:{summary:"When a group member is added or removed",description:"This operation triggers when a member is added to or removed from the given group.",operationId:"OnGroupMembershipChange",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"$select",in:"query","x-ms-summary":"Select","x-ms-test-value":"members","x-ms-visibility":"internal",type:"string",default:"members"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/OnGroupMemberAddedOrRemoved_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-test-value":"ee115782-220d-4acc-92c4-e261619d63cd","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a member to the group.","x-ms-dev-triggerType":"DeltaLink","x-ms-dev-triggerValueCollection":"value[0].members@delta","x-ms-dev-triggerValuePath":"@odata.deltaLink","x-ms-dev-queryfilterParamName":"$deltatoken",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#when-a-group-member-is-added-or-removed"}}},"/{connectionId}/v1.0/groups/{groupId}/members/$ref":{post:{summary:"Add member to group",description:"This operation is used to add a member to an O365 group, using a UPN.",operationId:"AddMemberToGroup",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"userUpn",in:"query",description:"The user principal name (UPN) of the user.",required:!0,"x-ms-summary":"User Principal Name",type:"string"}],responses:{204:{description:"Operation Successful"}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"important",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#add-member-to-group"}}},"/{connectionId}/v1.0/me/memberOf/$/microsoft.graph.group":{get:{summary:"List my owned groups",description:"This operation returns a list of all groups that you own.",operationId:"ListOwnedGroups",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListOwnedGroups_Response"}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-my-owned-groups"}}},"/{connectionId}/v1.0/me/ownedObjects/$/microsoft.graph.group":{get:{summary:"List my owned groups (V2)",description:"This operation returns a list of all groups that you own.",operationId:"ListOwnedGroups_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListOwnedGroups_V2_Response"}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-my-owned-groups-(v2)"}}},"/{connectionId}/v2/v1.0/me/memberOf/$/microsoft.graph.group":{get:{summary:"List groups that I own and belong to",description:"This operation returns a list of all groups that you own and belong to.",operationId:"ListOwnedGroups_V3",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListOwnedGroups_Response"}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-groups-that-i-own-and-belong-to"}}},"/{connectionId}/v1.0/groups":{get:{summary:"List groups",description:"This operation returns a list of all groups in the organization.",operationId:"ListGroups",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/extractSensitivityLabel"},{$ref:"#/parameters/fetchSensitivityLabelMetadata"},{name:"$filter",in:"query",description:"Enter an OData style filter expression to limit which rows are listed.",required:!1,"x-ms-summary":"Filter rows","x-ms-visibility":"advanced",type:"string"},{name:"$top",in:"query",description:"Sets the page size of results.",required:!1,"x-ms-summary":"Page size","x-ms-visibility":"advanced",type:"integer"},{name:"$skiptoken",in:"query",required:!1,type:"string","x-ms-summary":"Skip token","x-ms-visibility":"advanced",description:"Token that references the next page of results and is returned in the @odata.nextLink property in the response."}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/ListGroups_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-pageable":{nextLinkName:"@odata.nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-groups"}}},"/{connectionId}/v1.0/groups/{groupId}/events":{post:{summary:"Create a group event",description:"This operation is used to create a new event in a group calendar.",operationId:"CreateCalendarEvent",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/UpdateCalendarEvent_Request"}}],responses:{201:{description:"Operation Successful",schema:{$ref:"#/definitions/CreateCalendarEvent_Response"}}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Production",family:"CreateCalendarEvent",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#create-a-group-event-%5bdeprecated%5d"}}},"/{connectionId}/v2/v1.0/groups/{groupId}/events":{post:{summary:"Create a group event (V2)",description:"This operation is used to create a new event in a group calendar.",operationId:"CreateCalendarEventV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/UpdateCalendarEvent_HTMLRequest"}}],responses:{201:{description:"Operation Successful",schema:{$ref:"#/definitions/CreateCalendarEvent_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Production",family:"CreateCalendarEvent",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#create-a-group-event-(v2)"}}},"/{connectionId}/v1.0/groups/{groupId}/events/{event}":{delete:{summary:"Delete event (V2)",description:"This operation deletes an event in a calendar.",operationId:"CalendarDeleteItem_V2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"event",in:"path",description:"Select an event",required:!0,"x-ms-summary":"Id","x-ms-url-encoding":"double",type:"string"}],responses:{204:{description:"OK"},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"important",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#delete-event-(v2)"}},patch:{summary:"Update a group event",description:"This operation is used to update a new event in a group calendar.",operationId:"UpdateCalendarEvent",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"event",in:"path",description:"Select an event",required:!0,"x-ms-summary":"Id","x-ms-url-encoding":"double",type:"string"},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/UpdateCalendarEvent_HTMLRequest"}}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/CreateCalendarEvent_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"important",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#update-a-group-event"}}},"/{connectionId}/v1.0/groups/{groupId}/members/memberId/$ref":{delete:{summary:"Remove member from group",description:"This operation is used to remove a member from an O365 group, using a UPN.",operationId:"RemoveMemberFromGroup",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"userUpn",in:"query",description:"The user principal name (UPN) of the user",required:!0,"x-ms-summary":"User Principal Name",type:"string"}],responses:{204:{description:"Operation Successful"}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"important",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#remove-member-from-group"}}},"/{connectionId}/trigger/v1.0/groups/{groupId}/events":{get:{summary:"When there is a new event",description:"This operation triggers when a new event is added to a group calendar.",operationId:"OnNewEvent",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/OnNewEvent_Response"}}},deprecated:!1,"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, create an event in Office 365 Groups.","x-ms-dev-triggerType":"QueryFilter","x-ms-dev-triggerDateFormat":"iso","x-ms-dev-triggerValueCollection":"value","x-ms-dev-triggerValuePath":"createdDateTime","x-ms-dev-queryfilterParamName":"$filter",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#when-there-is-a-new-event"}}},"/{connectionId}/v2/httprequest":{post:{summary:"Send an HTTP request V2",description:"Construct a Microsoft Graph REST API request to invoke. There is one segment that is supported: /groups. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api.",operationId:"HttpRequestV2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET).",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content.",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json).",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production",family:"HttpRequest",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#send-an-http-request-v2"}}},"/{connectionId}/httprequest":{post:{summary:"Send an HTTP request",description:"Construct a Microsoft Graph REST API request to invoke. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api",operationId:"HttpRequest",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}.",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET).",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content.",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json).",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production",family:"HttpRequest",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#send-an-http-request-%5bdeprecated%5d"}}},"/{connectionId}/v1.0/directory/deletedItems/microsoft.graph.group":{get:{summary:"List deleted groups",description:"Lists deleted groups that can be restored.",operationId:"ListDeletedGroups",responses:{200:{description:"Operation successful",schema:{$ref:"#/definitions/ListGroups_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-deleted-groups"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/v1.0/directory/deletedItems/{groupId}/restore":{post:{summary:"Restore a deleted group",description:"Restore a recently deleted group",operationId:"RestoreDeletedGroup",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/deletedGroupId__in_path"}],responses:{200:{description:"Operation successful"}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#restore-a-deleted-group"}}},"/{connectionId}/v1.0/directory/deletedItems/getUserOwnedObjects":{post:{summary:"List deleted groups by owner",description:"List deleted groups that can be restored by owner",operationId:"ListDeletedGroupsByOwner",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"header",description:"Enter a user id.",required:!0,"x-ms-summary":"User Id","x-ms-visibility":"important",type:"string",format:"guid"}],responses:{200:{description:"Operation successful",schema:{$ref:"#/definitions/ListGroups_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups/#list-deleted-groups-by-owner"}}}},definitions:{SensitivityLabelMetadata:{type:"object",properties:{sensitivityLabelId:{type:"string",description:"SensitivityLabel Id.","x-ms-summary":"SensitivityLabel Id",title:"sensitivityLabelId"},name:{type:"string",description:"SensitivityLabel name.","x-ms-summary":"name",title:"name"},displayName:{type:"string",description:"SensitivityLabel displayName info","x-ms-summary":"SensitivityLabel displayName info",title:"displayName"},tooltip:{type:"string",description:"SensitivityLabel details on tooltip.","x-ms-summary":"tooltip info",title:"tooltip"},priority:{type:"integer",format:"int32",description:"SensitivityLabel priority.","x-ms-summary":"priority of SensitivityLabel",title:"priority"},color:{type:"string",description:"SensitivityLabel color.","x-ms-summary":"color to be displayed for SensitivityLabel.",title:"color"},isEncrypted:{type:"boolean",description:" is SensitivityLabel Encrypted.","x-ms-summary":"isEncrypted status of SensitivityLabel",title:"isEncrypted"},isEnabled:{type:"boolean",description:"Whether SensitivityLabel is Enabled.","x-ms-summary":"Whether SensitivityLabel is Enabled.",title:"isEnabled"},isParent:{type:"boolean",description:"Whether SensitivityLabel is Parent.","x-ms-summary":"Whether SensitivityLabel is Parent",title:"isParent"},parentSensitivityLabelId:{type:"string",description:"Parent SensitivityLabel Id.","x-ms-summary":"Parent SensitivityLabel Id",title:"parentSensitivityLabelId"}}},ListGroupMembers_Response:{type:"object",properties:{"@odata.context":{type:"string",description:"The OData context.",title:"OData context","x-ms-visibility":"internal"},"@odata.nextLink":{type:"string",description:"Only used in Power Apps Canvas to genereate the `$skipToken` for pagination. Power Automate and Logic Apps must use the pagination setting.",title:"OData NextLink","x-ms-visibility":"advanced"},value:{description:"value",type:"array",items:{type:"object",properties:{id:{description:"Unique id of the user.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"User Id"},displayName:{description:"User's display name.",type:"string","x-ms-summary":"Display Name"},givenName:{description:"User's first name.",type:"string","x-ms-summary":"Given Name"},jobTitle:{description:"User's job title.",type:"string","x-ms-summary":"Job Title"},mail:{description:"User's email address.",type:"string","x-ms-summary":"Mail"},mobilePhone:{description:"User's mobile number.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Mobile Phone"},officeLocation:{description:"User's office address.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Office Location"},surname:{description:"User's last name.",type:"string","x-ms-summary":"Surname"},userPrincipalName:{description:"UPN id of the user.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"User Principal Name"}}}}}},OnGroupMemberAddedOrRemoved_Response:{description:"value",type:"array",items:{type:"object",properties:{id:{description:"Unique id of the user.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"User Id"},"@removed":{type:"object",properties:{reason:{description:"Reason that caused the user to be removed from the group.",type:"string","x-ms-summary":"Reason"}}}}}},ListOwnedGroups_Response:{type:"object",properties:{"@odata.context":{description:"The OData context.",type:"string","x-ms-summary":"OData context","x-ms-visibility":"internal"},value:{description:"value",type:"array",items:{type:"object",properties:{classification:{description:"O365 group classification.",type:"string","x-ms-summary":"Classification","x-ms-visibility":"advanced"},createdDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Created Date-Time","x-ms-visibility":"advanced"},deletedDateTime:{description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Deleted Date-Time","x-ms-visibility":"advanced"},description:{description:"More information about the group.",type:"string","x-ms-summary":"Description"},displayName:{description:"O365 group name.",type:"string","x-ms-summary":"Name"},id:{description:"Unique identifier of the group.",type:"string","x-ms-summary":"Group Id","x-ms-visibility":"advanced"},mail:{description:"Email address of the group.",type:"string","x-ms-summary":"Email"},mailEnabled:{description:"True if mail is enabled for the group.",type:"boolean","x-ms-summary":"Mail Enabled","x-ms-visibility":"advanced"},mailNickname:{description:"Group nickname.",type:"string","x-ms-summary":"Nickname","x-ms-visibility":"advanced"},onPremisesLastSyncDateTime:{description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"On-Premises Last Sync Date-Time","x-ms-visibility":"advanced"},onPremisesSecurityIdentifier:{description:"The on-premises security identifier.",type:"string","x-ms-summary":"On-Premises Security Identifier","x-ms-visibility":"advanced"},onPremisesSyncEnabled:{description:"True if on-premises sync is enabled for the group.",type:"string","x-ms-summary":"On-Premises Sync Enabled","x-ms-visibility":"advanced"},renewedDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Renewed Date-Time","x-ms-visibility":"advanced"},securityEnabled:{description:"True if the owner is security enabled.",type:"boolean","x-ms-summary":"Security Enabled","x-ms-visibility":"advanced"},visibility:{description:"The owner's visibility.",type:"string","x-ms-summary":"Visibility","x-ms-visibility":"advanced"},sensitivityLabelInfo:{description:"List of Sensitivity Label Information",type:"array",items:{$ref:"#/definitions/SensitivityLabelMetadata"}}}}}}},ListOwnedGroups_V2_Response:{type:"object",properties:{"@odata.context":{description:"The OData context.",type:"string","x-ms-summary":"OData context","x-ms-visibility":"internal"},value:{description:"value",type:"array",items:{type:"object",properties:{classification:{description:"O365 group classification.",type:"string","x-ms-summary":"Classification","x-ms-visibility":"advanced"},createdDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Created Date-Time","x-ms-visibility":"advanced"},description:{description:"More information about the group.",type:"string","x-ms-summary":"Description"},displayName:{description:"O365 group name.",type:"string","x-ms-summary":"Name"},id:{description:"Unique identifier of the group.",type:"string","x-ms-summary":"Group Id","x-ms-visibility":"advanced"},mail:{description:"Email address of the group.",type:"string","x-ms-summary":"Email"},mailEnabled:{description:"True if mail is enabled for the group.",type:"boolean","x-ms-summary":"Mail Enabled","x-ms-visibility":"advanced"},mailNickname:{description:"Group nickname.",type:"string","x-ms-summary":"Nickname","x-ms-visibility":"advanced"},onPremisesLastSyncDateTime:{description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"On-Premises Last Sync Date-Time","x-ms-visibility":"advanced"},onPremisesSecurityIdentifier:{description:"The on-premises security identifier.",type:"string","x-ms-summary":"On-Premises Security Identifier","x-ms-visibility":"advanced"},onPremisesSyncEnabled:{description:"True if on-premises sync is enabled for the group.",type:"string","x-ms-summary":"On-Premises Sync Enabled","x-ms-visibility":"advanced"},renewedDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Renewed Date-Time","x-ms-visibility":"advanced"},securityEnabled:{description:"True if the owner is security enabled.",type:"boolean","x-ms-summary":"Security Enabled","x-ms-visibility":"advanced"},visibility:{description:"The owner's visibility.",type:"string","x-ms-summary":"Visibility","x-ms-visibility":"advanced"},sensitivityLabelInfo:{description:"List of Sensitivity Label Information",type:"array",items:{$ref:"#/definitions/SensitivityLabelMetadata"}}}}}}},ListGroups_Response:{type:"object",properties:{"@odata.context":{type:"string",description:"The OData context.",title:"OData context","x-ms-visibility":"internal"},"@odata.nextLink":{type:"string",description:"Only used in Power Apps Canvas to genereate the `$skipToken` for pagination. Power Automate and Logic Apps must use the pagination setting.",title:"OData NextLink","x-ms-visibility":"advanced"},value:{description:"value",type:"array",items:{type:"object",properties:{classification:{description:"O365 group classification.",type:"string","x-ms-summary":"Classification","x-ms-visibility":"advanced"},createdDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Created Date-Time","x-ms-visibility":"advanced"},description:{description:"More information about the group.",type:"string","x-ms-summary":"Description"},displayName:{description:"O365 group name.",type:"string","x-ms-summary":"Name"},id:{description:"Unique identifier of the group.",type:"string","x-ms-summary":"Group Id","x-ms-visibility":"advanced"},mail:{description:"Email address of the group.",type:"string","x-ms-summary":"Email"},mailEnabled:{description:"True if mail is enabled for the group.",type:"boolean","x-ms-summary":"Mail Enabled","x-ms-visibility":"advanced"},mailNickname:{description:"Group nickname.",type:"string","x-ms-summary":"Nickname","x-ms-visibility":"advanced"},onPremisesLastSyncDateTime:{description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"On-Premises Last Sync Date-Time","x-ms-visibility":"advanced"},onPremisesSecurityIdentifier:{description:"The on-premises security identifier.",type:"string","x-ms-summary":"On-Premises Security Identifier","x-ms-visibility":"advanced"},onPremisesSyncEnabled:{description:"True if on-premises sync is enabled for the group.",type:"boolean","x-ms-summary":"On-Premises Sync Enabled","x-ms-visibility":"advanced"},renewedDateTime:{format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)",type:"string","x-ms-summary":"Renewed Date-Time","x-ms-visibility":"advanced"},securityEnabled:{description:"True if the owner is security enabled.",type:"boolean","x-ms-summary":"Security Enabled","x-ms-visibility":"advanced"},visibility:{description:"The owner's visibility.",type:"string","x-ms-summary":"Visibility","x-ms-visibility":"advanced"},sensitivityLabelInfo:{description:"List of Sensitivity Label Information",type:"array",items:{$ref:"#/definitions/SensitivityLabelMetadata"}}}}}}},CreateCalendarEvent_Response:{type:"object",properties:{id:{description:"Unique id of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Id"},reminderMinutesBeforeStart:{format:"int32",description:"Time in minutes before event starts to remind.",type:"integer","x-ms-visibility":"advanced","x-ms-summary":"Reminder Start Duration"},isReminderOn:{description:"Set to true if the event has a reminder.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is Reminder On"},subject:{description:"Title of the event.",type:"string","x-ms-summary":"Subject"},importance:{description:"The importance of the event: Low, Normal, or High.",type:"string","x-ms-summary":"Importance"},isAllDay:{description:"True if the event is an all day event.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is All Day"},responseRequested:{description:"True if a response was requested for the event.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Response Requested"},showAs:{description:"Status to show during the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Show As"},body:{description:"body",type:"object",properties:{contentType:{description:"Text or Html.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Content Type"},content:{description:"The content of the body of this event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Content"}},"x-ms-summary":"Body"},start:{description:"start",type:"object",properties:{dateTime:{format:"date-time",description:"Start time of the event (example: '2016-11-01T14:30:00-07:00').",type:"string","x-ms-summary":"Date Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Time Zone"}},"x-ms-summary":"Start"},end:{description:"end",type:"object",properties:{dateTime:{format:"date-time",description:"End time of the event (example: '2016-11-01T15:30:00-07:00').",type:"string","x-ms-summary":"Date Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Time Zone"}},"x-ms-summary":"End"},location:{description:"location",type:"object",properties:{displayName:{description:"The display name for the location of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Name"}},"x-ms-summary":"Location"}}},UpdateCalendarEvent_Request:{required:["subject","start","end"],type:"object",properties:{subject:{description:"Title of the event.",type:"string","x-ms-summary":"Subject"},start:{required:["dateTime","timeZone"],type:"object",properties:{dateTime:{format:"date-time",description:"Start time of the event (example: '2016-11-01T14:30:00').",type:"string","x-ms-summary":"Start Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"internal","x-ms-summary":"Time zone"}}},end:{required:["dateTime","timeZone"],type:"object",properties:{dateTime:{format:"date-time",description:"End time of the event (example: '2016-11-01T15:30:00').",type:"string","x-ms-summary":"End Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"internal","x-ms-summary":"Time zone"}}},body:{type:"object",properties:{content:{description:"Body of the message associated with the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Body"},contentType:{description:"Pick the content type: Text or Html.",enum:["Text","Html"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Body Content Type"}}},location:{type:"object",properties:{displayName:{description:"Location of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Location"}}},importance:{description:"The importance of the event: Low, Normal, or High.",enum:["Low","Normal","High"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Importance"},isAllDay:{description:"Set to true if the event lasts all day.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is All Day"},isReminderOn:{description:"Set to true if the event has a reminder.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is Reminder On"},reminderMinutesBeforeStart:{format:"int32",description:"Time in minutes before event start to remind.",type:"integer","x-ms-visibility":"advanced","x-ms-summary":"Reminder Start Duration"},showAs:{description:"Status to show during the event.",enum:["Free","Tentative","Busy","Oof","WorkingElsewhere","Unknown"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Show As"},responseRequested:{description:"Set to true if the sender would like a response when the event is accepted or declined.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Response Requested"}},"x-ms-test-value":{subject:"Test Event from Postman",start:{dateTime:"2017-12-31T14:00:00",timeZone:"UTC"},end:{dateTime:"2017-12-31T14:30:00",timeZone:"UTC"},originalStartTimeZone:"Pacific Standard Time",originalEndTimeZone:"Pacific Standard Time",body:{contentType:"text",content:"Test Body"},location:{displayName:"Redmond"},importance:"normal",isAllDay:!1,reminderMinutesBeforeStart:99,isReminderOn:!0,showAs:"busy",responseRequested:!0}},UpdateCalendarEvent_HTMLRequest:{required:["subject","start","end"],type:"object",properties:{subject:{description:"Title of the event.",type:"string","x-ms-summary":"Subject"},start:{required:["dateTime","timeZone"],type:"object",properties:{dateTime:{format:"date-time",description:"Start time of the event (example: '2016-11-01T14:30:00').",type:"string","x-ms-summary":"Start Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"internal","x-ms-summary":"Time zone"}}},end:{required:["dateTime","timeZone"],type:"object",properties:{dateTime:{format:"date-time",description:"End time of the event (example: '2016-11-01T15:30:00').",type:"string","x-ms-summary":"End Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",default:"UTC",type:"string","x-ms-visibility":"internal","x-ms-summary":"Time zone"}}},body:{type:"object",required:["contentType"],properties:{content:{description:"Body of the message associated with the event.",type:"string",format:"html","x-ms-visibility":"advanced","x-ms-summary":"Body"},contentType:{description:"Pick the content type: Text or Html.",default:"Html",type:"string","x-ms-summary":"Body Content Type","x-ms-visibility":"internal"}}},location:{type:"object",properties:{displayName:{description:"Location of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Location"}}},importance:{description:"The importance of the event: Low, Normal, or High.",enum:["Low","Normal","High"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Importance"},isAllDay:{description:"Set to true if the event lasts all day.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is All Day"},isReminderOn:{description:"Set to true if the event has a reminder.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is Reminder On"},reminderMinutesBeforeStart:{format:"int32",description:"Time in minutes before event start to remind.",type:"integer","x-ms-visibility":"advanced","x-ms-summary":"Reminder Start Duration"},showAs:{description:"Status to show during the event.",enum:["Free","Tentative","Busy","Oof","WorkingElsewhere","Unknown"],type:"string","x-ms-visibility":"advanced","x-ms-summary":"Show As"},responseRequested:{description:"Set to true if the sender would like a response when the event is accepted or declined.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Response Requested"}},"x-ms-test-value":{subject:"Test Event from Postman",start:{dateTime:"2017-12-31T15:00:00",timeZone:"UTC"},end:{dateTime:"2017-12-31T15:30:00",timeZone:"UTC"},originalStartTimeZone:"Pacific Standard Time",originalEndTimeZone:"Pacific Standard Time",body:{content:"Test Body"},location:{displayName:"Redmond"},importance:"normal",isAllDay:!1,reminderMinutesBeforeStart:99,isReminderOn:!0,showAs:"busy",responseRequested:!0}},OnNewEvent_Response:{description:"value",type:"array",items:{type:"object",properties:{id:{description:"Unique id of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Id"},reminderMinutesBeforeStart:{format:"int32",description:"The number of minutes before the start of the event the reminder will fire.",type:"integer","x-ms-visibility":"advanced","x-ms-summary":"Reminder Start Duration"},isReminderOn:{description:"Set to true if the event has a reminder.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is Reminder On"},subject:{description:"Title of the event.",type:"string","x-ms-summary":"Subject"},importance:{description:"The importance of the event: Low, Normal, or High.",type:"string","x-ms-summary":"Importance"},isAllDay:{description:"Set to true if the event lasts all day.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Is All Day"},responseRequested:{description:"Set to true if the sender would like a response when the event is accepted or declined.",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Response Requested"},showAs:{description:"Status to show during the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Show As"},body:{description:"body",type:"object",properties:{contentType:{description:"Body of the message associated with the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Content Type"},content:{description:"Pick the content type: Text or Html.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Content"}},"x-ms-summary":"Body"},start:{description:"start",type:"object",properties:{dateTime:{format:"date-time",description:"Start time of the event (example: '2016-11-01T14:30:00-07:00').",type:"string","x-ms-summary":"Date Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Time Zone"}},"x-ms-summary":"Start"},end:{description:"end",type:"object",properties:{dateTime:{format:"date-time",description:"End time of the event (example: '2016-11-01T15:30:00-07:00').",type:"string","x-ms-summary":"Date Time"},timeZone:{description:"Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Time Zone"}},"x-ms-summary":"End"},location:{description:"location",type:"object",properties:{displayName:{description:"The display name for the location of the event.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Name"}},"x-ms-summary":"Location"}}},"x-ms-summary":"value"},ObjectWithoutType:{}},parameters:{groupId__in_path:{name:"groupId",in:"path",description:"Pick a group from the drop down or enter group id.",required:!0,"x-ms-summary":"Group Id","x-ms-dynamic-values":{operationId:"ListOwnedGroups_V2","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-visibility":"important",type:"string",format:"guid"},groupId__in_query:{name:"groupId",in:"query",description:"Pick a group from the drop down or enter group id.",required:!0,"x-ms-summary":"Group Id","x-ms-dynamic-values":{operationId:"ListOwnedGroups_V2","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-visibility":"important",type:"string",format:"guid"},deletedGroupId__in_path:{name:"groupId",in:"path",description:"Pick a group from the drop down or enter group id.",required:!0,"x-ms-summary":"Group Id","x-ms-visibility":"important",type:"string",format:"guid"},extractSensitivityLabel:{name:"extractSensitivityLabel",in:"query",required:!1,type:"boolean",description:"A boolean whether to extract sensitivity label Id for associated artefact.","x-ms-summary":"Extract Sensitivity Label","x-ms-visibility":"important"},fetchSensitivityLabelMetadata:{name:"fetchSensitivityLabelMetadata",in:"query",required:!1,type:"boolean",description:"A boolean whether to fetch sensitivity label Metadata for associated LabelId.","x-ms-summary":"Sensitivity Label Metadata","x-ms-visibility":"important"}},securityDefinitions:{},security:[],"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://www.office.com/"},{propertyName:"Privacy policy",propertyValue:"https://privacy.microsoft.com/"},{propertyName:"Categories",propertyValue:"AI;Business Intelligence"}],externalDocs:{url:"https://docs.microsoft.com/connectors/office365groups"}},wadlUrl:"https://pafeblobprodmw.blob.core.windows.net/apiwadls-762e21a7-39e1-4481-bece-eb883a644bfb/shared%3A2Doffice365groups?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A14Z&se=2025-07-03T09%3A05%3A14Z&sr=c&sp=rl&scid=ba619c63-7ffd-4b36-9caf-8f1e68571871&sig=0ORVFOHbkC1gJKCsbpMyy1cfbMOzbAP4jV2buw3GKKQ%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365groups"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365groups",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/office365groups",metadata:{source:"marketplace",brandColor:"#EB3C00",useNewApimVersion:"true",version:{previous:"releases/v1.0.1737\\1.0.1737.4115",current:"v1.0.1758\\1.0.1758.4260"}},capabilities:["actions","triggers"],interfaces:{},description:"Office 365 Groups lets you manage group membership and calendar events in your organization using your Office 365 account. You can perform various actions such as get group roster, add or remove members and create group events.",createdTime:"2017-09-20T15:51:12.7783962Z",changedTime:"2025-06-30T18:28:42.7965599Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},q=K;var Z={name:"shared_onedriveforbusiness",id:"/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness",type:"Microsoft.PowerApps/apis",properties:{displayName:"OneDrive for Business",iconUri:"REDACTED",iconBrandColor:"#0078D4",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{Token:{type:"oauthSetting",oAuthSettings:{identityProvider:"OneDriveForBusinessCertificate",clientId:"7ab7862c-4c57-491e-8a45-d52a7e023983",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",IsOnbehalfofLoginSupported:!0},customParameters:{Capability:{value:"MyFiles"},grantType:{value:"code"},ResourceUri:{value:"REDACTED"},ResourceUriAAD:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}},uiDefinition:{displayName:"Log in with OneDrive for Business Credentials",description:"Log in with OneDrive for Business Credentials",tooltip:"Provide OneDrive for Business Credentials",constraints:{required:"true"}}}},swagger:{swagger:"2.0",info:{version:"2.0",title:"OneDrive for Business",description:"OneDrive for Business is a cloud storage, file hosting service that allows users to sync files and later access them from a web browser or mobile device. Connect to OneDrive for Business to manage your files. You can perform various actions such as upload, update, get, and delete files.","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"},"x-ms-keywords":["onedrive","one-drive","one drive"]},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/onedriveforbusiness",schemes:["https"],paths:{"/{connectionId}/$metadata.json/datasets":{get:{tags:["OneDriveDataSetsMetadata"],operationId:"GetDataSetsMetadata",consumes:[],produces:["application/json","text/json"],responses:{200:{description:"OK",schema:{$ref:"#/definitions/DataSetsMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/datasets/default/files/{id}":{get:{tags:["OneDriveFileData"],summary:"Get file metadata",description:"This operation gets the metadata for a file.",operationId:"GetFileMetadata",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"REDACTED"}},put:{tags:["OneDriveFileData"],summary:"Update file",description:"This operation updates a file.",operationId:"UpdateFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-capabilities":{chunkTransfer:!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#update-file"}},delete:{tags:["OneDriveFileData","AgentHidden"],summary:"Delete file",description:"This operation deletes a file.",operationId:"DeleteFile",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}}],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#delete-file"}}},"/{connectionId}/datasets/default/GetFileByPath":{get:{tags:["OneDriveFileData"],summary:"Get file metadata using path",description:"This operation gets the metadata of a file using the path.",operationId:"GetFileMetadataByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#get-file-metadata-using-path"}}},"/{connectionId}/datasets/default/files/{id}/share":{post:{tags:["OneDriveFileData"],summary:"Create share link",description:"This operation creates a share link for a file.",operationId:"CreateShareLink",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The type of link",required:!0,type:"string",enum:["View","Edit","Direct"],"x-ms-summary":"Link type"},{name:"scope",in:"query",description:"The scope of the link",required:!1,type:"string",default:"Anonymous",enum:["Anonymous","Organization"],"x-ms-summary":"Link scope"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SharingLink"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"CreateShareLink",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-share-link-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/files/{id}/shareV2":{post:{tags:["OneDriveFileData"],summary:"Create share link",description:"This operation creates a share link for a file.",operationId:"CreateShareLinkV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The type of link",required:!0,type:"string",enum:["View","Edit"],"x-ms-summary":"Link type"},{name:"scope",in:"query",description:"The scope of the link",required:!1,type:"string",default:"Anonymous",enum:["Anonymous","Organization"],"x-ms-summary":"Link scope"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SharingLink"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"CreateShareLink",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-share-link"}}},"/{connectionId}/datasets/default/CreateShareLinkByPath":{post:{tags:["OneDriveFileData"],summary:"Create share link by path",description:"This operation creates a share link for a file using the path.",operationId:"CreateShareLinkByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The type of link",required:!0,type:"string",enum:["View","Edit","Direct"],"x-ms-summary":"Link type"},{name:"scope",in:"query",description:"The scope of the link",required:!1,type:"string",default:"Anonymous",enum:["Anonymous","Organization"],"x-ms-summary":"Link scope"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SharingLink"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"CreateShareLinkByPath",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-share-link-by-path-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/CreateShareLinkByPathV2":{post:{tags:["OneDriveFileData"],summary:"Create share link by path",description:"This operation creates a share link for a file using the path.",operationId:"CreateShareLinkByPathV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The type of link",required:!0,type:"string",enum:["View","Edit"],"x-ms-summary":"Link type"},{name:"scope",in:"query",description:"The scope of the link",required:!1,type:"string",default:"Anonymous",enum:["Anonymous","Organization"],"x-ms-summary":"Link scope"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SharingLink"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"CreateShareLinkByPath",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-share-link-by-path"}}},"/{connectionId}/datasets/default/GetFileContentByPath":{get:{tags:["OneDriveFileData"],summary:"Get file content using path",description:"This operation gets the content of a file using the path.",operationId:"GetFileContentByPath",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"}},default:{description:"Operation Failed."}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#get-file-content-using-path"}}},"/{connectionId}/datasets/default/files/{id}/content":{get:{tags:["OneDriveFileData"],summary:"Get file content",description:"This operation gets the content of a file.",operationId:"GetFileContent",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"}},default:{description:"Operation Failed."}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#get-file-content"}}},"/{connectionId}/datasets/default/files":{post:{tags:["OneDriveFileData"],summary:"Create file",description:"This operation creates a file.",operationId:"CreateFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderPath",in:"query",description:"The unique path of the folder.",required:!0,type:"string","x-ms-summary":"Folder Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"name",in:"query",description:"The name of the file. Certain characters are disallowed by OneDrive and will be replaced by underscores.",required:!0,type:"string","x-ms-summary":"File Name"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-capabilities":{chunkTransfer:!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#create-file"}}},"/{connectionId}/datasets/default/files/chunk":{patch:{tags:["OneDriveFileData"],operationId:"CreateFileUploadChunk",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderPath",in:"query",description:"The unique path of the folder.",required:!0,type:"string","x-ms-summary":"Folder Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"name",in:"query",description:"The name of the file. Certain characters are disallowed by OneDrive and will be replaced by underscores.",required:!0,type:"string","x-ms-summary":"File Name"},{name:"sessionId",in:"query",description:"The search query to use",required:!0,type:"string","x-ms-summary":"Search Query"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/datasets/default/files/{id}/chunk":{patch:{tags:["OneDriveFileData"],operationId:"UpdateFileUploadChunk",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"sessionId",in:"query",description:"The search query to use",required:!0,type:"string","x-ms-summary":"Search Query"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/datasets/default/files/{id}/append":{patch:{tags:["OneDriveFileData"],summary:"Append file",description:"This operation appends to a file.",operationId:"AppendFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#append-file"}}},"/{connectionId}/datasets/default/copyFile":{post:{tags:["OneDriveFileData"],summary:"Upload file from URL",description:"This operation uploads a file from a URL to OneDrive.",operationId:"CopyFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",description:"The url to the source file.",required:!0,type:"string","x-ms-summary":"Source URL"},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#upload-file-from-url"}}},"/{connectionId}/datasets/default/files/{id}/copy":{post:{tags:["OneDriveFileData"],summary:"Copy file",description:"This operation copies a file within OneDrive.",operationId:"CopyDriveFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#copy-file"}}},"/{connectionId}/datasets/default/CopyFileByPath":{post:{tags:["OneDriveFileData"],summary:"Copy file using path",description:"This operation copies a file within OneDrive by path.",operationId:"CopyDriveFileByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#copy-file-using-path"}}},"/{connectionId}/datasets/default/files/{id}/move":{post:{tags:["OneDriveFileData"],summary:"Move or rename a file",description:"This operation moves or renames a file.",operationId:"MoveFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#move-or-rename-a-file"}}},"/{connectionId}/datasets/default/MoveFileByPath":{post:{tags:["OneDriveFileData"],summary:"Move or rename a file using path",description:"This operation moves or renames a file using the path.",operationId:"MoveFileByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"destination",in:"query",description:"The destination file path, including target filename.",required:!0,type:"string","x-ms-summary":"Destination File Path"},{name:"overwrite",in:"query",description:"Overwrites the destination file if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#move-or-rename-a-file-using-path"}}},"/{connectionId}/datasets/default/files/{id}/convert":{get:{tags:["OneDriveFileData"],summary:"Convert file",description:"This operation converts a file to another format. The list of supported conversions can be found at https://aka.ms/onedriveconversions",operationId:"ConvertFile",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The target file type",required:!1,type:"string",default:"PDF",enum:["PDF","GLB","HTML","JPG"],"x-ms-summary":"Target type"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-name":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#convert-file"}}},"/{connectionId}/datasets/default/ConvertFileByPath":{get:{tags:["OneDriveFileData"],summary:"Convert file using path",description:"This operation converts a file to another format using the path. The list of supported conversions can be found at https://aka.ms/onedriveconversions",operationId:"ConvertFileByPath",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",description:"The unique path of the file.",required:!0,type:"string","x-ms-summary":"File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"type",in:"query",description:"The target file type",required:!1,type:"string",default:"PDF",enum:["PDF","GLB","HTML","JPG"],"x-ms-summary":"Target type"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-name":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#convert-file-using-path"}}},"/{connectionId}/datasets/default/files/{id}/thumbnail":{get:{tags:["OneDriveFileData"],summary:"Get file thumbnail",description:"This operation gets the thumbnail of a file. The thumbnail will only be valid for 6 hours.",operationId:"GetFileThumbnail",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the file.",required:!0,type:"string","x-ms-summary":"File","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"size",in:"query",description:"The size of the thumbnail to retrieve.",required:!0,type:"string",enum:["Small","Medium","Large"],"x-ms-summary":"Thumbnail Size"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Thumbnail"}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#get-file-thumbnail"}}},"/{connectionId}/api/blob/files/{id}":{get:{tags:["OneDriveFileData"],operationId:"GetFileMetadata_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"},put:{tags:["OneDriveFileData"],operationId:"UpdateFile_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"},delete:{tags:["OneDriveFileData"],operationId:"DeleteFile_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"}],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/GetFileByPath":{get:{tags:["OneDriveFileData"],operationId:"GetFileMetadataByPath_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",required:!0,type:"string"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/GetFileContentByPath":{get:{tags:["OneDriveFileData"],operationId:"GetFileContentByPath_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"path",in:"query",required:!0,type:"string"},{name:"inferContentType",in:"query",required:!1,type:"boolean",default:!0}],responses:{200:{description:"OK",schema:{format:"binary",type:"string"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/files/{id}/content":{get:{tags:["OneDriveFileData"],operationId:"GetFileContent_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"},{name:"inferContentType",in:"query",required:!1,type:"boolean",default:!0}],responses:{200:{description:"OK",schema:{format:"binary",type:"string"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/files":{post:{tags:["OneDriveFileData"],operationId:"CreateFile_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderPath",in:"query",required:!0,type:"string"},{name:"name",in:"query",required:!0,type:"string"},{name:"body",in:"body",description:"The content of the file.",required:!0,schema:{format:"binary",type:"string"},"x-ms-summary":"File Content"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/copyFile":{post:{tags:["OneDriveFileData"],operationId:"CopyFile_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",required:!0,type:"string"},{name:"destination",in:"query",required:!0,type:"string"},{name:"overwrite",in:"query",required:!1,type:"boolean",default:!1}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadata"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/datasets/default/triggers/onnewfile":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is created",description:"This operation triggers a flow when a new file is created in a folder. Files larger than 50 MB will be skipped and not returned by this trigger. Files moved within OneDrive are not considered new files.",operationId:"OnNewFile",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name","x-ms-visibility":"internal"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path","x-ms-visibility":"internal"},"x-ms-file-name-encoded":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"},"x-ms-file-path-encoded":{description:"The path of the file or folder.",type:"string",format:"byte","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"important","x-ms-trigger":"single","x-ms-trigger-hint":"To see it work now, add a file to the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnNewFile",revision:1},"x-ms-operation-context":{simulate:{operationId:"OnNewFileV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-created-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/triggers/onnewfilev2":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is created",description:"This operation triggers a flow when a new file is created in a folder. Files larger than 50 MB will be skipped and not returned by this trigger. Files moved within OneDrive are not considered new files.",operationId:"OnNewFileV2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders","x-ms-visibility":"advanced"},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"},{name:"simulate",in:"query",description:"Simulate this call.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Simulate","x-ms-visibility":"internal"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name","x-ms-visibility":"internal"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path","x-ms-visibility":"internal"},"x-ms-file-name-encoded":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"},"x-ms-file-path-encoded":{description:"The path of the file or folder.",type:"string",format:"byte","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-trigger":"single","x-ms-trigger-hint":"To see it work now, add a file to the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnNewFile",revision:2},"x-ms-operation-context":{simulate:{operationId:"OnNewFileV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-created"}}},"/{connectionId}/datasets/default/triggers/onupdatedfile":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is modified",description:"This operation triggers a flow when a file is modified in a folder. Files larger than 50 MB will be skipped and not returned by this trigger.",operationId:"OnUpdatedFile",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeFileContent",in:"query",required:!1,type:"boolean",default:!0,"x-ms-summary":"Include file content","x-ms-visibility":"internal"},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name","x-ms-visibility":"internal"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path","x-ms-visibility":"internal"},"x-ms-file-name-encoded":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"},"x-ms-file-path-encoded":{description:"The path of the file or folder.",type:"string",format:"byte","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work now, modify a file in the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnUpdatedFile",revision:1},"x-ms-operation-context":{simulate:{operationId:"OnUpdatedFileV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-modified-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/triggers/onupdatedfilev2":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is modified",description:"This operation triggers a flow when a file is modified in a folder. Files larger than 50 MB will be skipped and not returned by this trigger.",operationId:"OnUpdatedFileV2",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders","x-ms-visibility":"advanced"},{name:"includeFileContent",in:"query",required:!1,type:"boolean",default:!0,"x-ms-summary":"Include file content","x-ms-visibility":"internal"},{name:"inferContentType",in:"query",description:"A boolean value (true, false) to infer content-type based on extension.",required:!1,type:"boolean",default:!0,"x-ms-summary":"Infer Content Type","x-ms-visibility":"advanced"},{name:"simulate",in:"query",description:"Simulate this call.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Simulate","x-ms-visibility":"internal"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{format:"binary",description:"The content of the file.",type:"string","x-ms-summary":"File content"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name","x-ms-visibility":"internal"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path","x-ms-visibility":"internal"},"x-ms-file-name-encoded":{description:"The name of the file or folder.",type:"string",format:"byte","x-ms-summary":"File name"},"x-ms-file-path-encoded":{description:"The path of the file or folder.",type:"string",format:"byte","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work now, modify a file in the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnUpdatedFile",revision:2},"x-ms-operation-context":{simulate:{operationId:"OnUpdatedFileV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-modified"}}},"/{connectionId}/datasets/default/triggers/single/forASelectedFile":{get:{tags:["OneDriveFileDataTrigger"],summary:"For a selected file",description:"For internal use with the selected file hybrid trigger.",operationId:"ForASelectedFile",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ForASelectedFileResponse"}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal","x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the selected file hybrid trigger.","x-ms-api-annotation":{status:"Production",family:"ForASelectedFile",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#for-a-selected-file"}}},"/{connectionId}/datasets/default/triggers/batch/onnewfile":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is created (properties only)",description:"This operation triggers a flow when a new file is created in a folder. Files moved within OneDrive are not considered new files.",operationId:"OnNewFiles",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"maxFileCount",in:"query",description:"Maximum number of files to return by single trigger run (1-100). Note that 'Split On' setting can force trigger to process each item individually.",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"},"x-ms-summary":"List of Files"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a file to the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnNewFiles",revision:1},"x-ms-operation-context":{simulate:{operationId:"OnNewFilesV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-created-(properties-only)-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/triggers/batch/onnewfilesv2":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is created (properties only)",description:"This operation triggers a flow when a new file is created in a folder. Files moved within OneDrive are not considered new files.",operationId:"OnNewFilesV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders","x-ms-visibility":"advanced"},{name:"maxFileCount",in:"query",description:"Maximum number of files to return by single trigger run (1-100). Note that 'Split On' setting can force trigger to process each item individually.",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"},{name:"simulate",in:"query",description:"Simulate this call.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Simulate","x-ms-visibility":"internal"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"},"x-ms-summary":"List of Files"}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a file to the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnNewFiles",revision:2},"x-ms-operation-context":{simulate:{operationId:"OnNewFilesV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-created-(properties-only)"}}},"/{connectionId}/datasets/default/triggers/batch/onupdatedfile":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is modified (properties only)",description:"This operation triggers a flow when a file is modified in a folder.",operationId:"OnUpdatedFiles",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"maxFileCount",in:"query",description:"Maximum number of files to return by single trigger run (1-100). Note that 'Split On' setting can force trigger to process each item individually.",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"},"x-ms-summary":"List of Files"}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, modify a file in the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnUpdatedFiles",revision:1},"x-ms-operation-context":{simulate:{operationId:"OnUpdatedFilesV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-modified-(properties-only)-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/triggers/batch/onupdatedfilesv2":{get:{tags:["OneDriveFileDataTrigger"],summary:"When a file is modified (properties only)",description:"This operation triggers a flow when a file is modified in a folder.",operationId:"OnUpdatedFilesV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders","x-ms-visibility":"advanced"},{name:"maxFileCount",in:"query",description:"Maximum number of files to return by single trigger run (1-100). Note that 'Split On' setting can force trigger to process each item individually.",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"},{name:"simulate",in:"query",description:"Simulate this call.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Simulate","x-ms-visibility":"internal"},{name:"x-ms-operation-context",in:"header",description:"Special header to enable operation simulation",required:!1,type:"string","x-ms-summary":"x-ms-operation-context","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"},"x-ms-summary":"List of Files"}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, modify a file in the OneDrive folder you selected.","x-ms-api-annotation":{status:"Production",family:"OnUpdatedFiles",revision:2},"x-ms-operation-context":{simulate:{operationId:"OnUpdatedFilesV2",parameters:{simulate:!0}}},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#when-a-file-is-modified-(properties-only)"}}},"/{connectionId}/api/trigger/onnewfile":{get:{tags:["OneDriveFileDataTrigger"],operationId:"OnNewFile_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",required:!0,type:"string"},{name:"inferContentType",in:"query",required:!1,type:"boolean",default:!0}],responses:{200:{description:"OK",schema:{format:"binary",type:"string"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal","x-ms-trigger":"single"}},"/{connectionId}/api/trigger/onupdatedfile":{get:{tags:["OneDriveFileDataTrigger"],operationId:"OnUpdatedFile_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"folderId",in:"query",required:!0,type:"string"},{name:"includeFileContent",in:"query",required:!1,type:"boolean",default:!0},{name:"inferContentType",in:"query",required:!1,type:"boolean",default:!0}],responses:{200:{description:"OK",schema:{format:"binary",type:"string"},headers:{"x-ms-file-id":{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"File identifier"},"x-ms-file-name":{description:"The name of the file or folder.",type:"string","x-ms-summary":"File name"},"x-ms-file-path":{description:"The path of the file or folder.",type:"string","x-ms-summary":"File path"},"x-ms-file-etag":{description:"The etag of the file or folder.",type:"string","x-ms-summary":"File entity tag"},"Content-Type":{description:"The content type of the file or folder.",type:"string","x-ms-summary":"File content type"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal","x-ms-trigger":"single"}},"/{connectionId}/datasets/default/folders/{id}":{get:{tags:["OneDriveFolderData"],summary:"List files in folder",description:"This operation gets the list of files and subfolders in a folder.",operationId:"ListFolder",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"includeSubfolders",in:"query",description:"Include items in subfolders",required:!1,type:"boolean",default:!1,"x-ms-summary":"Include subfolders"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},deprecated:!0,"x-ms-visibility":"advanced","x-ms-api-annotation":{status:"Production",family:"ListFolder",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#list-files-in-folder-%5bdeprecated%5d"}}},"/{connectionId}/datasets/default/foldersV2/{id}":{get:{tags:["OneDriveFolderData"],summary:"List files in folder",description:"This operation gets the list of files and subfolders in a folder.",operationId:"ListFolderV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"skipToken",in:"query",required:!1,type:"string",default:"","x-ms-summary":"","x-ms-visibility":"internal"},{name:"top",in:"query",description:"The number of results to return.",required:!1,type:"integer",format:"int32",default:20,"x-ms-summary":"Top","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/BlobMetadataPage"}},default:{description:"Operation Failed."}},"x-ms-visibility":"important","x-ms-pageable":{nextLinkName:"nextLink"},"x-ms-api-annotation":{status:"Production",family:"ListFolder",revision:2},"x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#list-files-in-folder"}}},"/{connectionId}/datasets/default/folders":{get:{tags:["OneDriveFolderData"],summary:"List files in root folder",description:"This operation gets the list of files and subfolders in the root folder.",operationId:"ListRootFolder",consumes:[],produces:["application/json","text/json"],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced","x-ms-openai-data":{"openai-enabled":!0},externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#list-files-in-root-folder"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/datasets/default/rootfolders":{get:{tags:["OneDriveFolderData"],summary:"Lists all the root folders",description:"This operation gets the list of root folders.",operationId:"ListAllRootFolders",consumes:[],produces:["application/json","text/json"],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#lists-all-the-root-folders"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/datasets/default/extractFolderV2":{post:{tags:["OneDriveFolderData"],summary:"Extract archive to folder",description:"This operation extracts an archive file into a folder (example: .zip). Maximum archive size is 50 MB and 100 files inside.",operationId:"ExtractFolderV2",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",description:"The path to the archive file.",required:!0,type:"string","x-ms-summary":"Source Archive File Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!1,fileFilter:["application/zip","application/x-zip-compressed"],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)",selectableFilter:"(MediaType eq 'application/zip' or MediaType eq 'application/x-zip-compressed')"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)",selectableFilter:"(MediaType eq 'application/zip' or MediaType eq 'application/x-zip-compressed')"}}},{name:"destination",in:"query",description:"The path to extract the archive contents.",required:!0,type:"string","x-ms-summary":"Destination Folder Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"overwrite",in:"query",description:"Overwrites the destination files if set to 'true'.",required:!1,type:"boolean",default:!1,"x-ms-summary":"Overwrite"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#extract-archive-to-folder"}}},"/{connectionId}/datasets/default/folders/{id}/search":{get:{tags:["OneDriveFolderData"],summary:"Find files in folder",description:"This operation finds files within a folder using search or name pattern match.",operationId:"FindFiles",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"query",in:"query",description:"The search query to use",required:!0,type:"string","x-ms-summary":"Search Query"},{name:"id",in:"path",description:"The unique identifier of the folder.",required:!0,type:"string","x-ms-summary":"Folder","x-ms-url-encoding":"double","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Id"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!0,canSelectLeafNodes:!1},open:{operationId:"ListAllRootFolders",itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Id",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"findMode",in:"query",description:'The search method to use. "Search" mode searches your OneDrive using the search query (similar a normal search engine). When "Regular Expression Pattern Match" mode is selected, the search query will be treated as a regex pattern, and it will return files with names that match the query',required:!0,type:"string",enum:["OneDriveSearch","Pattern"],"x-ms-summary":"File Search Mode"},{name:"maxFileCount",in:"query",description:"Maximum number of files to return (1-100)",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#find-files-in-folder"}}},"/{connectionId}/datasets/default/findFile":{get:{tags:["OneDriveFolderData"],summary:"Find files in folder by path",description:"This operation finds files within a folder by path using search or name pattern match.",operationId:"FindFilesByPath",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"query",in:"query",description:"The search query to use",required:!0,type:"string","x-ms-summary":"Search Query"},{name:"path",in:"query",description:"The unique path of the folder.",required:!0,type:"string","x-ms-summary":"Folder Path","x-ms-dynamic-values":{capability:"file-picker",parameters:{isFolder:!0,fileFilter:[],dataset:null},"value-path":"Path"},"x-ms-dynamic-tree":{settings:{canSelectParentNodes:!1,canSelectLeafNodes:!0},open:{operationId:"ListAllRootFolders",itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"},browse:{operationId:"ListFolder",parameters:{id:{selectedItemValuePath:"Id"}},itemValuePath:"Path",itemTitlePath:"DisplayName",itemFullTitlePath:"Path",itemIsParent:"(IsFolder eq true)"}}},{name:"findMode",in:"query",description:'The search method to use. "Search" mode searches your OneDrive using the search query (similar a normal search engine). When "Regular Expression Pattern Match" mode is selected, the search query will be treated as a regex pattern, and it will return files with names that match the query',required:!0,type:"string",enum:["OneDriveSearch","Pattern"],"x-ms-summary":"File Search Mode"},{name:"maxFileCount",in:"query",description:"Maximum number of files to return (1-100)",required:!1,type:"integer",format:"int32",default:10,"x-ms-summary":"Number of files to return","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"advanced",externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness/#find-files-in-folder-by-path"}}},"/{connectionId}/api/blob/folders/{id}":{get:{tags:["OneDriveFolderData"],operationId:"ListFolder_Old",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"id",in:"path",required:!0,type:"string","x-ms-url-encoding":"double"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/api/blob/folders":{get:{tags:["OneDriveFolderData"],operationId:"ListRootFolder_Old",consumes:[],produces:["application/json","text/json"],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/BlobMetadata"}}},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/api/blob/extractFolder":{post:{tags:["OneDriveFolderData"],operationId:"ExtractFolder_Old",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"source",in:"query",required:!0,type:"string"},{name:"destination",in:"query",required:!0,type:"string"},{name:"overwrite",in:"query",required:!1,type:"boolean",default:!1}],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},"x-ms-visibility":"internal"}},"/{connectionId}/testconnection":{get:{tags:["OneDriveTestConnection"],operationId:"TestConnection",consumes:[],produces:[],responses:{200:{description:"OK"},default:{description:"Operation Failed."}},"x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}}},definitions:{DataSetsMetadata:{description:"Dataset metadata",type:"object",properties:{tabular:{$ref:"#/definitions/TabularDataSetsMetadata"},blob:{$ref:"#/definitions/BlobDataSetsMetadata"}}},TabularDataSetsMetadata:{description:"Tabular dataset metadata",type:"object",properties:{source:{description:"Dataset source",type:"string"},displayName:{description:"Dataset display name",type:"string"},urlEncoding:{description:"Dataset url encoding",type:"string"},tableDisplayName:{description:"Table display name",type:"string"},tablePluralName:{description:"Table plural display name",type:"string"}}},BlobDataSetsMetadata:{description:"Blob dataset metadata",type:"object",properties:{source:{description:"Blob dataset source",type:"string"},displayName:{description:"Blob dataset display name",type:"string"},urlEncoding:{description:"Blob dataset url encoding",type:"string"}}},BlobMetadata:{description:"Blob metadata",type:"object",properties:{Id:{description:"The unique identifier of the file or folder.",type:"string","x-ms-summary":"Id"},Name:{description:"The name of the file or folder.",type:"string","x-ms-summary":"Name"},NameNoExt:{description:"The name of the file or folder, without the file extension.",type:"string","x-ms-summary":"Name without extension"},DisplayName:{description:"The display name of the file or folder.",type:"string","x-ms-summary":"Display name"},Path:{description:"The path of the file or folder.",type:"string","x-ms-summary":"Path"},LastModified:{format:"date-time",description:"The date and time the file or folder was last modified.",type:"string","x-ms-summary":"Last modified time"},Size:{format:"int64",description:"The file or folder size in bytes.",type:"integer","x-ms-summary":"Size"},MediaType:{description:"The media type of the file or folder.",type:"string","x-ms-summary":"Media type"},IsFolder:{description:"A boolean value (true, false) to indicate whether or not the blob is a folder.",type:"boolean","x-ms-summary":"Is folder?"},ETag:{description:"The etag of the file or folder.",type:"string","x-ms-summary":"ETag"},FileLocator:{description:"The file locator of the file or folder.",type:"string","x-ms-summary":"File locator"},LastModifiedBy:{description:"The user who last modified the file or folder.",type:"string","x-ms-summary":"Last modified by"}}},SharingLink:{type:"object",properties:{WebUrl:{description:"A URL that points to the file or folder.",type:"string","x-ms-summary":"Web URL"}}},Tags:{description:"Tags",type:"object",properties:{Tags:{description:"A list of tags.",type:"array",items:{type:"string"},"x-ms-summary":"Tags"}}},Thumbnail:{description:"Thumbnail response data",type:"object",properties:{Url:{description:"A URL that points to the thumbnail.",type:"string","x-ms-summary":"Url"},Width:{format:"int32",description:"The thumbnail width in pixels.",type:"integer","x-ms-summary":"Width"},Height:{format:"int32",description:"The thumbnail height in pixels.",type:"integer","x-ms-summary":"Height"}}},ForASelectedFileResponse:{description:"For a selected file hybrid trigger response",type:"object",properties:{filePath:{description:"The unique path of the file.",type:"string"},fileUrl:{description:"The URL to the source file.",type:"string"}}},BlobMetadataPage:{description:"Represents a page of blob metadata.",type:"object",properties:{value:{description:"Blob metadata collection.",type:"array",items:{$ref:"#/definitions/BlobMetadata"},readOnly:!0},nextLink:{description:"A URL which can be used to retrieve the next page.",type:"string"}}}},"x-ms-capabilities":{"file-picker":{open:{operationId:"ListAllRootFolders"},browse:{operationId:"ListFolder",parameters:{id:{"value-property":"Id"}}},"value-title":"DisplayName","value-folder-property":"IsFolder","value-media-property":"MediaType"},testConnection:{operationId:"TestConnection",parameters:{}}},"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://products.office.com/onedrive/onedrive-for-business"}],externalDocs:{url:"https://docs.microsoft.com/connectors/onedriveforbusiness"}},wadlUrl:"https://pafeblobprodcy.blob.core.windows.net/apiwadls-3db52f95-0598-4834-9b40-b6ee71a8ac8a/shared%3A2Donedriveforbusiness?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A19Z&se=2025-07-03T09%3A05%3A19Z&sr=c&sp=rl&scid=807b4155-8580-4132-aefe-b982e95f1f07&sig=9HUPA0D2ovb7VcXxodA5YqLTdTdOZs6VRW%2B%2B5eHzklc%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/onedriveforbusiness"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/onedriveforbusiness",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/onedriveforbusiness",metadata:{source:"marketplace",brandColor:"#0078D4",useNewApimVersion:"true",version:{previous:"releases/v1.0.1732\\1.0.1732.4078",current:"v1.0.1751\\1.0.1751.4207"}},capabilities:["blob"],interfaces:{CDPBlob0:{revisions:{1:{baseUrl:"/",status:"Production",deprecated:!0}}},CDPBlob1:{revisions:{1:{baseUrl:"/",status:"Production"}}}},description:"OneDrive for Business is a cloud storage, file hosting service that allows users to sync files and later access them from a web browser or mobile device. Connect to OneDrive for Business to manage your files. You can perform various actions such as upload, update, get, and delete files.",createdTime:"2016-10-13T00:31:31.4041469Z",changedTime:"2025-04-30T16:55:51.1422291Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:["Read your user profile","Create, read, update, and delete files"],wont:[]},rateLimit:0,apiVersion:"None"}},w=Z;var Q={name:"shared_powerappsforappmakers",id:"/providers/Microsoft.PowerApps/apis/shared_powerappsforappmakers",type:"Microsoft.PowerApps/apis",properties:{displayName:"Power Apps for Makers",iconUri:"REDACTED",iconBrandColor:"#742774",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"9df0cbb7-aca1-44c2-8df8-02677d66c3ca",scopes:[],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"REDACTED",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED"},loginUri:{value:"REDACTED"},LoginUriAAD:{value:"REDACTED"}}}}},swagger:{swagger:"2.0",info:{title:"Power Apps for Makers",description:"Power Apps Management Connector for Makers",version:"1.0","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/powerappsforappmakers",schemes:["https"],consumes:[],produces:[],paths:{"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}":{get:{responses:{200:{description:"OK.",schema:{$ref:"#/definitions/PowerApp"}}},summary:"Get App",description:"Returns a PowerApp.",operationId:"Get-App",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01","x-ms-summary":"API Version",description:"The date value of the API version."}],externalDocs:{url:"REDACTED"}},delete:{responses:{200:{description:"No Content."}},summary:"Remove App",description:"Deletes a PowerApp.",operationId:"Remove-App",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01",description:"The date value of the API version.","x-ms-summary":"API Version"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#remove-app"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/publish":{post:{responses:{200:{description:"No Content."}},summary:"Publish App",description:"Publishes the latest saved version of a PowerApp to all users with view access.",operationId:"Publish-App",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string","x-ms-summary":"PowerApp Name",description:"Name field of the PowerApp."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01",description:"The date value of the API version.","x-ms-summary":"API Version"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#publish-app"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/displayName":{put:{responses:{200:{description:"No Content."}},summary:"Set App Display Name",description:"Updates the display name of a PowerApp.",operationId:"Set-AppDisplayName",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"Content-Type",in:"header",required:!1,type:"string",default:"application/json","x-ms-summary":"Content Type",description:"The content type of the API request."},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{displayName:{type:"string",description:"Display Name of App."}}}}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#set-app-display-name"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/versions":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},tags:{type:"object",properties:{primaryDeviceWidth:{type:"string",description:"The field primaryDeviceWidth."},primaryDeviceHeight:{type:"string",description:"The field primaryDeviceHeight."},sienaVersion:{type:"string",description:"The field sienaVersion."},deviceCapabilities:{type:"string",description:"The field deviceCapabilities."},supportsPortrait:{type:"string",description:"The field supportsPortrait."},supportsLandscape:{type:"string",description:"The field supportsLandscape."},primaryFormFactor:{type:"string",description:"The field primaryFormFactor."},publisherVersion:{type:"string",description:"The field publisherVersion."},minimumRequiredApiVersion:{type:"string",description:"The field minimumRequiredApiVersion."}},description:"The field tags."},properties:{type:"object",properties:{ownerTenantId:{type:"string",description:"The field ownerTenantId."},app:{type:"string",description:"The field app."},appVersion:{type:"string",format:"date-time",description:"The field appVersion."},lifeCycleId:{type:"string",description:"The field lifeCycleId."},createdByClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field createdByClientVersion."},minClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field minClientVersion."},appDefinition:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},tags:{type:"object",properties:{primaryDeviceWidth:{type:"string",description:"The field primaryDeviceWidth."},primaryDeviceHeight:{type:"string",description:"The field primaryDeviceHeight."},sienaVersion:{type:"string",description:"The field sienaVersion."},deviceCapabilities:{type:"string",description:"The field deviceCapabilities."},supportsPortrait:{type:"string",description:"The field supportsPortrait."},supportsLandscape:{type:"string",description:"The field supportsLandscape."},primaryFormFactor:{type:"string",description:"The field primaryFormFactor."},publisherVersion:{type:"string",description:"The field publisherVersion."},minimumRequiredApiVersion:{type:"string",description:"The field minimumRequiredApiVersion."}},description:"The field tags."},properties:{type:"object",properties:{appVersion:{type:"string",format:"date-time",description:"The field appVersion."},lastDraftVersion:{type:"string",format:"date-time",description:"The field lastDraftVersion."},lifeCycleId:{type:"string",description:"The field lifeCycleId."},status:{type:"string",description:"The field status."},createdByClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field createdByClientVersion."},minClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field minClientVersion."},owner:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field owner."},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},lastModifiedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastModifiedBy."},lastPublishedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastPublishedBy."},backgroundColor:{type:"string",description:"The field backgroundColor."},backgroundImageUri:{type:"string",description:"The field backgroundImageUri."},displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},appUris:{type:"object",properties:{documentUri:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field documentUri."},imageUris:{type:"array",items:{type:"string"},description:"The field imageUris."}},description:"The field appUris."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},lastPublishTime:{type:"string",format:"date-time",description:"The field lastPublishTime."},sharedGroupsCount:{type:"integer",format:"int32",description:"The field sharedGroupsCount."},sharedUsersCount:{type:"integer",format:"int32",description:"The field sharedUsersCount."},appOpenProtocolUri:{type:"string",description:"The field appOpenProtocolUri."},appOpenUri:{type:"string",description:"The field appOpenUri."},userAppMetadata:{type:"object",properties:{favorite:{type:"string",description:"The field favorite."},includeInAppsList:{type:"boolean",description:"The field includeInAppsList."}},description:"The field userAppMetadata."},isFeaturedApp:{type:"boolean",description:"The field isFeaturedApp."},bypassConsent:{type:"boolean",description:"The field bypassConsent."},isHeroApp:{type:"boolean",description:"The field isHeroApp."},environment:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."}},description:"The field environment."}},description:"The field properties."}},description:"The field appDefinition."}},description:"The field properties."}}},description:"The field value."}}}}},summary:"Get App Versions",description:"Returns a list of versions for a given PowerApp.",operationId:"Get-AppVersions",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Apps versions to return.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],"x-ms-pageable":{nextLinkName:"nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-app-versions"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/versions/{appVersionName}/promote":{post:{responses:{200:{description:"default",schema:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},tags:{type:"object",properties:{primaryDeviceWidth:{type:"string",description:"The field primaryDeviceWidth."},primaryDeviceHeight:{type:"string",description:"The field primaryDeviceHeight."},sienaVersion:{type:"string",description:"The field sienaVersion."},deviceCapabilities:{type:"string",description:"The field deviceCapabilities."},supportsPortrait:{type:"string",description:"The field supportsPortrait."},supportsLandscape:{type:"string",description:"The field supportsLandscape."},primaryFormFactor:{type:"string",description:"The field primaryFormFactor."},publisherVersion:{type:"string",description:"The field publisherVersion."},minimumRequiredApiVersion:{type:"string",description:"The field minimumRequiredApiVersion."}},description:"The field tags."},properties:{type:"object",properties:{appVersion:{type:"string",format:"date-time",description:"The field appVersion."},lastDraftVersion:{type:"string",format:"date-time",description:"The field lastDraftVersion."},lifeCycleId:{type:"string",description:"The field lifeCycleId."},status:{type:"string",description:"The field status."},createdByClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field createdByClientVersion."},minClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field minClientVersion."},owner:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field owner."},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},lastModifiedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastModifiedBy."},lastPublishedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastPublishedBy."},backgroundColor:{type:"string",description:"The field backgroundColor."},backgroundImageUri:{type:"string",description:"The field backgroundImageUri."},displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},appUris:{type:"object",properties:{documentUri:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field documentUri."},imageUris:{type:"array",items:{type:"string"},description:"The field imageUris."}},description:"The field appUris."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},lastPublishTime:{type:"string",format:"date-time",description:"The field lastPublishTime."},sharedGroupsCount:{type:"integer",format:"int32",description:"The field sharedGroupsCount."},sharedUsersCount:{type:"integer",format:"int32",description:"The field sharedUsersCount."},appOpenProtocolUri:{type:"string",description:"The field appOpenProtocolUri."},appOpenUri:{type:"string",description:"The field appOpenUri."},userAppMetadata:{type:"object",properties:{favorite:{type:"string",description:"The field favorite."},includeInAppsList:{type:"boolean",description:"The field includeInAppsList."}},description:"The field userAppMetadata."},isFeaturedApp:{type:"boolean",description:"The field isFeaturedApp."},bypassConsent:{type:"boolean",description:"The field bypassConsent."},isHeroApp:{type:"boolean",description:"The field isHeroApp."},environment:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."}},description:"The field environment."}},description:"The field properties."}}}}},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string",description:"Name field of the PowerApp.","x-ms-summary":"PowerApp Name"},{name:"appVersionName",in:"path",required:!0,type:"string",description:"Version field of the PowerApp.","x-ms-summary":"PowerApp Version"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."}],summary:"Restore App Version",description:"Restores the specified App Version as the current version.",operationId:"Restore-AppVersion",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#restore-app-version"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/permissions":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{roleName:{type:"string",description:"The field roleName."},principal:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."}},description:"The field principal."},scope:{type:"string",description:"The field scope."},notifyShareTargetOption:{type:"string",description:"The field notifyShareTargetOption."}},description:"The field properties."}}},description:"The field value."}}}}},summary:"Get App Role Assignments",description:"Returns a list of permissions for the specified PowerApp name.",operationId:"Get-AppRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string","x-ms-summary":"PowerApp Name",description:"Name field of the PowerApp."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of App Role Assignments.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],"x-ms-pageable":{nextLinkName:"nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-app-role-assignments"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps/{app}/modifyPermissions":{post:{responses:{200:{description:"default",schema:{type:"object",properties:{put:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"The field id."},properties:{type:"object",properties:{roleName:{type:"string",description:"The field roleName."},scope:{type:"string",description:"The field scope."},principal:{type:"object",properties:{id:{type:"string",description:"The field id."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."}},description:"The field principal."},resourceResponses:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"The field id."},statusCode:{type:"string",description:"The field statusCode."},responseCode:{type:"string",description:"The field responseCode."},message:{type:"string",description:"The field message."},type:{type:"string",description:"The field type."}}},description:"The field resourceResponses."}},description:"The field properties."}}},description:"The field put."}}}}},summary:"Edit App Role Assignment",description:"Sets permissions to a PowerApp.",operationId:"Edit-AppRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"app",in:"path",required:!0,type:"string","x-ms-summary":"PowerApp Name",description:"Name field of the PowerApp."},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"Content-Type",in:"header",required:!1,type:"string",default:"application/json","x-ms-summary":"Content Type",description:"The content type of the API request."},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{delete:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"Role Id of User."}}},description:"delete"},put:{type:"array",items:{type:"object",properties:{properties:{type:"object",properties:{principal:{type:"object",properties:{email:{type:"string",description:"Email of the User."},tenantId:{type:"string",description:"Tenant Id of the User."},id:{type:"string",description:"ID of the user."},type:{type:"string",description:"Type of User."}},description:"principal"},NotifyShareTargetOption:{type:"string",description:"Notify ShareTarget Option.",enum:["Notify","DoNotNotify"]},roleName:{type:"string",description:"Role Name of User."}},description:"properties"}}},description:"put"}}}}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#edit-app-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/connections":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{apiId:{type:"string",description:"The field apiId."},displayName:{type:"string",description:"The field displayName."},iconUri:{type:"string",description:"The field iconUri."},statuses:{type:"array",items:{type:"object",properties:{status:{type:"string",description:"The field status."},target:{type:"string",description:"The field target."},error:{type:"object",properties:{code:{type:"string",description:"The field code."},message:{type:"string",description:"The field message."}},description:"The field error."}}},description:"The field statuses."},connectionParameters:{type:"object",properties:{sku:{type:"string",description:"The field sku."},workflowName:{type:"string",description:"The field workflowName."},workflowPath:{type:"string",description:"The field workflowPath."},workflowEndpoint:{type:"string",description:"The field workflowEndpoint."},workFlowCallbackUri:{type:"string",description:"The field workFlowCallbackUri."},$connections:{type:"object",properties:{shared_msnweather:{type:"object",properties:{apiId:{type:"string",description:"The field apiId."},connectionId:{type:"string",description:"The field connectionId."},source:{type:"string",description:"The field source."}},description:"The field shared_msnweather."},shared_flowpush:{type:"object",properties:{apiId:{type:"string",description:"The field apiId."},connectionId:{type:"string",description:"The field connectionId."},source:{type:"string",description:"The field source."}},description:"The field shared_flowpush."}},description:"The field $connections."},server:{type:"string",description:"The field server."},database:{type:"string",description:"The field database."}},description:"The field connectionParameters."},keywordsRemaining:{type:"integer",format:"int32",description:"The field keywordsRemaining."},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},environment:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."}},description:"The field environment."},metadata:{type:"object",properties:{shared_msnweather:{type:"string",description:"The field shared_msnweather."},shared_flowpush:{type:"string",description:"The field shared_flowpush."}},description:"The field metadata."},expirationTime:{type:"string",format:"date-time",description:"The field expirationTime."},testLinks:{type:"array",items:{type:"object",properties:{requestUri:{type:"string",description:"The field requestUri."},method:{type:"string",description:"The field method."}}},description:"The field testLinks."}},description:"The field properties."}}},description:"The field value."}}}}},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Connections.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Connections",description:"Returns a list of Connections.",operationId:"Get-Connections",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connections"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/connections/{connectionName}":{delete:{responses:{200:{description:"No Content."}},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"connectionName",in:"path",required:!0,type:"string","x-ms-summary":"Connection Name",description:"Name field of the Connection."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."}],summary:"Remove Connection",description:"Deletes a Connection.",operationId:"Remove-Connection",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#remove-connection"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/connections/{connectionName}/permissions":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{roleName:{type:"string",description:"The field roleName."},principal:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."}},description:"The field principal."},notifyShareTargetOption:{type:"string",description:"The field notifyShareTargetOption."}},description:"The field properties."}}},description:"The field value."}}}}},summary:"Get Connection Role Assignment",description:"Returns a list of permissions to a Connection.",operationId:"Get-ConnectionRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"connectionName",in:"path",required:!0,type:"string",description:"Name field of the Connection.","x-ms-summary":"Connection Name"},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Connection Role Assignments.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],"x-ms-pageable":{nextLinkName:"nextLink"},externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connection-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/connections/{connectionName}/modifyPermissions":{post:{responses:{200:{description:"No Content."}},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"connectionName",in:"path",required:!0,type:"string","x-ms-summary":"Connection Name",description:"Name field of the Connection."},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"Content-Type",in:"header",required:!1,type:"string",default:"application/json","x-ms-summary":"Content Type",description:"The content type of the API request."},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{delete:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"Role Id of User."}}},description:"delete"},put:{type:"array",items:{type:"object",properties:{properties:{type:"object",properties:{principal:{type:"object",properties:{email:{type:"string",description:"Email of User."},tenantId:{type:"string",description:"TenantId of User."},id:{type:"string",description:"Id of User."},type:{type:"string",description:"Type of User."}},description:"principal"},NotifyShareTargetOption:{type:"string",description:"NotifyShareTargetOption of User.",enum:["Notify","DoNotNotify"]},roleName:{type:"string",description:"RoleName of User."}},description:"properties"}}},description:"put"}}}}],summary:"Edit Connection Role Assignment",description:"Sets permissions to a Connection.",operationId:"Edit-ConnectionRoleAssignment",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#edit-connection-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},iconUri:{type:"string",description:"The field iconUri."},iconBrandColor:{type:"string",description:"The field iconBrandColor."},apiEnvironment:{type:"string",description:"The field apiEnvironment."},isCustomApi:{type:"boolean",description:"The field isCustomApi."},connectionParameters:{type:"object",properties:{token:{type:"object",properties:{type:{type:"string",description:"The field type."},oAuthSettings:{type:"object",properties:{identityProvider:{type:"string",description:"The field identityProvider."},clientId:{type:"string",description:"The field clientId."},scopes:{type:"array",items:{type:"string"},description:"The field scopes."},redirectUrl:{type:"string",description:"The field redirectUrl."},properties:{type:"object",properties:{IsFirstParty:{type:"string",description:"The field IsFirstParty."}},description:"The field properties."},customParameters:{type:"object",properties:{capability:{type:"object",properties:{value:{type:"string",description:"The field value."}},description:"The field capability."}},description:"The field customParameters."}},description:"The field oAuthSettings."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{required:{type:"string",description:"The field required."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field token."}},description:"The field connectionParameters."},runtimeUrls:{type:"array",items:{type:"string"},description:"The field runtimeUrls."},primaryRuntimeUrl:{type:"string",description:"The field primaryRuntimeUrl."},metadata:{type:"object",properties:{source:{type:"string",description:"The field source."},brandColor:{type:"string",description:"The field brandColor."}},description:"The field metadata."},capabilities:{type:"array",items:{type:"string"},description:"The field capabilities."},interfaces:{type:"object",properties:{CDPBlob0:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."},deprecated:{type:"boolean",description:"The field deprecated."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPBlob0."},CDPBlob1:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPBlob1."}},description:"The field interfaces."},description:{type:"string",description:"The field description."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},changedTime:{type:"string",format:"date-time",description:"The field changedTime."},releaseTag:{type:"string",description:"The field releaseTag."},tier:{type:"string",description:"The field tier."},publisher:{type:"string",description:"The field publisher."},scopes:{type:"object",properties:{will:{type:"array",items:{type:"string"},description:"The field will."},wont:{type:"array",items:{type:"string"},description:"The field wont."}},description:"The field scopes."}},description:"The field properties."}}}}},summary:"Get Connector",description:"Returns a Connector.",operationId:"Get-Connector",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string",description:"Name field of the Connector.","x-ms-summary":"Connector Name"},{name:"$filter",in:"query",required:!1,type:"string","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01",description:"The date value of the API version.","x-ms-summary":"API Version"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connector"}},delete:{responses:{200:{description:"No Content."}},summary:"Remove Connector",description:"Deletes a Connector.",operationId:"Remove-Connector",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#remove-connector"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/permissions":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{roleName:{type:"string",description:"The field roleName."},principal:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."}},description:"The field principal."},notifyShareTargetOption:{type:"string",description:"The field notifyShareTargetOption."}},description:"The field properties."}}},description:"The field value."}}}}},"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Connector Role Assignment",description:"Returns a list of permissions for the specified Connector.",operationId:"Get-ConnectorRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''","x-ms-summary":"Filter Query",description:"A filter query parameter."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Connector Role Assignments.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connector-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis/{connectorName}/modifyPermissions":{post:{responses:{200:{description:"No Content."}},summary:"Edit Connector Role Assignment",description:"Sets permissions to a Connector.",operationId:"Edit-ConnectorRoleAssignment",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"connectorName",in:"path",required:!0,type:"string","x-ms-summary":"Connector Name",description:"Name field of the Connector."},{name:"api-version",in:"query",required:!1,type:"string",default:"2017-06-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$filter",in:"query",required:!1,type:"string",default:"environment eq ''",description:"A filter query parameter.","x-ms-summary":"Filter Query"},{name:"Content-Type",in:"header",required:!1,type:"string",default:"application/json","x-ms-summary":"Content Type",description:"The content type of the API request."},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{delete:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"Role id of User."}}},description:"delete"},put:{type:"array",items:{type:"object",properties:{properties:{type:"object",properties:{principal:{type:"object",properties:{email:{type:"string",description:"Email of User."},tenantId:{type:"string",description:"TenantId of User."},id:{type:"string",description:"Id of User."},type:{type:"string",description:"Type of User."}},description:"principal"},NotifyShareTargetOption:{type:"string",description:"NotifyShareTargetOption of User.",enum:["Notify","DoNotNotify"]},roleName:{type:"string",description:"RoleName of User."}},description:"properties"}}},description:"put"}}}}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#edit-connector-role-assignment"}}},"/{connectionId}/providers/Microsoft.PowerApps/apis":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},iconUri:{type:"string",description:"The field iconUri."},iconBrandColor:{type:"string",description:"The field iconBrandColor."},apiEnvironment:{type:"string",description:"The field apiEnvironment."},isCustomApi:{type:"boolean",description:"The field isCustomApi."},connectionParameters:{type:"object",properties:{token:{type:"object",properties:{type:{type:"string",description:"The field type."},oAuthSettings:{type:"object",properties:{identityProvider:{type:"string",description:"The field identityProvider."},clientId:{type:"string",description:"The field clientId."},scopes:{type:"array",items:{type:"string"},description:"The field scopes."},redirectUrl:{type:"string",description:"The field redirectUrl."},properties:{type:"object",properties:{IsFirstParty:{type:"string",description:"The field IsFirstParty."}},description:"The field properties."},customParameters:{type:"object",properties:{capability:{type:"object",properties:{value:{type:"string",description:"The field value."}},description:"The field capability."}},description:"The field customParameters."}},description:"The field oAuthSettings."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{required:{type:"string",description:"The field required."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field token."},gateway:{type:"object",properties:{type:{type:"string",description:"The field type."},gatewaySettings:{type:"object",properties:{dataSourceType:{type:"string",description:"The field dataSourceType."},connectionDetails:{type:"array",items:{type:"string"},description:"The field connectionDetails."}},description:"The field gatewaySettings."},uiDefinition:{type:"object",properties:{tabIndex:{type:"integer",format:"int32",description:"The field tabIndex."},constraints:{type:"object",properties:{hidden:{type:"string",description:"The field hidden."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field gateway."},authType:{type:"object",properties:{type:{type:"string",description:"The field type."},allowedValues:{type:"array",items:{type:"object",properties:{value:{type:"string",description:"The field value."}}},description:"The field allowedValues."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{tabIndex:{type:"integer",format:"int32",description:"The field tabIndex."},required:{type:"string",description:"The field required."},allowedValues:{type:"array",items:{type:"object",properties:{text:{type:"string",description:"The field text."},value:{type:"string",description:"The field value."}}},description:"The field allowedValues."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field authType."},username:{type:"object",properties:{type:{type:"string",description:"The field type."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{tabIndex:{type:"integer",format:"int32",description:"The field tabIndex."},clearText:{type:"boolean",description:"The field clearText."},required:{type:"string",description:"The field required."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field username."},password:{type:"object",properties:{type:{type:"string",description:"The field type."},uiDefinition:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},tooltip:{type:"string",description:"The field tooltip."},constraints:{type:"object",properties:{tabIndex:{type:"integer",format:"int32",description:"The field tabIndex."},required:{type:"string",description:"The field required."},capability:{type:"array",items:{type:"string"},description:"The field capability."}},description:"The field constraints."}},description:"The field uiDefinition."}},description:"The field password."}},description:"The field connectionParameters."},runtimeUrls:{type:"array",items:{type:"string"},description:"The field runtimeUrls."},primaryRuntimeUrl:{type:"string",description:"The field primaryRuntimeUrl."},metadata:{type:"object",properties:{source:{type:"string",description:"The field source."},brandColor:{type:"string",description:"The field brandColor."}},description:"The field metadata."},capabilities:{type:"array",items:{type:"string"},description:"The field capabilities."},interfaces:{type:"object",properties:{CDPTabular1:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPTabular1."},CDPBlob0:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."},deprecated:{type:"boolean",description:"The field deprecated."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPBlob0."},CDPBlob1:{type:"object",properties:{revisions:{type:"object",properties:{1:{type:"object",properties:{baseUrl:{type:"string",description:"The field baseUrl."},status:{type:"string",description:"The field status."}},description:"The field 1."}},description:"The field revisions."}},description:"The field CDPBlob1."}},description:"The field interfaces."},description:{type:"string",description:"The field description."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},changedTime:{type:"string",format:"date-time",description:"The field changedTime."},releaseTag:{type:"string",description:"The field releaseTag."},tier:{type:"string",description:"The field tier."},publisher:{type:"string",description:"The field publisher."},scopes:{type:"object",properties:{will:{type:"array",items:{type:"string"},description:"The field will."},wont:{type:"array",items:{type:"string"},description:"The field wont."}},description:"The field scopes."}},description:"The field properties."}}},description:"The field value."}}}}},"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Connectors",description:"Returns a list of Connectors.",operationId:"Get-Connectors",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"showApisWithToS",in:"query",required:!1,type:"string",default:"true",description:"Show all the Apis.","x-ms-summary":"ShowAllApis"},{name:"$filter",in:"query",required:!1,type:"string",description:"A filter query parameter.","x-ms-summary":"Filter Query"},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01",description:"The date value of the API version.","x-ms-summary":"API Version"},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Connectors.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-connectors"}}},"/{connectionId}/providers/Microsoft.PowerApps/environments":{get:{responses:{200:{description:"default",schema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."},location:{type:"string",description:"The field location."},type:{type:"string",description:"The field type."},properties:{type:"object",properties:{azureRegionHint:{type:"string",description:"The field azureRegionHint."},displayName:{type:"string",description:"The field displayName."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},clientUris:{type:"object",properties:{admin:{type:"string",description:"Admin portal Uri for the environment."},maker:{type:"string",description:"Maker portal Uri for the environment."}}},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},type:{type:"string",description:"The field type."},email:{type:"string",description:"The field email."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},provisioningState:{type:"string",description:"The field provisioningState."},creationType:{type:"string",description:"The field creationType."},environmentSku:{type:"string",description:"The field environmentSku."},environmentType:{type:"string",description:"The field environmentType."},isDefault:{type:"boolean",description:"The field isDefault."},permissions:{type:"object",properties:{CreatePowerApp:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreatePowerApp."},ReadEnvironment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ReadEnvironment."},GenerateResourceStorage:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field GenerateResourceStorage."},CreateGateway:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateGateway."},CreateFlow:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateFlow."},CreateCustomApi:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateCustomApi."},ExportEnvironmentPackage:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ExportEnvironmentPackage."},ImportEnvironmentPackage:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ImportEnvironmentPackage."},CreateFunction:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateFunction."},AdminReadEnvironment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field AdminReadEnvironment."},UpdateEnvironment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field UpdateEnvironment."},DeleteEnvironment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field DeleteEnvironment."},SetDLPPolicy:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field SetDLPPolicy."},ListAnyPowerApp:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ListAnyPowerApp."},ListAnyFlow:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ListAnyFlow."},DeleteAnyPowerApp:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field DeleteAnyPowerApp."},DeleteAnyFlow:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field DeleteAnyFlow."},AddEnvironmentRoleAssignment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field AddEnvironmentRoleAssignment."},ReadEnvironmentRoleInformation:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ReadEnvironmentRoleInformation."},RemoveEnvironmentRoleAssignment:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field RemoveEnvironmentRoleAssignment."},ModifyDatabaseRoleAssignments:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ModifyDatabaseRoleAssignments."},CreateDatabase:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field CreateDatabase."},ManageAnyPowerApp:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageAnyPowerApp."},ManageAnyConnection:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageAnyConnection."},ManageCDSMigration:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageCDSMigration."},ManageTalentEnvironmentSettings:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageTalentEnvironmentSettings."},ManageAnyCustomApi:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ManageAnyCustomApi."},ListAnyFunction:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field ListAnyFunction."},DeleteAnyFunction:{type:"object",properties:{displayName:{type:"string",description:"The field displayName."}},description:"The field DeleteAnyFunction."}},description:"The field permissions."},runtimeEndpoints:{type:"object",properties:{"microsoft.BusinessAppPlatform":{type:"string",description:"The field microsoft BusinessAppPlatform."},"microsoft.CommonDataModel":{type:"string",description:"The field microsoft CommonDataModel."},"microsoft.PowerApps":{type:"string",description:"The field microsoft Power Apps."},"microsoft.Flow":{type:"string",description:"The field microsoft Flow."}},description:"The field runtimeEndpoints."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},lastModifiedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastModifiedBy."},linkedEnvironmentMetadata:{type:"object",properties:{type:{type:"string",description:"The field type."},resourceId:{type:"string",description:"The field resourceId."},friendlyName:{type:"string",description:"The field friendlyName."},uniqueName:{type:"string",description:"The field uniqueName."},domainName:{type:"string",description:"The field domainName."},version:{type:"string",description:"The field version."},instanceUrl:{type:"string",description:"The field instanceUrl."},instanceApiUrl:{type:"string",description:"The field instanceApiUrl."},baseLanguage:{type:"integer",format:"int32",description:"The field baseLanguage."},instanceState:{type:"string",description:"The field instanceState."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},modifiedTime:{type:"string",format:"date-time",description:"The field modifiedTime."},hostNameSuffix:{type:"string",description:"The field hostNameSuffix."},bapSolutionId:{type:"string",description:"The field bapSolutionId."},creationTemplates:{type:"array",items:{type:"string"},description:"The field creationTemplates."},managementPackageVersion:{type:"string",description:"The field managementPackageVersion."}},description:"The field linkedEnvironmentMetadata."},softDeletedTime:{type:"string",format:"date-time",description:"The field softDeletedTime."},provisioningDetails:{type:"object",properties:{message:{type:"string",description:"The field message."},operations:{type:"array",items:{type:"object",properties:{httpStatus:{type:"string",description:"The field httpStatus."},code:{type:"string",description:"The field code."}}},description:"The field operations."}},description:"The field provisioningDetails."}},description:"The field properties."}}},description:"The field value."}}}}},"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Environments",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"api-version",in:"query",required:!1,type:"string",default:"2022-11-01","x-ms-summary":"API Version",description:"The date value of the API version."},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Environments.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],description:"Returns a list of Environments.",operationId:"Get-Environments",externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-environments"}}},"/{connectionId}/providers/Microsoft.PowerApps/apps":{get:{responses:{200:{description:"OK",schema:{$ref:"#/definitions/ResourceArray[PowerApp]"}}},"x-ms-pageable":{nextLinkName:"nextLink"},summary:"Get Apps",description:"Returns a list of apps.",operationId:"Get-Apps",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"api-version",in:"query",required:!1,type:"string",default:"2016-11-01",description:"The date value of the API version.","x-ms-summary":"API Version"},{name:"$filter",in:"query",required:!1,type:"string",description:"A filter query parameter.","x-ms-summary":"Filter Query"},{name:"$top",in:"query",required:!1,type:"integer",default:250,description:"Number of Apps to return.","x-ms-summary":"Page size","x-ms-visibility":"advanced"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers/#get-apps"}}}},definitions:{"ResourceArray[PowerApp]":{type:"object",properties:{value:{type:"array",items:{$ref:"#/definitions/PowerApp"},description:"The field value."}}},PowerApp:{type:"object",properties:{name:{type:"string",description:"The field name."},id:{type:"string",description:"The field id."},type:{type:"string",description:"The field type."},tags:{type:"object",properties:{primaryDeviceWidth:{type:"string",description:"The field primaryDeviceWidth."},primaryDeviceHeight:{type:"string",description:"The field primaryDeviceHeight."},sienaVersion:{type:"string",description:"The field sienaVersion."},deviceCapabilities:{type:"string",description:"The field deviceCapabilities."},supportsPortrait:{type:"string",description:"The field supportsPortrait."},supportsLandscape:{type:"string",description:"The field supportsLandscape."},primaryFormFactor:{type:"string",description:"The field primaryFormFactor."},publisherVersion:{type:"string",description:"The field publisherVersion."},minimumRequiredApiVersion:{type:"string",description:"The field minimumRequiredApiVersion."}},description:"The field tags."},properties:{type:"object",properties:{appVersion:{type:"string",format:"date-time",description:"The field appVersion."},createdByClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field createdByClientVersion."},minClientVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field minClientVersion."},owner:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field owner."},createdBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field createdBy."},lastModifiedBy:{type:"object",properties:{id:{type:"string",description:"The field id."},displayName:{type:"string",description:"The field displayName."},email:{type:"string",description:"The field email."},type:{type:"string",description:"The field type."},tenantId:{type:"string",description:"The field tenantId."},userPrincipalName:{type:"string",description:"The field userPrincipalName."}},description:"The field lastModifiedBy."},backgroundColor:{type:"string",description:"The field backgroundColor."},backgroundImageUri:{type:"string",description:"The field backgroundImageUri."},displayName:{type:"string",description:"The field displayName."},description:{type:"string",description:"The field description."},appUris:{type:"object",properties:{documentUri:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field documentUri."},imageUris:{type:"array",items:{type:"string"},description:"The field imageUris."}},description:"The field appUris."},createdTime:{type:"string",format:"date-time",description:"The field createdTime."},lastModifiedTime:{type:"string",format:"date-time",description:"The field lastModifiedTime."},sharedGroupsCount:{type:"integer",format:"int32",description:"The field sharedGroupsCount."},sharedUsersCount:{type:"integer",format:"int32",description:"The field sharedUsersCount."},appOpenProtocolUri:{type:"string",description:"The field appOpenProtocolUri."},appOpenUri:{type:"string",description:"The field appOpenUri."},userAppMetadata:{type:"object",properties:{favorite:{type:"string",description:"The field favorite."},lastOpenedTime:{type:"string",format:"date-time",description:"The field lastOpenedTime."},includeInAppsList:{type:"boolean",description:"The field includeInAppsList."}},description:"The field userAppMetadata."},isFeaturedApp:{type:"boolean",description:"The field isFeaturedApp."},bypassConsent:{type:"boolean",description:"The field bypassConsent."},isHeroApp:{type:"boolean",description:"The field isHeroApp."},environment:{type:"object",properties:{id:{type:"string",description:"The field id."},name:{type:"string",description:"The field name."}},description:"The field environment."},appPackageDetails:{type:"object",properties:{playerPackage:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field playerPackage."},webPackage:{type:"object",properties:{value:{type:"string",description:"The field value."},readonlyValue:{type:"string",description:"The field readonlyValue."}},description:"The field webPackage."},documentServerVersion:{type:"object",properties:{major:{type:"integer",format:"int32",description:"The field major."},minor:{type:"integer",format:"int32",description:"The field minor."},build:{type:"integer",format:"int32",description:"The field build."},revision:{type:"integer",format:"int32",description:"The field revision."},majorRevision:{type:"integer",format:"int32",description:"The field majorRevision."},minorRevision:{type:"integer",format:"int32",description:"The field minorRevision."}},description:"The field documentServerVersion."},appPackageResourcesKind:{type:"string",description:"The field appPackageResourcesKind."},packagePropertiesJson:{type:"string",description:"The field packagePropertiesJson."}},description:"The field appPackageDetails."}},description:"The field properties."}}}},parameters:{},responses:{},securityDefinitions:{oauth2_auth:{type:"oauth2",flow:"accessCode",authorizationUrl:"https://login.windows.net/common/oauth2/authorize",tokenUrl:"https://login.windows.net/common/oauth2/authorize",scopes:{}}},security:[{oauth2_auth:[]}],tags:[],"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://powerapps.microsoft.com/"}],externalDocs:{url:"https://docs.microsoft.com/connectors/powerappsforappmakers"}},wadlUrl:"https://pafeblobprodmw.blob.core.windows.net/apiwadls-d86c6660-8cff-46bc-8e65-4fae4de9fb31/shared%3A2Dpowerappsforappmakers?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A27Z&se=2025-07-03T09%3A05%3A27Z&sr=c&sp=rl&scid=c1de4d35-7c0d-4a6d-8f31-7a02252a1543&sig=KWxf68KxwBjZFlnAVt8Kbp%2FhQKQv81E4sAo2Tj62Lv4%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/powerappsforappmakers"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/powerappsforappmakers",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/powerappsforappmakers",metadata:{source:"marketplace",brandColor:"#742774",useNewApimVersion:"true",version:{previous:"releases/v1.0.1747\\1.0.1748.4181",current:"v1.0.1758\\1.0.1758.4260"}},capabilities:["actions"],interfaces:{},description:"Power Apps Management Connector for Makers",createdTime:"2018-08-17T00:00:45.0580395Z",changedTime:"2025-06-17T17:26:47.1327576Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},D=Q;var J={name:"shared_sharepointonline",id:"/providers/Microsoft.PowerApps/apis/shared_sharepointonline",type:"Microsoft.PowerApps/apis",properties:{displayName:"SharePoint",capabilities:["tabular","gateway","cloud"],primaryRuntimeUrl:"https://mock-runtime.powerplatform.com/apim/sharepointonline",interfaces:{CDPTabular1:{revisions:{1:{status:"Production",baseUrl:"/v2"}}}},connectionParameters:{},metadata:{allowSharing:!1}}},P=J;var Y={name:"TestList",title:"TestList","x-ms-permission":"read-write","x-ms-capabilities":{sortRestrictions:{sortable:!0,unsortableProperties:["MultipleLine","{Identifier}","{IsFolder}","{Thumbnail}","{Link}","{Name}","{FilenameWithExtension}","{Path}","{FullPath}","{ModerationStatus}","{ModerationComment}","{ContentType}","{HasAttachments}","{Attachments}","{VersionNumber}","{TriggerWindowStartToken}","{TriggerWindowEndToken}"]},filterRestrictions:{filterable:!0,nonFilterableProperties:["MultipleLine","HyperlinkCol","{Identifier}","{IsFolder}","{Thumbnail}","{Link}","{Name}","{FilenameWithExtension}","{Path}","{FullPath}","{ModerationStatus}","{ModerationComment}","{ContentType}","{HasAttachments}","{Attachments}","{VersionNumber}","{TriggerWindowStartToken}","{TriggerWindowEndToken}"]},isOnlyServerPagable:!0,filterFunctionSupport:["and","or","eq","startswith","gt","ge","lt","le","ne"],serverPagingOptions:["top","skiptoken"],odataVersion:3},schema:{type:"array",items:{type:"object",required:["Title"],properties:{ID:{title:"ID",description:"List item id. Use this value for specifying the item to act on in other list related actions.",type:"integer",format:"int64","x-ms-keyType":"primary","x-ms-keyOrder":1,"x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]}},Title:{title:"Title",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},"ChoiceCol1#Id":{title:"ChoiceCol1 Id",type:"integer",format:"int64","x-ms-permission":"read-only","x-ms-visibility":"internal"},ChoiceCol1:{title:"ChoiceCol1",type:"object","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{"x-ms-sp":{IsChoice:!0},filterFunctions:["eq"]},properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-write"},Value:{title:"Value",type:"string",default:"Choice 1","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"391e32ab-844e-4edc-af68-cc75b54bfc24"},"value-path":"Value","value-title":"Value","value-collection":"value"}},Id:{title:"Id",type:"integer",format:"int64","x-ms-visibility":"internal",default:0,"x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"Value"}},DateTimeCol:{title:"DateTimeCol",type:"string",format:"date-time","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]}},MultipleLine:{title:"MultipleLine",type:"string","x-ms-permission":"read-write","x-ms-sort":"none",default:"sampe"},"Person#Claims":{title:"Person Claims",type:"string","x-ms-permission":"read-only","x-ms-visibility":"internal"},Person:{title:"Person",type:"object","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]},properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-write"},Claims:{title:"Claims",type:"string","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"3dc412c0-3eb9-4126-99be-df73a5d38a4f"},"value-path":"Claims","value-title":"DisplayName","value-collection":"value"}},DisplayName:{title:"DisplayName",type:"string","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"Title"},filterFunctions:["eq","startswith"]}},Email:{title:"Email",type:"string",format:"email","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"EMail"},filterFunctions:["eq","startswith"]}},Picture:{title:"Picture",type:"string",format:"uri","x-ms-media-kind":"image","x-ms-media-default-folder-path":"/sites/AppConnectivity","x-ms-media-base-url":"https://capintegration01.sharepoint.com/sites/AppConnectivity","x-ms-permission":"read-only"},Department:{title:"Department",type:"string","x-ms-permission":"read-only"},JobTitle:{title:"JobTitle",type:"string","x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"DisplayName",subtitleProperty:"Email",thumbnailProperty:"Picture"}},NumCol:{title:"NumCol",type:"number",format:"double","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]},maximum:17976931348623157e292,minimum:-17976931348623157e292},YesNoCol:{title:"YesNoCol",type:"boolean","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]},default:!0},HyperlinkCol:{title:"HyperlinkCol",type:"string",format:"uri","x-ms-permission":"read-write","x-ms-sort":"asc,desc"},CurrencyCol:{title:"CurrencyCol",type:"number",format:"double","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]},default:1,maximum:17976931348623157e292,minimum:-17976931348623157e292},LocCol:{title:"LocCol",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},Street:{title:"LocCol: Street",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},City:{title:"LocCol: City",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},State:{title:"LocCol: State",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},CountryOrRegion:{title:"LocCol: Country/Region",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},PostalCode:{title:"LocCol: Postal Code",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},GeoLoc:{title:"LocCol: Coordinates",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},DispName:{title:"LocCol: Name",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},ImageCol:{title:"ImageCol",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},field_18:{title:"LookupCol",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},ManagedMetadataCol:{title:"ManagedMetadataCol",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},String:{title:"String ",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},StringNoSpace:{title:"StringNoSpace",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},field_22:{title:"Users1",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},field_23:{title:"Users1: Title",type:"string","x-ms-permission":"read-write","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},OData__ColorTag:{title:"Color Tag",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},ComplianceAssetId:{title:"Compliance Asset Id",type:"string","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","startswith"]},maxLength:255},Modified:{title:"Modified",description:"When this item was last changed.",type:"string",format:"date-time","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]}},Created:{title:"Created",description:"When this item was created.",type:"string",format:"date-time","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq","gt","ge","lt","le","ne"]}},"Author#Claims":{title:"Created By Claims",type:"string",description:"Internal identifier for the user who created this item.","x-ms-permission":"read-only","x-ms-visibility":"internal"},Author:{title:"Created By",description:"The user who created this item.",type:"object","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]},properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-only"},Claims:{title:"Claims",type:"string",description:"Internal identifier for the user who created this item.","x-ms-permission":"read-only","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"1df5e554-ec7e-46a6-901d-d85a3881cb18"},"value-path":"Claims","value-title":"DisplayName","value-collection":"value"}},DisplayName:{title:"DisplayName",type:"string",description:"The name of the user who created this item.","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"Title"},filterFunctions:["eq","startswith"]}},Email:{title:"Email",type:"string",description:"Email address of the user who created this item.",format:"email","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"EMail"},filterFunctions:["eq","startswith"]}},Picture:{title:"Picture",type:"string",description:"Link to a picture of the user who created this item.",format:"uri","x-ms-media-kind":"image","x-ms-media-default-folder-path":"/sites/AppConnectivity","x-ms-media-base-url":"https://capintegration01.sharepoint.com/sites/AppConnectivity","x-ms-permission":"read-only"},Department:{title:"Department",type:"string",description:"Department name of the user who created this item.","x-ms-permission":"read-only"},JobTitle:{title:"JobTitle",type:"string",description:"Job title of the user who created this item.","x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"DisplayName",subtitleProperty:"Email",thumbnailProperty:"Picture"}},"Editor#Claims":{title:"Modified By Claims",type:"string",description:"Internal identifier for the user who last changed this item.","x-ms-permission":"read-only","x-ms-visibility":"internal"},Editor:{title:"Modified By",description:"The user who last changed this item.",type:"object","x-ms-permission":"read-only","x-ms-sort":"asc,desc","x-ms-capabilities":{filterFunctions:["eq"]},properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-only"},Claims:{title:"Claims",type:"string",description:"Internal identifier for the user who last changed this item.","x-ms-permission":"read-only","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"d31655d1-1d5b-4511-95a1-7a09e9b75bf2"},"value-path":"Claims","value-title":"DisplayName","value-collection":"value"}},DisplayName:{title:"DisplayName",type:"string",description:"The name of the user who last changed this item.","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"Title"},filterFunctions:["eq","startswith"]}},Email:{title:"Email",type:"string",description:"Email address of the user who last changed this item.",format:"email","x-ms-permission":"read-only","x-ms-capabilities":{"x-ms-sp":{OdataQueryName:"EMail"},filterFunctions:["eq","startswith"]}},Picture:{title:"Picture",type:"string",description:"Link to a picture of the user who last changed this item.",format:"uri","x-ms-media-kind":"image","x-ms-media-default-folder-path":"/sites/AppConnectivity","x-ms-media-base-url":"https://capintegration01.sharepoint.com/sites/AppConnectivity","x-ms-permission":"read-only"},Department:{title:"Department",type:"string",description:"Department name of the user who last changed this item.","x-ms-permission":"read-only"},JobTitle:{title:"JobTitle",type:"string",description:"Job title of the user who last changed this item.","x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"DisplayName",subtitleProperty:"Email",thumbnailProperty:"Picture"}},"{Identifier}":{title:"Identifier",description:"Value that can be used in file related actions for selecting a file.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{IsFolder}":{title:"IsFolder",description:"True when the item is a folder, false otherwise.",type:"boolean","x-ms-permission":"read-only","x-ms-sort":"none"},"{Thumbnail}":{title:"Thumbnail",description:"URL to the thumbnails of the item in 3 different sizes, if available.",type:"object","x-ms-permission":"read-only","x-ms-sort":"none",properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-only"},Small:{title:"Small",type:"string",description:"URL to the small, highly compressed size thumbnail of the item, if available.","x-ms-permission":"read-only"},Medium:{title:"Medium",type:"string",description:"URL to the standard size thumbnail of the item, if available.","x-ms-permission":"read-only"},Large:{title:"Large",type:"string",description:"URL to the largest size thumbnail of the item, if available.","x-ms-permission":"read-only"}}},"{Link}":{title:"Link to item",description:"Link that can be used to get to the file or list item. Only people with permissions to the item will be able to open the link.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{Name}":{title:"Name",description:"File name of the item in document libraries, display name of the item in lists.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{FilenameWithExtension}":{title:"File name with extension",description:"For libraries, returns file name including extension. For lists, returns the title property.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{Path}":{title:"Folder path",description:"Path to the folder the item is in, relative to the site address.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{FullPath}":{title:"Full Path",description:"Full path of an item or a folder or a file",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{ModerationStatus}":{title:"Content approval status",description:"The content approval status. It can be one of the following: Draft, Pending, Approved, or Rejected",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{ModerationComment}":{title:"Comments associated with the content approval of this list item",description:"The comments associated with moderation of the list item.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{ContentType}#Id":{title:"Content type Id",type:"string","x-ms-permission":"read-only","x-ms-visibility":"internal"},"{ContentType}":{title:"Content type",description:"Name of the Content type of the item.",type:"object","x-ms-permission":"read-write","x-ms-sort":"none",properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-write"},Id:{title:"Id",type:"string","x-ms-dynamic-values":{operationId:"GetEntityValues",parameters:{dataset:{parameter:"dataset"},table:{parameter:"table"},id:"4651e8f2-38c9-4ad0-8def-41f743f76f30"},"value-path":"Id","value-title":"Name","value-collection":"value"}},Name:{title:"Name",type:"string","x-ms-permission":"read-only"}},"x-ms-displayFormat":{titleProperty:"Name"}},"{HasAttachments}":{title:"Has attachments",description:"Indicates the presence of attachments in the item.",type:"boolean","x-ms-permission":"read-only","x-ms-sort":"none"},"{Attachments}@odata.type":{title:"{Attachments}",type:"string","x-ms-visibility":"internal","x-ms-permission":"read-write"},"{Attachments}":{title:"Attachments",description:"Never returns any data. Use Attachment endpoints to access item attachments.","x-ms-permission":"read-write",targetEntity:"attachments",format:"x-ms-containedMediaEntity","x-ms-visibility":"internal",type:"array",items:{type:"object",format:"x-ms-mediaEntity","x-ms-sort":"none",properties:{"@odata.type":{title:"@odata.type","x-ms-visibility":"internal",type:"string","x-ms-permission":"read-write"},Id:{title:"Id",type:"string","x-ms-keyType":"primary","x-ms-keyOrder":1,"x-ms-permission":"read-only"},AbsoluteUri:{title:"AbsoluteUri",type:"string",format:"uri","x-ms-permission":"read-only"},DisplayName:{title:"DisplayName",type:"string","x-ms-permission":"read-only"}}},"@odata.type":"#Collection(Microsoft.Azure.Connectors.SharePoint.SPListItemAttachment)"},"{VersionNumber}":{title:"Version number",description:"The version number of the file or the list item.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{TriggerWindowStartToken}":{title:"Trigger Window Start Token",description:"A token expressing the time of the last flow check. Use this if you want to check if one or more columns were modified since the last flow check.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"},"{TriggerWindowEndToken}":{title:"Trigger Window End Token",description:"A token expressing the time of the current flow check. Use this if you want to check if one or more columns were modified since the last flow check.",type:"string","x-ms-permission":"read-only","x-ms-sort":"none"}},"x-ms-relationships":{ChoiceCol1:{targetEntity:"ChoiceCol1",referentialConstraints:{"ChoiceCol1#Id":{referencedProperty:"Id"}}},Person:{targetEntity:"Person",referentialConstraints:{"Person#Claims":{referencedProperty:"Claims"}}},Author:{targetEntity:"Author",referentialConstraints:{"Author#Claims":{referencedProperty:"Claims"}}},Editor:{targetEntity:"Editor",referentialConstraints:{"Editor#Claims":{referencedProperty:"Claims"}}},"{ContentType}":{targetEntity:"4651e8f2-38c9-4ad0-8def-41f743f76f30",referentialConstraints:{"{ContentType}#Id":{referencedProperty:"Id"}}}},"x-ms-displayFormat":{propertiesDisplayOrder:["ChoiceCol1","DateTimeCol","MultipleLine","Person","NumCol","YesNoCol","HyperlinkCol","CurrencyCol","LocCol","Street","City","State","CountryOrRegion","PostalCode","GeoLoc","DispName","ImageCol","field_18","ManagedMetadataCol","String","StringNoSpace","field_22","field_23","{Attachments}"],propertiesCompactDisplayOrder:["Title","ChoiceCol1","DateTimeCol","MultipleLine","Person","NumCol","YesNoCol","HyperlinkCol","CurrencyCol","LocCol","Street","City","State","CountryOrRegion","PostalCode","GeoLoc","DispName","ImageCol","field_18","ManagedMetadataCol","String","StringNoSpace","field_22","field_23"],propertiesTabularDisplayOrder:["Title","ChoiceCol1","DateTimeCol","MultipleLine","Person","NumCol","YesNoCol","HyperlinkCol","CurrencyCol","LocCol","Street","City","State","CountryOrRegion","PostalCode","GeoLoc","DispName","ImageCol","field_18","ManagedMetadataCol","String","StringNoSpace","field_22","field_23"]}}},referencedEntities:{ChoiceCol1:{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/ChoiceCol1",capabilities:{searchable:!0,requiresSearch:!1}}},Person:{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/Person",capabilities:{searchable:!0,requiresSearch:!1}}},Author:{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/Author",capabilities:{searchable:!0,requiresSearch:!1}}},Editor:{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/Editor",capabilities:{searchable:!0,requiresSearch:!1}}},"4651e8f2-38c9-4ad0-8def-41f743f76f30":{lookupEndpoint:{path:"/tables/9fb37ea9-b57f-4c7d-8fa8-571f9ef50892/entities/%257bContentType%257d",capabilities:{searchable:!0,requiresSearch:!1}}}},webUrl:"https://capintegration01.sharepoint.com/sites/AppConnectivity/Lists/TestList/AllItems.aspx"},C=Y;var X={name:"shared_teams",id:"/providers/Microsoft.PowerApps/apis/shared_teams",type:"Microsoft.PowerApps/apis",properties:{displayName:"Microsoft Teams",iconUri:"REDACTED_URL",iconBrandColor:"",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{token:{type:"oauthSetting",oAuthSettings:{identityProvider:"aadcertificate",clientId:"4b55a631-6b07-4d07-a701-28f46d72f3df",scopes:["User.Read.All","Group.ReadWrite.All","Group.Read.All"],redirectMode:"GlobalPerConnector",redirectUrl:"REDACTED_URL",properties:{IsFirstParty:"True",AzureActiveDirectoryResourceId:"https://graph.microsoft.com",IsOnbehalfofLoginSupported:!0},customParameters:{ResourceUri:{value:"REDACTED_URL"},loginUri:{value:"REDACTED_URL"},LoginUriAAD:{value:"REDACTED_URL"}}}},"token:TenantId":{type:"string",metadata:{sourceType:"AzureActiveDirectoryTenant"},uiDefinition:{displayName:"Tenant",description:"The tenant ID of for the Microsoft Entra ID application",constraints:{required:"false",hidden:"true"}}}},swagger:{swagger:"2.0",info:{version:"1.0.4",title:"Microsoft Teams",description:"Microsoft Teams enables you to get all your content, tools and conversations in the Team workspace with Microsoft 365.","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",schemes:["https"],produces:["application/json"],paths:{"/{connectionId}/v1.0/me/calendars/{calendarid}/events":{post:{summary:"Create a Teams meeting",description:"Create a meeting with a link at the bottom of the invite to join the meeting online on Microsoft Teams.",tags:["TeamsMeeting"],operationId:"CreateTeamsMeeting","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"calendarid",in:"path",enum:["Birthdays","Calendar","United States holidays"],"x-ms-summary":"Calendar id",description:"Select a value",type:"string",required:!0},{name:"item",in:"body",description:"Meeting to create",required:!0,schema:{$ref:"#/definitions/NewMeeting"},"x-ms-summary":"Item"}],consumes:["application/json"],produces:["application/json"],responses:{201:{description:"default",schema:{$ref:"#/definitions/NewMeetingRespone"}}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/v1.0/me/outlook/supportedTimeZones":{get:{summary:"Get supported time zones",description:"Lists the time zones that are supported for the user, as configured on the user's mailbox server.",tags:["o365Calendar"],operationId:"GetSupportedTimeZones",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of one or more time zones",type:"array","x-ms-summary":"Time zones List",items:{type:"object","x-ms-summary":"Time zone",description:"Represents a time zone entity",properties:{alias:{description:"An identifier for the time zone",type:"string","x-ms-summary":"ID","x-ms-visibility":"important"},displayName:{description:"A display string that represents the time zone",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"}}}}}}}},deprecated:!1,"x-ms-visibility":"internal",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/me/joinedTeams":{get:{summary:"List teams",description:"Lists all the Microsoft Teams you are a member of",operationId:"GetAllTeams",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of the teams you are a part of",type:"array","x-ms-summary":"Teams List",items:{type:"object","x-ms-summary":"Team",description:"Team entity",properties:{description:{description:"An optional description for the team",type:"string","x-ms-summary":"Description","x-ms-visibility":"important"},displayName:{description:"The name of the team",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"},id:{description:"The team's unique identifier, also called an Microsoft 365 Group ID",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"}}}}}}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/me/teamwork":{get:{summary:"API to test connections",description:"This operation is a quick way to test connections",operationId:"GetTeamwork","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/groups/{groupId}/channels":{get:{summary:"List channels",description:"Lists all the channels for a specific team",tags:["TeamsChannel"],operationId:"GetChannelsForGroup",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of one or more channels for a specific team",type:"array","x-ms-summary":"Channel List",items:{type:"object","x-ms-summary":"Channel",description:"Properties associated with a single channel",properties:{description:{description:"Optional textual description for the channel",type:"string","x-ms-summary":"Description","x-ms-visibility":"important"},displayName:{description:"Channel name as it appears in Microsoft Teams",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"},id:{description:"The channel's unique identifier",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"}}}}}}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"REDACTED_URL"}},post:{summary:"Create a channel",description:"Create a new channel within a specified team",tags:["TeamsChannel"],"x-ms-visibility":"advanced",operationId:"CreateChannel",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["displayName"],type:"object",properties:{description:{description:"Optional textual description for the channel",type:"string","x-ms-summary":"Description","x-ms-visibility":"advanced"},displayName:{description:"Channel name as it appears in Microsoft Teams",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"}}}}],responses:{201:{description:"default",schema:{type:"object",properties:{description:{description:"Optional textual description for the channel",type:"string","x-ms-summary":"Description","x-ms-visibility":"important"},displayName:{description:"Channel name as it appears in Microsoft Teams",type:"string","x-ms-summary":"Display Name","x-ms-visibility":"important"},id:{description:"The channel's unique identifier",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"}}}}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/channels/{channelId}":{get:{summary:"Get details for a specific channel in team","x-ms-summary":"Get channel details in team",description:"Get the channel details",tags:["TeamsChannel"],operationId:"GetChannel",produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/GetChannelResponse"}}},deprecated:!1,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/flowbot/actions/listchats/chattypes/{chatType}/topic/{topic}/expandmembers/false":{get:{summary:"List chats",description:"Lists recent chats you are a part of",tags:["TeamsChat"],operationId:"GetChats",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/chatType__in_path"},{$ref:"#/parameters/topic__in_path"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of one or more chats you are a part of",type:"array","x-ms-summary":"Chats List",items:{type:"object","x-ms-summary":"Chat",description:"Chat Entity",properties:{topic:{description:"Subject or topic for the chat. Only available for group chats",type:"string","x-ms-summary":"Topic","x-ms-visibility":"important"},createdDateTime:{description:"Date and time when the chat was created",type:"string","x-ms-summary":"Created Date Time",format:"date-time","x-ms-visibility":"important"},lastUpdatedDateTime:{description:"Date and time of when the chat was last renamed or its member list was last updated",type:"string","x-ms-summary":"Last Updated Date Time",format:"date-time","x-ms-visibility":"important"},id:{description:"The chat's unique identifier",type:"string","x-ms-summary":"Conversation ID","x-ms-visibility":"advanced"}}}}}}}},deprecated:!1,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/tags":{get:{tags:["AgentHidden"],summary:"List all tags for a team",description:"Lists the team's tags",operationId:"GetTags",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"}],responses:{200:{description:"Get tags response",schema:{$ref:"#/definitions/GetTagsResponseSchema"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}},post:{tags:["AgentHidden"],summary:"Create a tag for a team",description:"Creates a tag in a team",operationId:"CreateTag",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["displayName","members"],type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"The name of the tag as it appears to the user in Microsoft Teams.",type:"string"},members:{"x-ms-summary":"Members' IDs",description:"List of users' IDs separated by semi-colons, identifier must be in a format like '550e8400-e29b-41d4-a716-446655440000'.",type:"string"}}}}],responses:{200:{description:"Create a tag response",schema:{$ref:"#/definitions/CreateTagResponseSchema"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/tags/{tagId}/members":{post:{tags:["AgentHidden"],summary:"Add a member to a tag",description:"Adds a user to a tag",operationId:"AddMemberToTag",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["userId"],type:"object",properties:{userId:{"x-ms-summary":"User's ID",description:"The user's ID of the member to add to the tag, must be in a format like '550e8400-e29b-41d4-a716-446655440000'.",type:"string"}}}}],responses:{201:{description:"Add member to tag response",schema:{$ref:"#/definitions/AddMemberToTagResponseSchema"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}},get:{tags:["AgentHidden"],summary:"List the members of a tag",description:"Lists the members of a tag",operationId:"GetTagMembers",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"}],responses:{201:{description:"Get tag members response",schema:{$ref:"#/definitions/GetTagMembersResponseSchema"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/tags/{tagId}/members/{tagMemberId}":{delete:{tags:["AgentHidden"],summary:"Delete a member from a tag",description:"Deletes a member from a tag",operationId:"DeleteTagMember",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"},{name:"tagMemberId",in:"path",required:!0,"x-ms-summary":"Tag Member ID",description:"ID of the member to remove from the tag",type:"string"}],responses:{204:{description:"Delete tag member succeeded"},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/flowbot/feednotification/poster/{poster}/notificationType/{notificationType}":{post:{summary:"Post a feed notification",description:"Posts a notification to a user's activity feed linking to a chat or team.",operationId:"PostFeedNotification",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterJustFlowbot__in_path"},{$ref:"#/parameters/notificationType__in_path"},{name:"body","x-ms-summary":"Post feed notification request",description:"The post feed notification request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicPostFeedNotificationRequest"}}],responses:{201:{description:"Empty Response."},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/tags/{tagId}":{get:{summary:"Get an @mention token for a tag",description:"Creates a token that can be inserted into a message or adaptive card sent as a user in a channel to @mention a tag.",tags:["TeamsChannel","AgentHidden"],operationId:"AtMentionTag",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"}],responses:{201:{description:"Get tags response",schema:{$ref:"#/definitions/AtMentionTagResponse"}},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}},delete:{tags:["AgentHidden"],summary:"Delete a tag",description:"Deletes a tag from a team",operationId:"DeleteTag",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/tagId__in_path"}],responses:{204:{description:"Delete tag succeeded"},default:{description:"Operation Failed."}},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/{groupId}/channels/{channelId}/messages":{post:{summary:"Post a message (V2)",description:"This operation is used to post a message to a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostMessageToChannelV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["body"],type:"object",properties:{subject:{description:"Subject of the message.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Subject"},body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string","x-ms-summary":"Message","x-ms-visibility":"important"},contentType:{description:"Content type: html or text.",type:"string","x-ms-summary":"Type","x-ms-visibility":"advanced",default:"html",enum:["html","text"]}}}}}}],responses:{201:{description:"Empty Response."}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostMessageToChannel",revision:2},externalDocs:{url:"REDACTED_URL"}},get:{summary:"Get messages",description:"This operation is used to get messages from a channel in a specific team",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"GetMessagesFromChannel",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/GetMessagesFromChannel_Response"}}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-pageable":{nextLinkName:"@odata.nextLink"},externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/beta/teams/messages/{messageId}/messageType/{threadType}":{post:{summary:"Get message details",description:"Gets details of a message in a chat or a channel",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"GetMessageDetails",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/messageId__in_path"},{$ref:"#/parameters/threadType__in_path"},{name:"body","x-ms-summary":"Get message details request",description:"The get message details request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicGetMessageDetailsSchema"}}],responses:{201:{description:"Get message details response",schema:{$ref:"#/definitions/DynamicGetMessageDetailsResponseSchema"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/v1.0/teams/{groupId}/channels/{channelId}/messages/{messageId}/replies":{get:{summary:"List replies of a channel message",description:"This operation is used to list replies to a message in a channel in a specific Team.","x-ms-visibility":"important",operationId:"ListRepliesToMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{$ref:"#/parameters/messageId__in_path"},{name:"$top",in:"query","x-ms-summary":"Latest replies count",description:"The number of latest replies to return. The default value is 20. The supported value is between 1 and 50.",required:!1,"x-ms-visibility":"important",type:"integer",format:"int32",default:20,minimum:1,maximum:50}],responses:{200:{description:"List replies message Response",schema:{$ref:"#/definitions/ListRepliesResponseSchema"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#list-replies-of-a-channel-message"}}},"/{connectionId}/v1.0/teams/listmembers/threadType/{threadType}":{post:{summary:"List members",description:"List members of a group chat or a channel",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"ListMembers",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/listMembersThreadType__in_path"},{name:"body","x-ms-summary":"List members request",description:"The list members request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicListMembersSchema"}}],responses:{201:{description:"The list members response",schema:{$ref:"#/definitions/ListMembersResponseSchema"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#list-members"}}},"/{connectionId}/v3/beta/teams/{groupId}/channels/{channelId}/messages":{post:{summary:"Post a message (V3)",description:"This operation is used to post a message to a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostMessageToChannelV3",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["body"],type:"object",properties:{subject:{description:"Subject of the message.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Subject"},body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string",format:"html","x-ms-summary":"Message","x-ms-visibility":"important"},contentType:{description:"Content type: html or text.",type:"string","x-ms-summary":"Type","x-ms-visibility":"internal",default:"html",enum:["html","text"]}}}}}}],responses:{201:{description:"Message Id",schema:{$ref:"#/definitions/MessageId"}}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostMessageToChannel",revision:3},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-message-(v3)-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{groupId}/channels/{channelId}/messages/{messageId}/replies":{post:{summary:"Post a reply to a message",description:"This operation is used to post a reply to a message in a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostReplyToMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{$ref:"#/parameters/messageId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["body"],type:"object",properties:{subject:{description:"Subject of the message.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Subject"},body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string","x-ms-summary":"Reply","x-ms-visibility":"important"},contentType:{description:"Content type: html or text.",type:"string","x-ms-summary":"Type","x-ms-visibility":"advanced",default:"html",enum:["html","text"]}}}}}}],responses:{201:{description:"Empty Response."}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostReplyToMessage",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-reply-to-a-message-%5bdeprecated%5d"}}},"/{connectionId}/v2/beta/teams/{groupId}/channels/{channelId}/messages/{messageId}/replies":{post:{summary:"Post a reply to a message (V2)",description:"This operation is used to post a reply to a message in a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostReplyToMessageV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{$ref:"#/parameters/messageId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["body"],type:"object",properties:{subject:{description:"Subject of the message.",type:"string","x-ms-visibility":"advanced","x-ms-summary":"Subject"},body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string",format:"html","x-ms-summary":"Reply","x-ms-visibility":"important"},contentType:{description:"Content type: html or text.",type:"string","x-ms-summary":"Type","x-ms-visibility":"internal",default:"html",enum:["html","text"]}}}}}}],responses:{201:{description:"Empty Response."}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostReplyToMessage",revision:2},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-reply-to-a-message-(v2)-%5bdeprecated%5d"}}},"/{connectionId}/trigger/beta/teams/{groupId}/channels/{channelId}/messages":{get:{summary:"When a new channel message is added",description:"Triggers when a new message is posted to a channel in a team. Note that this trigger only fires when a root messages is added in the channel. Replies to an existing channel message will not result in the trigger event firing.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"OnNewChannelMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"$top",in:"query","x-ms-summary":"Top","x-ms-test-value":"50","x-ms-visibility":"internal",type:"integer",format:"int32",default:50}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OnNewChannelMessage_Response"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a message to the channel.","x-ms-dev-triggerType":"SimpleFilter","x-ms-dev-triggerDateFormat":"iso","x-ms-dev-triggerValueCollection":"value","x-ms-dev-triggerValuePath":"createdDateTime",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-channel-message-is-added"}}},"/{connectionId}/trigger/beta/teams/{groupId}/channels/{channelId}/messages_mentioningme":{get:{summary:"When I am mentioned in a channel message",description:"Triggers when a new message that @mentions the current user is added to a channel in a team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"OnNewChannelMessageMentioningMe",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"$top",in:"query","x-ms-summary":"Top","x-ms-test-value":"50","x-ms-visibility":"internal",type:"integer",format:"int32",default:50}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OnNewChannelMessage_Response"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,"x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work, get @mentioned in one of the specified channels.","x-ms-dev-triggerType":"SimpleFilter","x-ms-dev-triggerDateFormat":"iso","x-ms-dev-triggerValueCollection":"value","x-ms-dev-triggerValuePath":"createdDateTime",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-i-am-mentioned-in-a-channel-message"}}},"/{connectionId}/beta/subscriptions/atmentiontrigger/threadType/{threadType}":{post:{description:"Triggers when a new message that @mentions the current user is added to a specified chat or channel.",summary:"When I'm @mentioned",tags:["TeamsChat","TeamsChannel"],operationId:"WebhookAtMentionTrigger",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"},{name:"requestBody",in:"body",description:"This is the request body of the Webhook",schema:{$ref:"#/definitions/DynamicWebhookTriggerRequestSchema"}}],consumes:["application/json"],produces:["application/json"],responses:{default:{description:"default response for a trigger subscription",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, get @mentioned in one of the specified chats or channels.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-i%27m-%40mentioned"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/DynamicAtMentionWebhookTriggerResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/subscriptions/messagereactiontrigger/threadType/{threadType}":{post:{description:"Triggers when someone reacts to a message in a specified chat or channel.",summary:"When someone reacted to a message in chat",tags:["TeamsChat","TeamsChannel"],operationId:"WebhookMessageReactionTrigger",produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{type:"string",name:"reactionKey",in:"query",description:"Choose emoji to monitor for message reactions",required:!0,"x-ms-summary":"Emoji to Track"},{type:"string",name:"frequency",in:"query",description:"Whether the flow should be triggered by every reaction or only the first reaction on a particular message",enum:["Multiple","Once"],"x-ms-enum-values":[{displayName:"Every reaction (multiple)",value:"Multiple"},{displayName:"First reaction only (once)",value:"Once"}],required:!0,"x-ms-summary":"Trigger Frequency"},{type:"string",name:"runningPolicy",in:"query",description:"Specify who can trigger this workflow",required:!0,enum:["Myself","Everyone"],"x-ms-enum-values":[{displayName:"Myself",value:"Myself"},{displayName:"Everyone",value:"Everyone"}],"x-ms-summary":"Who can trigger?"},{$ref:"#/parameters/threadType__in_path"},{name:"requestBody",in:"body",description:"This is the request body of the Webhook",schema:{$ref:"#/definitions/DynamicWebhookTriggerRequestSchema"}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, react a message in the specified chat(s).",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-someone-reacted-to-a-message-in-chat"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/MessageReactionWebhookResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/subscriptions/chatmessagetrigger":{post:{description:"Triggers when a new message is posted in any chat the user is a part of.",summary:"When a new chat message is added",tags:["TeamsChat"],operationId:"WebhookChatMessageTrigger",produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"ChatMessageSubscriptionRequest","x-ms-summary":"Chat Message subscription request",description:"The chat message subscription request",in:"body",required:!0,schema:{type:"object",properties:{notificationUrl:{"x-ms-visibility":"internal","x-ms-notification-url":!0,type:"string"}}}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, send a message in any chat.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-chat-message-is-added"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/ChatMessageWebhookResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/subscriptions/keywordtrigger/threadType/{threadType}":{post:{description:"Triggers when a keyword is mentioned in a specified chat or channel. Does not trigger if a message is edited.",summary:"When keywords are mentioned",tags:["TeamsChat","TeamsChannel"],operationId:"WebhookKeywordTrigger",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"},{name:"$search",in:"query",required:!0,"x-ms-summary":"Keywords to search for",description:"A comma separated list of keywords to search for","x-ms-visibility":"important",type:"string"},{name:"requestBody",in:"body",description:"This is the request body of the Webhook",schema:{$ref:"#/definitions/DynamicWebhookTriggerRequestSchema"}}],consumes:["application/json"],produces:["application/json"],responses:{default:{description:"default response for a trigger subscription",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, use the keywords in one of the specified chats or channels.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-keywords-are-mentioned"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/DynamicKeywordWebhookTriggerResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/subscriptions/newmessagetrigger/threadType/{threadType}":{post:{description:"Triggers when a new message is posted in a specified chat or channel. Does not trigger if a message is edited.",summary:"When a new message is added to a chat or channel",tags:["TeamsChat","TeamsChannel"],operationId:"WebhookNewMessageTrigger",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"},{name:"requestBody",in:"body",description:"This is the request body of the Webhook",schema:{$ref:"#/definitions/DynamicWebhookTriggerRequestSchema"}}],consumes:["application/json"],produces:["application/json"],responses:{default:{description:"default response for a trigger subscription",schema:{}}},"x-ms-trigger":"single","x-ms-trigger-hint":"To see it work, post a message in one of the specified chats or channels.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-message-is-added-to-a-chat-or-channel"}},"x-ms-notification-content":{description:"Details for Webhook",schema:{$ref:"#/definitions/DynamicNewMessageWebhookTriggerResponseSchema"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/workflows/graphsubscriptions/{subscriptionIds}":{delete:{summary:"Delete Workflows MT Subscriptions","x-ms-summary":"Delete Workflows MT Subscriptions",description:"Delete Microsoft Graph webhook subscriptions which were created by the Workflows MiddleTier Service",operationId:"DeleteWorkflowsMiddleTierSubscriptions",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"subscriptionIds",in:"path",required:!0,type:"string"}],responses:{200:{description:"OK"},default:{description:"default",schema:{}}},"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#delete-workflows-mt-subscriptions"}},patch:{summary:"Renew Workflows MT Subscriptions","x-ms-summary":"Renew Workflows MT Subscriptions",description:"Renew Microsoft Graph webhook subscriptions which were created by the Workflows MiddleTier Service",operationId:"RenewWorkflowsMiddleTierSubscriptions",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"subscriptionIds",in:"path",required:!0,type:"string"},{name:"renewEncryptionCert",in:"query",type:"boolean",required:!1},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{expirationDateTime:{type:"string",description:"Specify the date and time, in UTC format, of when the Microsoft Graph webhook subscription expires. The maximum expiration time for security alerts is 43200 minutes (under 30 days)",title:"Expiration date time","x-ms-visibility":"important"}}}}],responses:{200:{description:"OK"},default:{description:"default",schema:{}}},"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#renew-workflows-mt-subscriptions"}}},"/{connectionId}/beta/subscriptions/{subscriptionIds}":{delete:{summary:"Delete WebHook Subscription","x-ms-summary":"Delete WebHook Subscription",description:"Delete WebHook Subscription",operationId:"DeleteWebHookSubscription",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"subscriptionIds",in:"path",required:!0,type:"string"}],responses:{200:{description:"OK"},default:{description:"default",schema:{}}},"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#delete-webhook-subscription"}},patch:{summary:"Update subscription","x-ms-summary":"Renew WebHook Subscription",description:"Renew a Microsoft Graph webhook subscription by updating its expiration time",operationId:"RenewWebHookSubscription",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"subscriptionIds",in:"path",required:!0,type:"string"},{name:"body",in:"body",required:!1,schema:{type:"object",properties:{expirationDateTime:{type:"string",description:"Specify the date and time, in UTC format, of when the Microsoft Graph webhook subscription expires. The maximum expiration time for security alerts is 43200 minutes (under 30 days)",title:"Expiration date time","x-ms-visibility":"important"}}}}],responses:{200:{description:"OK"},default:{description:"default",schema:{}}},"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#update-subscription"}}},"/{connectionId}/beta/groups/{groupId}/channels/{channelId}/chatThreads":{post:{summary:"Post a message",description:"This operation is used to post a message to a channel in a specific Team.",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"PostMessageToChannel",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_path"},{$ref:"#/parameters/channelId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["rootMessage"],type:"object",properties:{rootMessage:{description:"rootMessage",required:["body"],type:"object",properties:{body:{description:"body",required:["content","contentType"],type:"object",properties:{content:{description:"Body of the message.",type:"string",format:"html","x-ms-summary":"Message","x-ms-visibility":"important"},contentType:{format:"int32",description:"0 for text or 1 for html.",type:"integer","x-ms-summary":"Type","x-ms-visibility":"internal",default:1}}}}}}}}],responses:{201:{description:"Empty Response."}},deprecated:!0,"x-ms-no-generic-test":!0,"x-ms-api-annotation":{status:"Preview",family:"PostMessageToChannel",revision:1},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-message-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/notification/recipienttypes/user":{post:{operationId:"PostUserNotification",summary:"Post a message as the Flow bot to a user",description:"Easily automate the process of sending a message to someone in Teams.",tags:["TeamsChat"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"PostNotificationRequest","x-ms-summary":"Post notification request",description:"The post notification request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicUserNotificationRequest"}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-message-as-the-flow-bot-to-a-user-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/notification/recipienttypes/channel":{post:{operationId:"PostChannelNotification",summary:"Post a message as the Flow bot to a channel",description:"Easily automate the process of posting a message to a Teams channel.",tags:["TeamsChannel"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"PostNotificationRequest","x-ms-summary":"Post notification request",description:"The post notification request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicChannelNotificationRequest"}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-message-as-the-flow-bot-to-a-channel-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/adaptivecard/recipienttypes/user":{post:{operationId:"PostUserAdaptiveCard",summary:"Post your own adaptive card as the Flow bot to a user",description:"Add the JSON card definition to create a custom message for a Teams user. The message can contain images, graphs, text, and more.",tags:["TeamsChat"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"PostAdaptiveCardRequest","x-ms-summary":"Post adaptive card request",description:"The post adaptive card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicUserAdaptiveCardRequest"}}],responses:{201:{description:"Adaptive Card Posted",schema:{$ref:"#/definitions/MessageId"}},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-your-own-adaptive-card-as-the-flow-bot-to-a-user-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/adaptivecard/recipienttypes/channel":{post:{operationId:"PostChannelAdaptiveCard",summary:"Post your own adaptive card as the Flow bot to a channel",description:"Add the JSON card definition to create a custom post for a Teams channel. The post can contain images, graphs, text, and more.",tags:["TeamsChannel"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"PostAdaptiveCardRequest","x-ms-summary":"Post adaptive card request",description:"The post adaptive card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicChannelAdaptiveCardRequest"}}],responses:{201:{description:"Adaptive Card Posted",schema:{$ref:"#/definitions/MessageId"}},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-your-own-adaptive-card-as-the-flow-bot-to-a-channel-%5bdeprecated%5d"}}},"/{connectionId}/flowbot/actions/{actionType}/posters/{poster}/recipienttypes/{recipientType}/schema":{get:{operationId:"GetUnifiedActionSchema",summary:"Get unified action input metadata",description:"Get the schema information for unified actions","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/actionType__in_path"},{$ref:"#/parameters/poster__in_path"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/UnifiedActionSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-unified-action-input-metadata"}}},"/{connectionId}/flowbot/actions/{actionType}/posters/{poster}/recipienttypes/{recipientType}/response/schema":{get:{operationId:"GetPostToConversationResponseSchema",summary:"Get response schema",description:"Get the schema information for unified action responses","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/actionType__in_path"},{$ref:"#/parameters/poster__in_path"},{$ref:"#/parameters/recipientType__in_path"}],responses:{default:{description:"Success",schema:{$ref:"#/definitions/DynamicResponseSchema"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-response-schema"}}},"/{connectionId}/flowbot/actions/adaptivecard/recipienttypes/{recipientType}/$metadata.json/inputs":{get:{operationId:"GetAdaptiveCardInputMetadata",summary:"Get adaptive card input metadata",description:"Get the schema information for adaptive card inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-adaptive-card-input-metadata"}}},"/{connectionId}/flowbot/actions/notification/recipienttypes/{recipientType}/$metadata.json/inputs":{get:{operationId:"GetNotificationInputMetadata",summary:"Get notification input metadata",description:"Get the schema information for notification inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-notification-input-metadata"}}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/user/$subscriptions":{post:{operationId:"SubscribeUserMessageWithOptions",summary:"Post a choice of options as the Flow bot to a user",description:"Send a set of options to a Microsoft Team's user, that they must respond to before the flow will continue. This action will pause the flow until the user response to the options",tags:["TeamsChat","AgentHidden"],"x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"UserMessageWithOptionsSubscriptionRequest","x-ms-summary":"User message with options subscription request",description:"The user message with options subscription request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicUserMessageWithOptionsSubscriptionRequest"}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-a-choice-of-options-as-the-flow-bot-to-a-user"}},"x-ms-notification-content":{description:"Details for the response with which a message with options subscription is completed and flows waiting on that subscription are resumed",schema:{$ref:"#/definitions/DynamicUserMessageWithOptionsSubscriptionResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/user/$subscriptions":{post:{operationId:"SubscribeUserFlowContinuation",summary:"Post an Adaptive Card to a Teams user and wait for a response",description:"Easily automate the process of sending a message to a Teams user that contains actions to continue a waiting flow.",tags:["TeamsChat"],"x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"UserFlowContinuationSubscriptionRequest","x-ms-summary":"User flow continuation subscription request",description:"The user flow continuation subscription request",in:"body",required:!0,schema:{type:"object",properties:{notificationUrl:{"x-ms-visibility":"internal","x-ms-notification-url":!0,type:"string"},body:{type:"object",properties:{updateMessage:{description:"Message to be included in an update to the original card following response","x-ms-summary":"Update message",type:"string"},shouldUpdateCard:{description:"Whether or not to update the card following response","x-ms-summary":"Should update card",type:"boolean"},recipient:{"x-ms-visibility":"important",type:"object",properties:{to:{description:"Add an email address","x-ms-visibility":"important","x-ms-summary":"Recipient","x-ms-ai-sensitivity":"high","x-ms-dynamic-values":{builtInOperation:"AadGraph.GetUsers","value-path":"mail","value-title":"displayName"},type:"string"},summary:{description:"The message summary","x-ms-visibility":"advanced","x-ms-summary":"Summary",type:"string"},isAlert:{description:"If the message will be shown in the activity feed","x-ms-visibility":"advanced","x-ms-summary":"IsAlert",type:"boolean"}},required:["to"]},messageBody:{"x-ms-summary":"Message",type:"string"}},required:["recipient","messageBody"]}},required:["notificationUrl","body"]}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-an-adaptive-card-to-a-teams-user-and-wait-for-a-response-%5bdeprecated%5d"}},"x-ms-notification-content":{description:"Details for the response with which a flow continuation subscription is completed and flows waiting on that subscription are resumed.",schema:{$ref:"#/definitions/DynamicUserFlowContinuationSubscriptionResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/channel/$subscriptions":{post:{operationId:"SubscribeChannelFlowContinuation",summary:"Post an Adaptive Card to a Teams channel and wait for a response",description:"Easily automate the process of sending a message to a Teams channel that contains actions to continue a waiting flow.",tags:["TeamsChannel"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"ChannelFlowContinuationSubscriptionRequest","x-ms-summary":"Channel flow continuation subscription request",description:"The channel flow continuation subscription request",in:"body",required:!0,schema:{type:"object",properties:{notificationUrl:{"x-ms-visibility":"internal","x-ms-notification-url":!0,type:"string"},body:{type:"object",properties:{updateMessage:{description:"Message to be included in an update to the original card following response","x-ms-summary":"Update message",type:"string"},shouldUpdateCard:{description:"Whether or not to update the card following response","x-ms-summary":"Should update card",type:"boolean"},recipient:{"x-ms-visibility":"important",type:"object",properties:{groupId:{"x-ms-visibility":"internal",type:"string"},channelId:{description:"Add channel ID","x-ms-visibility":"important","x-ms-summary":"Channel","x-ms-dynamic-values":{"value-path":"id","value-title":"displayName",operationId:"GetChannelsForGroup","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},type:"string"}},required:["channelId"]},messageBody:{"x-ms-summary":"Message",type:"string"}},required:["recipient","messageBody"]}},required:["notificationUrl","body"]}}],responses:{201:{description:"Subscription Created"},default:{description:"Operation Failed",schema:{}}},deprecated:!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-an-adaptive-card-to-a-teams-channel-and-wait-for-a-response-%5bdeprecated%5d"}},"x-ms-notification-content":{description:"Details for the response with which a flow continuation subscription is completed and flows waiting on that subscription are resumed.",schema:{$ref:"#/definitions/DynamicChannelFlowContinuationSubscriptionResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/{recipientType}/$subscriptions/{subscriptionId}":{delete:{operationId:"UnsubscribeMessageWithOptions",summary:"Unsubscribe from a choice of options",description:"Unsubscribes from a message with options","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"},{name:"subscriptionId",in:"path",description:"ID of subscription to be deleted",required:!0,"x-ms-summary":"ID of subscription to be deleted",type:"string"}],responses:{200:{description:"Subscription Deleted"},204:{description:"No Content"},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#unsubscribe-from-a-choice-of-options"}}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/{recipientType}/$subscriptions/{subscriptionId}":{delete:{operationId:"UnsubscribeFlowContinuation",summary:"Unsubscribe from a flow continuation",description:"Unsubscribes from a flow continuation","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"},{name:"subscriptionId",in:"path",description:"ID of subscription to be deleted",required:!0,"x-ms-summary":"ID of subscription to be deleted",type:"string"}],responses:{200:{description:"Subscription Deleted"},204:{description:"No Content"},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#unsubscribe-from-a-flow-continuation"}}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/{recipientType}/$metadata.json/inputs":{get:{operationId:"GetMessageWithOptionsInputMetadata",summary:"Get message with options input metadata",description:"Get the schema information for the message with options inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-with-options-input-metadata"}}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/{recipientType}/$metadata.json/inputs":{get:{operationId:"GetFlowContinuationInputMetadata",summary:"Get flow continuation input metadata",description:"Get the schema information for the flow continuation inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-flow-continuation-input-metadata"}}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/{recipientType}/$metadata.json/subscriptioninputs":{get:{operationId:"GetMessageWithOptionsSubscriptionInputMetadata",summary:"Get message with options subscription input metadata",description:"Get the schema information for the message with options subscription inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-with-options-subscription-input-metadata"}}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/{recipientType}/$metadata.json/subscriptioninputs":{get:{operationId:"GetFlowContinuationSubscriptionInputMetadata",summary:"Get flow continuation subscription input metadata",description:"Get the schema information for the flow continuation subscription inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-flow-continuation-subscription-input-metadata"}}},"/{connectionId}/flowbot/actions/messagewithoptions/recipienttypes/{recipientType}/$metadata.json/subscriptionoutputs":{get:{operationId:"GetMessageWithOptionsSubscriptionOutputMetadata",summary:"Get message with options subscription output metadata",description:"Get the schema information for the message with options subscription outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-with-options-subscription-output-metadata"}}},"/{connectionId}/flowbot/actions/flowcontinuation/recipienttypes/{recipientType}/$metadata.json/subscriptionoutputs":{post:{operationId:"GetFlowContinuationSubscriptionOutputMetadata",summary:"Get flow continuation subscription output metadata",description:"Get the schema information for the flow continuation subscription outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/recipientType__in_path"},{name:"body","x-ms-summary":"Channel flow continuation subscription request message body",description:"The channel flow continuation subscription request message body",in:"body",required:!0,schema:{"x-ms-summary":"Message",type:"string"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-flow-continuation-subscription-output-metadata"}}},"/{connectionId}/flowbot/actions/flowcontinuation/posters/{poster}/recipienttypes/{recipientType}/$metadata.json/subscriptionoutputs":{post:{operationId:"GetFlowContinuationSubscriptionWithPosterOutputMetadata",summary:"Get flow continuation subscription output metadata",description:"Get the schema information for the flow continuation subscription outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutUser__in_path"},{$ref:"#/parameters/recipientType__in_path"},{name:"body","x-ms-summary":"Channel flow continuation subscription request message body",description:"The channel flow continuation subscription request message body",in:"body",required:!0,schema:{"x-ms-summary":"Message",type:"string"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ConnectorMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-flow-continuation-subscription-output-metadata"}}},"/{connectionId}/flowbot/triggers/selectedmessage/$metadata.json/selectedmessageoutputs":{post:{operationId:"GetSelectedMessageTriggerOutputsMetadata",summary:"Get selected message hybrid trigger output metadata",description:"Get the schema information for the selected message hybrid trigger outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body","x-ms-summary":"Adaptive card request message body",description:"The body for parsing the metadata of the trigger",in:"body",required:!0,schema:{"x-ms-summary":"InputsAdaptiveCard",type:"string",default:"{}"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/SelectedMessageTriggerMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-selected-message-hybrid-trigger-output-metadata"}}},"/{connectionId}/flowbot/triggers/composemessage/$metadata.json/composemessageoutputs":{post:{operationId:"GetComposeMessageTriggerOutputsMetadata",summary:"Get compose message hybrid trigger output metadata",description:"Get the schema information for the compose message hybrid trigger outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body","x-ms-summary":"Adaptive card request message body",description:"The body for parsing the metadata of the trigger",in:"body",required:!0,schema:{"x-ms-summary":"InputsAdaptiveCard",type:"string",default:"{}"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ComposeMessageTriggerMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-compose-message-hybrid-trigger-output-metadata"}}},"/{connectionId}/flowbot/triggers/cardresponse/$metadata.json/cardresponseoutputs":{post:{operationId:"GetCardResponseTriggerOutputsMetadata",summary:"Get compose message hybrid trigger output metadata",description:"Get the schema information for the compose message hybrid trigger outputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body","x-ms-summary":"Adaptive card request message body",description:"The body for parsing the metadata of the trigger",in:"body",required:!0,schema:{"x-ms-summary":"InputsAdaptiveCard",type:"string",default:"{}"}}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/CardResponseTriggerMetadata"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-compose-message-hybrid-trigger-output-metadata"}}},"/{connectionId}/beta/teams/{teamId}":{get:{tags:["Teams"],summary:"Get a team","x-ms-summary":"Get team",description:"Gets a Microsoft Team's details",operationId:"GetTeam",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/GetTeamResponse"}}},deprecated:!1,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-a-team"}}},"/{connectionId}/v1.0/users/{userId}":{get:{summary:"Get an @mention token for a user",description:"Creates a token that can be inserted into a message or adaptive card to @mention a user.",tags:["TeamsChat","TeamsChannel"],operationId:"AtMentionUser",produces:["application/json","text/json","application/xml","text/xml"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"userId",in:"path",required:!0,type:"string",description:"Specify a user principal or user ID to @mention","x-ms-summary":"User"}],responses:{200:{description:"default",schema:{$ref:"#/definitions/AtMentionUser_V1"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-an-%40mention-token-for-a-user"}}},"/{connectionId}/beta/teams/{teamId}/schedule/timeOffReasons":{get:{tags:["TimeOffReasons"],summary:"Shifts: List all Time Off reasons","x-ms-summary":"List Time Off Reasons",description:"This operation returns the list of time off reasons associated with a team.",operationId:"ListTimeOffReasons",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of Time Off reasons to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/GetTimeOffReasonsResponse"}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListTimeOffReasons"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-time-off-reasons-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/shifts":{get:{tags:["Shifts"],summary:"Shifts: List all shifts","x-ms-summary":"List all team shifts",description:"This operation returns all shifts assigned to members of a team",operationId:"ListShifts",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"startTime",in:"query","x-ms-summary":"From Start Time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",required:!1,"x-ms-visibility":"advanced",type:"string",format:"date-time","x-ms-test-value":"2017-07-23T07:00:00Z"},{name:"endTime",in:"query","x-ms-summary":"To End Time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",required:!1,"x-ms-visibility":"advanced",type:"string",format:"date-time","x-ms-test-value":"2017-07-30T07:00:00Z"},{name:"$top",in:"query",description:"Total number of shifts to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of shifts in the schedule",type:"array","x-ms-summary":"Shifts List",items:{$ref:"#/definitions/ShiftResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListShifts"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-shifts-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/shifts/{shiftId}":{get:{tags:["Shifts"],summary:"Shifts: Get a shift","x-ms-summary":"Get Shift by ID",description:"This operation returns details for a shift using the shift's unique ID.",operationId:"GetShift",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"shiftId",in:"path",required:!0,type:"string","x-ms-summary":"Shift ID",description:"The unique ID of the shift.","x-ms-test-value":"SHFT_d45edcfe-7888-410c-8a7b-3dbf9e2e6d5b"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ShiftResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"GetShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-get-a-shift-%5bdeprecated%5d"}},delete:{tags:["Shifts"],summary:"Shifts: Delete a shift","x-ms-summary":"Delete Shift by ID",description:"This operation deletes a shift using the shift's unique ID.",operationId:"DeleteShift",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"shiftId",in:"path",required:!0,type:"string","x-ms-summary":"Shift ID",description:"The unique ID of the shift.","x-ms-test-value":"SHFT_d45edcfe-7888-410c-8a7b-3dbf9e2e6d5b"}],responses:{200:{description:"Shift Deleted"},204:{description:"No Content"}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"DeleteShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-delete-a-shift-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShifts":{get:{tags:["Shifts"],summary:"Shifts: List all Open Shifts","x-ms-summary":"List all team open shifts",description:"This operation returns all open shifts in a team",operationId:"ListOpenShifts",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"startTime",in:"query","x-ms-summary":"From Start Time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",required:!1,"x-ms-visibility":"advanced",type:"string",format:"date-time","x-ms-test-value":"2017-07-23T07:00:00Z"},{name:"endTime",in:"query","x-ms-summary":"To End Time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",required:!1,"x-ms-visibility":"advanced",type:"string",format:"date-time","x-ms-test-value":"2017-07-30T07:00:00Z"},{name:"$top",in:"query",description:"Total number of open shifts to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of open shifts in the schedule",type:"array","x-ms-summary":"Open Shifts List",items:{$ref:"#/definitions/OpenShiftResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListOpenShifts"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-open-shifts-%5bdeprecated%5d"}},post:{tags:["Shifts"],operationId:"CreateOpenShift",summary:"Shifts: Create a new Open Shift","x-ms-summary":"Create a new open shift",description:"Create a new open shift in a schedule",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"request","x-ms-summary":"Create Open Shift request",description:"The request to create an open shift",in:"body",required:!0,schema:{$ref:"#/definitions/EditOpenShiftRequest"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OpenShiftResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"CreateOpenShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-create-a-new-open-shift-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShifts/{openShiftId}":{get:{tags:["Shifts"],summary:"Shifts: Get an open shift","x-ms-summary":"Get Open Shift by ID",description:"This operation returns details for an open shift.",operationId:"GetOpenShift",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftId",in:"path",required:!0,type:"string","x-ms-summary":"Open Shift ID",description:"The unique ID of the open shift.","x-ms-test-value":"OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OpenShiftResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"GetOpenShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-get-an-open-shift-%5bdeprecated%5d"}},put:{tags:["Shifts"],operationId:"UpdateOpenShift",summary:"Shifts: Update an Open Shift","x-ms-summary":"Update an open shift",description:"Update an open shift in a schedule.",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftId",in:"path",required:!0,type:"string","x-ms-summary":"Open Shift ID",description:"The unique ID of the open shift.","x-ms-test-value":"OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8"},{name:"request","x-ms-summary":"Update Open Shift request",description:"The request to update an open shift",in:"body",required:!0,schema:{$ref:"#/definitions/EditOpenShiftRequest"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/OpenShiftResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"UpdateOpenShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-update-an-open-shift-%5bdeprecated%5d"}},delete:{tags:["Shifts"],summary:"Shifts: Delete an open shift","x-ms-summary":"Delete Open Shift by ID",description:"This operation deletes an open shift.",operationId:"DeleteOpenShift",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftId",in:"path",required:!0,type:"string","x-ms-summary":"Open Shift ID",description:"The unique ID of the open shift.","x-ms-test-value":"OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8"}],responses:{200:{description:"Open Shift Deleted"},204:{description:"No Content"}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"DeleteOpenShift"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-delete-an-open-shift-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/schedulinggroups":{get:{tags:["Shifts"],summary:"Shifts: List all scheduling groups","x-ms-summary":"List all scheduling groups",description:"This operation returns all scheduling groups in a schedule",operationId:"ListSchedulingGroups",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of entries to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of schedule groups in the schedule",type:"array","x-ms-summary":"Scheduling Groups List",items:{$ref:"#/definitions/SchedulingGroupResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListSchedulingGroups"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-scheduling-groups-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/schedulinggroups/{schedulingGroupId}":{get:{tags:["Shifts"],summary:"Shifts: Get a scheduling group","x-ms-summary":"Get Scheduling Group by ID",description:"This operation returns details for a scheduling group using its unique ID.",operationId:"GetSchedulingGroup",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"schedulingGroupId",in:"path",required:!0,type:"string","x-ms-summary":"Scheduling Group ID",description:"The unique ID of the Scheduling Group.","x-ms-test-value":"TAG_f914d037-00a3-4ba4-b712-ef178cbea263"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/SchedulingGroupResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"GetSchedulingGroup"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-get-a-scheduling-group-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/timeOffRequests":{get:{tags:["Shifts"],summary:"Shifts: List all Time Off requests","x-ms-summary":"Time Off Requests List",description:"This operation returns all time off requests in a schedule",operationId:"ListTimeOffRequests",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of requests to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"state",in:"query",description:"Request state filter",required:!1,"x-ms-summary":"Request State","x-ms-visibility":"advanced",type:"string",enum:["pending","approved","declined"],"x-ms-enum-values":[{displayName:"Pending",value:"pending"},{displayName:"Approved",value:"approved"},{displayName:"Declined",value:"declined"}]}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of Time Off requests in the schedule",type:"array","x-ms-summary":"TimeOff Requests List",items:{$ref:"#/definitions/TimeOffRequestResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListTimeOffRequests"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-time-off-requests-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/timeOffRequests/{timeOffRequestId}/approve":{post:{tags:["Shifts"],summary:"Shifts: Approve a Time Off request","x-ms-summary":"Approve a time off request",description:"This operation allows managers to approve a time off request.",operationId:"TimeOffRequestApprove",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"timeOffRequestId",in:"path","x-ms-summary":"Time Off Request ID",description:"The unique ID of the time off request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Manager approves a time off request.",type:"object",properties:{message:{"x-ms-summary":"Message From Manager",description:"A message from the manager to the sender/recipient when a request is accepted.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"TimeOffRequestApprove"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-approve-a-time-off-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/timeOffRequests/{timeOffRequestId}/decline":{post:{tags:["Shifts"],summary:"Shifts: Decline a Time Off request","x-ms-summary":"Decline a time off request",description:"This operation allows managers to decline a time off request.",operationId:"TimeOffRequestDecline",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"timeOffRequestId",in:"path","x-ms-summary":"Time Off Request ID",description:"The unique ID of the time off request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Manager declines a time off request.",type:"object",properties:{message:{"x-ms-summary":"Message From Manager",description:"A message from the manager to the sender/recipient when a request is declined.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"TimeOffRequestDecline"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-decline-a-time-off-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/offerShiftRequests":{get:{tags:["Shifts"],summary:"Shifts: List all Offer Shift requests","x-ms-summary":"Offer Shift Requests List",description:"This operation returns all offer shift requests in a schedule",operationId:"ListOfferShiftRequests",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of requests to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"state",in:"query",description:"Request state filter",required:!1,"x-ms-summary":"Request State","x-ms-visibility":"advanced",type:"string",enum:["pending","approved","declined"],"x-ms-enum-values":[{displayName:"Pending",value:"pending"},{displayName:"Approved",value:"approved"},{displayName:"Declined",value:"declined"}]}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of Offer Shift requests in the schedule",type:"array","x-ms-summary":"Offer Shift Requests List",items:{$ref:"#/definitions/OfferShiftRequestResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListOfferShiftRequests"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-offer-shift-requests-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId}/approve":{post:{tags:["Shifts"],summary:"Shifts: Approve an Offer Shift request","x-ms-summary":"Approve an offer shift request",description:"This operation allows recipients/managers to approve an offer shift request.",operationId:"OfferShiftRequestApprove",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"offerShiftRequestId",in:"path","x-ms-summary":"Offer Shift Request ID",description:"The unique ID of the offer shift request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Approve an offer shift request.",type:"object",properties:{message:{"x-ms-summary":"Message From Recipient/Manager",description:"A message when a request is accepted.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"OfferShiftRequestApprove"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-approve-an-offer-shift-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId}/decline":{post:{tags:["Shifts"],summary:"Shifts: Decline an Offer Shift request","x-ms-summary":"Decline an offer shift request",description:"This operation allows users to decline an offer shift request.",operationId:"OfferShiftRequestDecline",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"offerShiftRequestId",in:"path","x-ms-summary":"Offer Shift Request ID",description:"The unique ID of the offer shift request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Recipient/Manager declines an offer shift request.",type:"object",properties:{message:{"x-ms-summary":"Message From Recipient/Manager",description:"A message when a request is declined.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"OfferShiftRequestDecline"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-decline-an-offer-shift-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/swapShiftsChangeRequests":{get:{tags:["Shifts"],summary:"Shifts: List all Swap Shifts requests","x-ms-summary":"Swap Shifts Requests List",description:"This operation returns all swap shifts requests in a schedule",operationId:"ListSwapShiftsChangeRequests",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of requests to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"state",in:"query",description:"Request state filter",required:!1,"x-ms-summary":"Request State","x-ms-visibility":"advanced",type:"string",enum:["pending","approved","declined"],"x-ms-enum-values":[{displayName:"Pending",value:"pending"},{displayName:"Approved",value:"approved"},{displayName:"Declined",value:"declined"}]}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of Swap Shifts Change Requests in the schedule",type:"array","x-ms-summary":"Swap Shifts Change Requests List",items:{$ref:"#/definitions/SwapShiftsChangeRequestResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListSwapShiftsChangeRequests"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-swap-shifts-requests-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequestId}/approve":{post:{tags:["Shifts"],summary:"Shifts: Approve a Swap Shifts request","x-ms-summary":"Approve a Swap Shifts request",description:"This operation allows a user to approve a Swap Shifts request.",operationId:"SwapShiftsChangeRequestApprove",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"swapShiftsChangeRequestId",in:"path","x-ms-summary":"Swap Shifts Change Request ID",description:"The unique ID of the request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Approve a swap shifts change request.",type:"object",properties:{message:{"x-ms-summary":"Message From Recipient/Manager",description:"A message when a request is accepted.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"SwapShiftsChangeRequestApprove"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-approve-a-swap-shifts-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequestId}/decline":{post:{tags:["Shifts"],summary:"Shifts: Decline a Swap Shifts request","x-ms-summary":"Decline a swap shifts request",description:"This operation allows users to decline a swap shifts request.",operationId:"SwapShiftsChangeRequestDecline",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"swapShiftsChangeRequestId",in:"path","x-ms-summary":"Swap Shifts Change Request ID",description:"The unique ID of the request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Decline a Swap Shifts change request.",type:"object",properties:{message:{"x-ms-summary":"Message From Recipient/Manager",description:"A message when a request is declined.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"SwapShiftsChangeRequestDecline"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-decline-a-swap-shifts-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShiftChangeRequests":{get:{tags:["Shifts"],summary:"Shifts: List all Open Shift requests","x-ms-summary":"Open Shift Requests List",description:"This operation returns all open shift change requests in a schedule",operationId:"ListOpenShiftChangeRequests",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"$top",in:"query",description:"Total number of requests to retrieve",required:!1,"x-ms-summary":"Top Count","x-ms-visibility":"advanced",type:"integer",format:"int32"},{name:"state",in:"query",description:"Request state filter",required:!1,"x-ms-summary":"Request State","x-ms-visibility":"advanced",type:"string",enum:["pending","approved","declined"],"x-ms-enum-values":[{displayName:"Pending",value:"pending"},{displayName:"Approved",value:"approved"},{displayName:"Declined",value:"declined"}]}],responses:{200:{description:"OK",schema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of Open Shift Change Requests in the schedule",type:"array","x-ms-summary":"Open Shift Change Requests List",items:{$ref:"#/definitions/OpenShiftChangeRequestResponse"}}}}}},"x-ms-pageable":{nextLinkName:"@odata.nextLink"},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"ListOpenShiftChangeRequests"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-list-all-open-shift-requests-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShiftChangeRequests/{openShiftChangeRequestId}/approve":{post:{tags:["Shifts"],summary:"Shifts: Approve an Open Shift request","x-ms-summary":"Approve an Open Shift request",description:"This operation allows managers to approve an Open Shift request.",operationId:"OpenShiftChangeRequestApprove",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftChangeRequestId",in:"path","x-ms-summary":"Open Shift Change Request ID",description:"The unique ID of the request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Manager approves an open shift change request.",type:"object",properties:{message:{"x-ms-summary":"Message From Manager",description:"A message from the manager to the sender/recipient when a request is accepted.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"OpenShiftChangeRequestApprove"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-approve-an-open-shift-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule/openShiftChangeRequests/{openShiftChangeRequestId}/decline":{post:{tags:["Shifts"],summary:"Shifts: Decline an Open Shift request","x-ms-summary":"Decline an open shift request",description:"This operation allows managers to decline an open shift request.",operationId:"OpenShiftChangeRequestDecline",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"openShiftChangeRequestId",in:"path","x-ms-summary":"Open Shift Change Request ID",description:"The unique ID of the request",required:!0,type:"string"},{name:"request",in:"body",description:"",required:!0,schema:{description:"Manager declines an Open Shift change request.",type:"object",properties:{message:{"x-ms-summary":"Message From Manager",description:"A message from the manager to the sender/recipient when a request is declined.",type:"string"}}}}],responses:{200:{description:"Success",schema:{}}},"x-ms-no-generic-test":!0,deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"OpenShiftChangeRequestDecline"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-decline-an-open-shift-request-%5bdeprecated%5d"}}},"/{connectionId}/beta/teams/{teamId}/schedule":{get:{tags:["Schedules"],summary:"Shifts: Get a schedule's details","x-ms-summary":"Get Schedule details by ID",description:"This operation returns details of a schedule using the schedule's unique ID.",operationId:"GetSchedule",consumes:[],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ScheduleResponse"}}},deprecated:!0,"x-ms-api-annotation":{status:"Preview",replacement:{api:"Shifts",operationId:"GetSchedule"}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#shifts%3a-get-a-schedule%27s-details-%5bdeprecated%5d"}}},"/{connectionId}/hybridtriggers/onselectedmessage":{get:{tags:["TeamsMessageTrigger"],summary:"For a selected message",description:"For internal use with the on selected message hybrid trigger","x-ms-visibility":"internal",operationId:"ForASelectedMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!1,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"taskModuleWidth",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog width (px)"},{name:"taskModuleHeight",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog height (px)"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the on selected message hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#for-a-selected-message"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicSelectedMessageTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/hybridtriggers/onselectedmessagev2":{get:{tags:["TeamsMessageTriggerV2"],summary:"For a selected message (V2)",description:"For internal use with the on selected message hybrid trigger","x-ms-visibility":"internal",operationId:"ForASelectedMessageV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!1,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"taskModuleWidth",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog width (px)"},{name:"taskModuleHeight",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog height (px)"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the on selected message hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#for-a-selected-message-(v2)"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicSelectedMessageTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/hybridtriggers/oncomposemessage":{get:{tags:["TeamsComposeMessageTrigger"],summary:"From the compose box",description:"For internal use with the compose message hybrid trigger","x-ms-visibility":"internal",operationId:"ComposeAMessage",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!1,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"taskModuleWidth",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog width (px)"},{name:"taskModuleHeight",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog height (px)"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the compose message hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#from-the-compose-box"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicComposeMessageTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/hybridtriggers/composeamessagev2":{get:{tags:["TeamsComposeMessageTriggerV2"],summary:"From the compose box (V2)",description:"For internal use with the compose message hybrid trigger","x-ms-visibility":"internal",operationId:"ComposeAMessageV2",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!1,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"taskModuleWidth",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog width (px)"},{name:"taskModuleHeight",in:"query",required:!1,type:"integer",format:"int32","x-ms-visibility":"advanced","x-ms-summary":"Dialog height (px)"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the compose message hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#from-the-compose-box-(v2)"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicComposeMessageTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/hybridtriggers/teamscardtrigger":{get:{tags:["TeamsCardResponseTrigger"],summary:"For adaptive card responses",description:"For internal use with the adaptive card response trigger","x-ms-visibility":"internal",operationId:"TeamsCardTrigger",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"inputsAdaptiveCard",in:"query",required:!0,type:"string",default:"{}","x-ms-summary":"Inputs Adaptive Card"},{name:"CardTypeId",in:"query",required:!0,type:"string","x-ms-summary":"Card Type ID"}],consumes:[],produces:["application/json","text/json"],responses:{200:{description:"Success",schema:{}},default:{description:"Operation Failed",schema:{}}},deprecated:!1,"x-ms-trigger":"single","x-ms-trigger-hint":"For internal use with the adaptive card response hybrid trigger.",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#for-adaptive-card-responses"}},"x-ms-notification-content":{description:"Tokens parsed out of the adaptive card given as an input by the user",schema:{$ref:"#/definitions/DynamicCardResponseTriggerResult"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/trigger/v1.0/groups/removal":{get:{summary:"When a new team member is removed",description:"Triggers when a member is removed from the specified team",operationId:"OnGroupMembershipRemoval",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"$select",in:"query","x-ms-summary":"Select","x-ms-test-value":"members","x-ms-visibility":"internal",type:"string",default:"members"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/OnGroupMemberChange_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-test-value":"ee115782-220d-4acc-92c4-e261619d63cd","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, remove a member from the team.","x-ms-dev-triggerType":"DeltaLink","x-ms-dev-triggerValueCollection":"value[0].members@delta","x-ms-dev-triggerValuePath":"@odata.deltaLink","x-ms-dev-queryfilterParamName":"$deltatoken",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-team-member-is-removed"}}},"/{connectionId}/trigger/v1.0/groups/delta":{get:{summary:"When a new team member is added",description:"Triggers when a member is added to the given team",operationId:"OnGroupMembershipAdd",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/groupId__in_query"},{name:"$select",in:"query","x-ms-summary":"Select","x-ms-test-value":"members","x-ms-visibility":"internal",type:"string",default:"members"}],responses:{200:{description:"Operation Successful",schema:{$ref:"#/definitions/OnGroupMemberChange_Response"}}},deprecated:!1,"x-ms-visibility":"advanced","x-ms-test-value":"ee115782-220d-4acc-92c4-e261619d63cd","x-ms-pageable":{nextLinkName:"@odata.nextLink"},"x-ms-trigger":"batch","x-ms-trigger-hint":"To see it work now, add a member to the team.","x-ms-dev-triggerType":"DeltaLink","x-ms-dev-triggerValueCollection":"value[0].members@delta","x-ms-dev-triggerValuePath":"@odata.deltaLink","x-ms-dev-queryfilterParamName":"$deltatoken",externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#when-a-new-team-member-is-added"}}},"/{connectionId}/beta/chats":{post:{summary:"Create a chat",description:"Creates a one on one or group chat",tags:["TeamsChat"],operationId:"CreateChat","x-ms-visibility":"important",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"item",in:"body",description:"Chat to create",required:!0,schema:{$ref:"#/definitions/NewChat"},"x-ms-summary":"Item"}],consumes:["application/json"],produces:["application/json"],responses:{201:{description:"default",schema:{$ref:"#/definitions/NewChatResponse"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#create-a-chat"}}},"/{connectionId}/beta/teams":{post:{summary:"Create a team",description:"Creates a new Microsoft Team","x-ms-visibility":"important",operationId:"CreateATeam",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",required:!0,schema:{required:["displayName","description"],type:"object",properties:{displayName:{description:"The name of the team",type:"string","x-ms-visibility":"important","x-ms-summary":"Team Name"},description:{description:"An optional description for the team",type:"string","x-ms-visibility":"important","x-ms-summary":"Description"},visibility:{description:"The visibility of the the team",type:"string","x-ms-summary":"Visibility","x-ms-visibility":"advanced",default:"Public",enum:["Private","Public"]}}}}],responses:{201:{description:"default",schema:{$ref:"#/definitions/CreateATeamResponse"}}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#create-a-team"}}},"/{connectionId}/beta/teamsasyncresult":{get:{summary:"Get Teams async result",description:"This operation gets the result of an asynchronous operation within teams","x-ms-visibility":"internal",operationId:"GetTeamsAsyncResult",produces:["application/json","text/json"],responses:{200:{description:"default",schema:{$ref:"#/definitions/CreateATeamResponse"}}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-teams-async-result"},parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/beta/teams/{teamId}/members":{post:{tags:["AgentHidden"],summary:"Add a member to a team",description:"Adds a member to a Microsoft Team","x-ms-visibility":"important",operationId:"AddMemberToTeam",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/teamId__in_path"},{name:"body",in:"body",required:!0,schema:{required:["userId"],type:"object",properties:{userId:{description:"User principal name or Microsoft Entra ID to add",type:"string","x-ms-visibility":"important","x-ms-summary":"User"},owner:{description:"True, if the user should be a team owner",type:"boolean","x-ms-visibility":"advanced","x-ms-summary":"Set user as team owner"}}}}],responses:{204:{description:"default"}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#add-a-member-to-a-team"}}},"/{connectionId}/beta/teams/conversation/message/poster/{poster}/location/{location}":{post:{summary:"Post message in a chat or channel",description:"Posts a message to a chat or a channel",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"PostMessageToConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/poster__in_path"},{$ref:"#/parameters/location__in_path"},{name:"body","x-ms-summary":"Post message request",description:"The post message request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicPostMessageRequest"}}],responses:{default:{description:"Post message response",schema:{$ref:"#/definitions/PostToConversationResponse"}}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-message-in-a-chat-or-channel"}}},"/{connectionId}/v1.0/teams/conversation/replyWithMessage/poster/{poster}/location/{location}":{post:{summary:"Reply with a message in a channel",description:"Replies with a message to a channel's message",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"ReplyWithMessageToConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutPVA__in_path"},{$ref:"#/parameters/reply__in_path"},{name:"body","x-ms-summary":"Reply message request",description:"The reply message request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicReplyMessageRequest"}}],responses:{201:{description:"Reply message response",schema:{$ref:"#/definitions/PostToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#reply-with-a-message-in-a-channel"}}},"/{connectionId}/v1.0/teams/conversation/adaptivecard/poster/{poster}/location/{location}":{post:{summary:"Post card in a chat or channel",description:"Posts a card to a chat or a channel",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"PostCardToConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithPowerApps__in_path"},{$ref:"#/parameters/location__in_path"},{name:"body","x-ms-summary":"Post card request",description:"The post card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicPostCardRequest"}}],responses:{201:{description:"Post card response",schema:{$ref:"#/definitions/PostToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-card-in-a-chat-or-channel"}}},"/{connectionId}/v1.0/teams/conversation/gatherinput/poster/{poster}/location/{location}/$subscriptions":{post:{operationId:"PostCardAndWaitForResponse",summary:"Post adaptive card and wait for a response",description:"Posts an adaptive card to a chat or a channel and waits for a response from any user. This will pause the flow until any user responds.",tags:["TeamsChat","TeamsChannel","AgentHidden"],"x-ms-visibility":"important",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutUser__in_path"},{$ref:"#/parameters/location__in_path"},{name:"body","x-ms-summary":"Flow continuation subscription request",description:"The flow continuation subscription request",in:"body",required:!0,schema:{type:"object",properties:{notificationUrl:{"x-ms-visibility":"internal","x-ms-notification-url":!0,type:"string"},body:{type:"object",properties:{recipient:{$ref:"#/definitions/DynamicPostCardAndWaitRequest"},messageBody:{"x-ms-summary":"Message",type:"string"},updateMessage:{description:"Message to show as an update in the original card following response",default:"Thanks for your response!","x-ms-summary":"Update message",type:"string"}},required:["recipient","messageBody"]}},required:["notificationUrl","body"]}}],responses:{201:{description:"Post adaptive card response",schema:{$ref:"#/definitions/DynamicPostGatherInputToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#post-adaptive-card-and-wait-for-a-response"}},"x-ms-notification-content":{description:"Details for the response with which a flow continuation subscription is completed and flows waiting on that subscription are resumed",schema:{$ref:"#/definitions/DynamicGatherInputSubscriptionResult"},deprecated:!1,"x-ms-no-generic-test":!0,parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}]}},"/{connectionId}/v1.0/teams/conversation/replyWithAdaptivecard/poster/{poster}/location/{location}":{post:{summary:"Reply with an adaptive card in a channel",description:"Replies with an adaptive card to a channel's message",tags:["TeamsChannel"],"x-ms-visibility":"important",operationId:"ReplyWithCardToConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutPVA__in_path"},{$ref:"#/parameters/reply__in_path"},{name:"body","x-ms-summary":"Reply adaptive card request",description:"The reply adaptive card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicReplyCardRequest"}}],responses:{201:{description:"Reply adaptive card response",schema:{$ref:"#/definitions/PostToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#reply-with-an-adaptive-card-in-a-channel"}}},"/{connectionId}/v1.0/teams/conversation/updateAdaptivecard/poster/{poster}/location/{location}":{post:{summary:"Update an adaptive card in a chat or channel",description:"Updates an existing adaptive card",tags:["TeamsChat","TeamsChannel"],"x-ms-visibility":"important",operationId:"UpdateCardInConversation",consumes:["application/json"],produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterWithoutPVA__in_path"},{$ref:"#/parameters/update_location__in_path"},{name:"body","x-ms-summary":"Update adaptive card request",description:"The update adaptive card request",in:"body",required:!0,schema:{$ref:"#/definitions/DynamicUpdateCardRequest"}}],responses:{204:{description:"Update adaptive card succeeded"},201:{description:"Update adaptive card response",schema:{$ref:"#/definitions/PostToConversationResponse"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#update-an-adaptive-card-in-a-chat-or-channel"}}},"/{connectionId}/flowbot/getmessagedetailsinputschema/threadType/{threadType}":{get:{operationId:"GetMessageDetailsInputSchema",summary:"Get message details response schema",description:"Get the schema information for get message details response","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/GetMessageDetailsSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-details-response-schema"}}},"/{connectionId}/flowbot/getmessagedetailsresponseschema/threadType/{threadType}":{get:{operationId:"GetMessageDetailsResponseSchema",summary:"Get message details input metadata",description:"Get the schema information for message inputs","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/GetMessageDetailsSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-message-details-input-metadata"}}},"/{connectionId}/flowbot/listmembersinputschema/threadType/{threadType}":{get:{operationId:"ListMembersInputSchema",summary:"List members input schema",description:"Get the schema information for list members input based on thread type","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/ListMembersSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#list-members-input-schema"}}},"/{connectionId}/flowbot/webhookTrigger/inputSchema/threadType/{threadType}":{get:{summary:"Input schema for webhook trigger",description:"Gets the input schema for webhook trigger","x-ms-visibility":"internal",operationId:"GetWebhookTriggerRequestSchema",produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/WebhookTriggerSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#input-schema-for-webhook-trigger"}}},"/{connectionId}/flowbot/webhookTrigger/triggerType/{triggerType}/responseSchema/threadType/{threadType}":{get:{summary:"Response schema for webhook trigger",description:"Gets the response schema for webhook trigger","x-ms-visibility":"internal",operationId:"GetWebhookTriggerResponseSchema",produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/triggerType__in_path"},{$ref:"#/parameters/threadType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/WebhookTriggerSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#response-schema-for-webhook-trigger"}}},"/{connectionId}/flowbot/messageType/{messageType}/poster/{poster}":{get:{summary:"Conversation location for where to post",description:"Returns a list of locations to post a message or reply based on who the user is posting as","x-ms-visibility":"internal",operationId:"GetMessageLocations",produces:["application/json","text/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/messageType__in_path"},{$ref:"#/parameters/poster__in_path"}],responses:{200:{description:"Operation is successful",schema:{type:"object",properties:{locations:{type:"array",items:{type:"object"},description:"valid locations to post a message or reply, make verbose"}}}},default:{description:"Operation Failed."}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#conversation-location-for-where-to-post"}}},"/{connectionId}/flowbot/getfeednotificationinputschema/poster/{poster}/notificationType/{notificationType}":{get:{operationId:"GetFeedNotificationInputSchema",summary:"Get feed notification input metadata",description:"Get the schema information for feed notification","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{$ref:"#/parameters/posterJustFlowbot__in_path"},{$ref:"#/parameters/notificationType__in_path"}],responses:{200:{description:"Success",schema:{$ref:"#/definitions/PostFeedSchema"}},default:{description:"Operation Failed",schema:{}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#get-feed-notification-input-metadata"}}},"/{connectionId}/teams/proxy/pva/bots":{get:{summary:"Gets all virtual agent chat bots",description:"Gets all virtual agent chat bots in current env",operationId:"GetVirtualAgentBots","x-ms-visibility":"internal",parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/VirtualAgentBots"}}},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#gets-all-virtual-agent-chat-bots"}}},"/{connectionId}/httprequest":{post:{tags:["AgentHidden"],summary:"Send a Microsoft Graph HTTP request",description:"Construct a Microsoft Graph REST API request to invoke against the Microsoft Team endpoints. These segments are supported: 1st segment: /teams, /me, /users 2nd segment: channels, chats, installedApps, messages, pinnedMessages. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api",operationId:"HttpRequest",consumes:[],produces:[],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"Uri",in:"header",description:"The full or relative URI. Example: https://graph.microsoft.com/{version}/{resource}",required:!0,"x-ms-summary":"URI",type:"string"},{name:"Method",in:"header",description:"The HTTP method (default is GET)",default:"GET",enum:["GET","POST","PUT","PATCH","DELETE"],required:!0,"x-ms-summary":"Method",type:"string"},{name:"Body",in:"body",description:"The request body content",required:!1,schema:{format:"binary",type:"string"},"x-ms-summary":"Body"},{name:"ContentType",in:"header",description:"The content-type header for the body (default is application/json)",required:!1,"x-ms-summary":"Content-Type",type:"string",default:"application/json"},{name:"CustomHeader1",in:"header",description:"Custom header 1. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader1",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader2",in:"header",description:"Custom header 2. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader2",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader3",in:"header",description:"Custom header 3. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader3",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader4",in:"header",description:"Custom header 4. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader4",type:"string","x-ms-visibility":"advanced"},{name:"CustomHeader5",in:"header",description:"Custom header 5. Specify in format: header-name: header-value",required:!1,"x-ms-summary":"CustomHeader5",type:"string","x-ms-visibility":"advanced"}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/ObjectWithoutType"}},default:{description:"Operation Failed."}},deprecated:!1,"x-ms-visibility":"important","x-ms-api-annotation":{status:"Production"},externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#send-a-microsoft-graph-http-request"}}},"/whr":{post:{summary:"Proxy endpoint to validate subscriptions and forward notifications",description:"Proxy endpoint that receives notifications from the GraphAPI and validates subscriptions",operationId:"WebhookResponse",parameters:[],responses:{default:{description:"OK"}},deprecated:!1,security:[],"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#proxy-endpoint-to-validate-subscriptions-and-forward-notifications"}}},"/whlifecycle":{post:{summary:"Proxy endpoint to validate and handle lifecycle notifications",description:"Proxy endpoint that receives lifecycle notifications from the GraphAPI and handles the response",operationId:"WebhookLifecycleNotification",parameters:[],responses:{default:{description:"OK"}},deprecated:!1,security:[],"x-ms-visibility":"internal","x-ms-no-generic-test":!0,externalDocs:{url:"https://docs.microsoft.com/connectors/teams/#proxy-endpoint-to-validate-and-handle-lifecycle-notifications"}}}},definitions:{Object:{type:"object",properties:{}},ConnectorMetadata:{type:"object",properties:{metadatatype:{type:"string"},activitytype:{type:"string"},schema:{$ref:"#/definitions/Object"}}},PostFeedSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},PostMessageSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},PostCardSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},PostCardAndWaitSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},UnifiedActionSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},GetMessageDetailsSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},ListMembersSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},GetTagsResponseSchema:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{type:"array",items:{type:"object",properties:{id:{description:"Unique identifier of the tag",type:"string","x-ms-summary":"ID","x-ms-visibility":"important"},teamId:{description:"ID of the team in which the tag is defined",type:"string","x-ms-summary":"Team ID","x-ms-visibility":"important"},displayName:{description:"The name of the tag as it appears to the user in Microsoft Teams.",type:"string","x-ms-summary":"Display name","x-ms-visibility":"important"},memberCount:{description:"The number of users assigned to the tag",type:"integer","x-ms-summary":"Member count","x-ms-visibility":"important"}}}}}},GetTagMembersResponseSchema:{type:"object",properties:{value:{type:"array",items:{type:"object",properties:{id:{description:"The unique identifier for the member",type:"string","x-ms-summary":"Tag member ID","x-ms-visibility":"important"},tenantId:{description:"The ID of the tenant that the tag member is a part of",type:"string","x-ms-summary":"Tenant ID","x-ms-visibility":"important"},displayName:{description:"The member's display name",type:"string","x-ms-summary":"User display name","x-ms-visibility":"important"},userId:{description:"The user ID of the member",type:"string","x-ms-summary":"User ID","x-ms-visibility":"important"}}}}}},CreateTagResponseSchema:{description:"The created tag for a team","x-ms-summary":"Tag",type:"object",properties:{"@odata.type":{type:"string","x-ms-visibility":"internal"},id:{description:"Unique identifier of the tag",type:"string","x-ms-summary":"ID","x-ms-visibility":"important"},teamId:{description:"ID of the team in which the tag is defined",type:"string","x-ms-summary":"Team ID","x-ms-visibility":"important"},displayName:{description:"The name of the tag as it appears to the user in Microsoft Teams.",type:"string","x-ms-summary":"Display name","x-ms-visibility":"important"},memberCount:{description:"The number of users assigned to the tag",type:"integer","x-ms-summary":"Member count","x-ms-visibility":"important"}}},AddMemberToTagResponseSchema:{type:"object",properties:{userId:{description:"User ID of the member added to the tag",type:"string","x-ms-summary":"ID","x-ms-visibility":"important"}}},DynamicGetMessageDetailsSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetMessageDetailsInputSchema",parameters:{threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicGetMessageDetailsResponseSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetMessageDetailsResponseSchema",parameters:{threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicListMembersSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"ListMembersInputSchema",parameters:{threadType:{parameter:"threadType"}},"value-path":"schema"}},ListMembersResponseSchema:{description:"List members response schema",type:"object",properties:{value:{description:"List members response",type:"array",items:{type:"object",properties:{displayName:{description:"Display name of the member",type:"string","x-ms-summary":"Display Name"},email:{description:"Email address of the member",type:"string","x-ms-summary":"E-Mail"},id:{description:"Member's user ID",type:"string","x-ms-summary":"ID"},roles:{description:"The roles for that member",type:"array",items:{type:"string"},"x-ms-summary":"Roles"},tenantId:{description:"Tenant ID of the member",type:"string","x-ms-summary":"Tenant ID"},userId:{description:"User ID of the member",type:"string","x-ms-summary":"User ID"},visibleHistoryStartDateTime:{description:"The timestamp denoting how far back a conversation's history is shared with the conversation member",type:"string","x-ms-summary":"Start time of conversation's visible history"}}},"x-ms-summary":"List of members"}}},ListRepliesResponseSchema:{description:"List replies response schema",type:"object",properties:{value:{description:"List replies response",type:"array",items:{type:"object",properties:{id:{description:"Reply ID",type:"string","x-ms-summary":"ID"},replyToId:{description:"ID of the message being replied to",type:"string","x-ms-summary":"Reply To ID"},etag:{description:"ETag of the reply",type:"string","x-ms-summary":"ETag"},messageType:{description:"Type of the message",type:"string","x-ms-summary":"Message Type"},createdDateTime:{description:"Creation timestamp of the reply",type:"string","x-ms-summary":"Created Date Time"},lastModifiedDateTime:{description:"Last modification timestamp of the reply",type:"string","x-ms-summary":"Last Modified Date Time"},lastEditedDateTime:{description:"Last edited timestamp of the reply",type:"string","x-ms-summary":"Last Edited Date Time"},deletedDateTime:{description:"Deletion timestamp of the reply",type:"string","x-ms-summary":"Deleted Date Time"},subject:{description:"Subject of the reply",type:"string","x-ms-summary":"Subject"},summary:{description:"Summary of the reply",type:"string","x-ms-summary":"Summary"},chatId:{description:"Chat ID associated with the reply",type:"string","x-ms-summary":"Chat ID"},importance:{description:"Importance of the reply",type:"string","x-ms-summary":"Importance"},locale:{description:"Locale of the reply",type:"string","x-ms-summary":"Locale"},webUrl:{description:"Web URL of the reply",type:"string","x-ms-summary":"Web URL"},policyViolation:{description:"Policy violation details",type:"object","x-ms-summary":"Policy Violation"},eventDetail:{description:"Event details associated with the reply",type:"object","x-ms-summary":"Event Detail"},from:{description:"Details of the user who sent the reply",type:"object",properties:{application:{description:"Application details",type:"object","x-ms-summary":"Application"},device:{description:"Device details",type:"object","x-ms-summary":"Device"},user:{description:"User details",type:"object",properties:{id:{description:"User ID",type:"string","x-ms-summary":"User ID"},displayName:{description:"Display name of the user",type:"string","x-ms-summary":"Display Name"},userIdentityType:{description:"Type of user identity",type:"string","x-ms-summary":"User Identity Type"},tenantId:{description:"Tenant ID of the user",type:"string","x-ms-summary":"Tenant ID"}}}}},body:{description:"Content of the reply",type:"object",properties:{contentType:{description:"Content type of the reply",type:"string","x-ms-summary":"Content Type"},content:{description:"Content of the reply",type:"string","x-ms-summary":"Content"}}},channelIdentity:{description:"Channel identity details",type:"object",properties:{teamId:{description:"Team ID",type:"string","x-ms-summary":"Team ID"},channelId:{description:"Channel ID",type:"string","x-ms-summary":"Channel ID"}}},attachments:{description:"Attachments in the reply",type:"array",items:{type:"object"},"x-ms-summary":"Attachments"},mentions:{description:"Mentions in the reply",type:"array",items:{type:"object"},"x-ms-summary":"Mentions"},reactions:{description:"Reactions to the reply",type:"array",items:{type:"object"},"x-ms-summary":"Reactions"},messageHistory:{description:"History of the message",type:"array",items:{type:"object"},"x-ms-summary":"Message History"}}},"x-ms-summary":"List of message replies"}}},DynamicUserNotificationRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetNotificationInputMetadata",parameters:{recipientType:"user"},"value-path":"schema"}},DynamicPostConversationNotificationRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetNotificationInputMetadata",parameters:{recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicChannelNotificationRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetNotificationInputMetadata",parameters:{recipientType:"channel"},"value-path":"schema"}},DynamicPostFeedNotificationRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetFeedNotificationInputSchema",parameters:{poster:{parameter:"poster"},notificationType:{parameter:"notificationType"}},"value-path":"schema"}},DynamicPostMessageRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"Message",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicReplyMessageRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"ReplyWithMessage",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicPostCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"UnifiedAdaptiveCard",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicPostCardAndWaitRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"GatherInput",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicReplyCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"ReplyWithAdaptiveCard",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicUpdateCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetUnifiedActionSchema",parameters:{actionType:"UpdateAdaptiveCard",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicUserAdaptiveCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetAdaptiveCardInputMetadata",parameters:{recipientType:"user"},"value-path":"schema"}},DynamicChannelAdaptiveCardRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetAdaptiveCardInputMetadata",parameters:{recipientType:"channel"},"value-path":"schema"}},DynamicUserMessageWithOptionsSubscriptionRequest:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetMessageWithOptionsSubscriptionInputMetadata",parameters:{recipientType:"user"},"value-path":"schema"}},DynamicUserMessageWithOptionsSubscriptionResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetMessageWithOptionsSubscriptionOutputMetadata",parameters:{recipientType:"user"},"value-path":"schema"}},DynamicSelectedMessageTriggerResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetSelectedMessageTriggerOutputsMetadata",parameters:{body:{parameter:"inputsAdaptiveCard"}},"value-path":"schema"}},DynamicComposeMessageTriggerResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetComposeMessageTriggerOutputsMetadata",parameters:{body:{parameter:"inputsAdaptiveCard"}},"value-path":"schema"}},DynamicCardResponseTriggerResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetCardResponseTriggerOutputsMetadata",parameters:{body:{parameter:"inputsAdaptiveCard"}},"value-path":"schema"}},WebhookTriggerSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},MessageReactionWebhookResponseSchema:{description:"Message details",type:"object",properties:{threadType:{type:"string","x-ms-summary":"ThreadType","x-ms-visibility":"advanced",enum:["groupchat","channel"],"x-ms-enum-values":[{displayName:"Channel",value:"channel"},{displayName:"Group chat",value:"groupchat"}]},chatId:{description:"The chat's unique identifier",type:"string","x-ms-summary":"ChatId","x-ms-visibility":"advanced"},teamId:{description:"The team's unique identifier",type:"string","x-ms-summary":"TeamId","x-ms-visibility":"advanced"},channelId:{description:"The channel's unique identifier",type:"string","x-ms-summary":"ChannelId","x-ms-visibility":"advanced"},messageId:{description:"Id of the message which was reacted",type:"string","x-ms-summary":"MessageId","x-ms-visibility":"advanced"},replyToId:{description:"ID of the parent message of the thread",type:"string","x-ms-summary":"ReplyToId","x-ms-visibility":"advanced"},messageLink:{description:"Link to the message which was reacted",type:"string","x-ms-summary":"Messagelink","x-ms-visibility":"advanced"},userId:{description:"Reacting user's Id",type:"string","x-ms-summary":"UserId","x-ms-visibility":"advanced"},messageReaction:{description:"Message reaction used",type:"string","x-ms-summary":"MessageReaction","x-ms-visibility":"advanced"}}},ChatMessageWebhookResponseSchema:{description:"Message details",type:"object",properties:{value:{description:"Message details response",type:"array",items:{type:"object",properties:{conversationId:{description:"The chat's unique identifier",type:"string","x-ms-summary":"Conversation ID","x-ms-visibility":"advanced"},messageId:{description:"Message ID",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"},linkToMessage:{description:"Message link",type:"string","x-ms-summary":"Link","x-ms-visibility":"advanced"}}},"x-ms-summary":"Message"}}},DynamicWebhookTriggerRequestSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetWebhookTriggerRequestSchema",parameters:{threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicKeywordWebhookTriggerResponseSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetWebhookTriggerResponseSchema",parameters:{triggerType:"keyword",threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicAtMentionWebhookTriggerResponseSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetWebhookTriggerResponseSchema",parameters:{triggerType:"atMention",threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicNewMessageWebhookTriggerResponseSchema:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetWebhookTriggerResponseSchema",parameters:{triggerType:"newMessage",threadType:{parameter:"threadType"}},"value-path":"schema"}},DynamicPostToConversationResponse:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetPostToConversationResponseSchema",parameters:{actionType:"Message",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicPostGatherInputToConversationResponse:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetPostToConversationResponseSchema",parameters:{actionType:"GatherInput",poster:{parameter:"poster"},recipientType:{parameter:"location"}},"value-path":"schema"}},DynamicResponseSchema:{type:"object",properties:{schema:{$ref:"#/definitions/Object"}}},MessageId:{type:"object",properties:{id:{description:"Unique message identifier",type:"string","x-ms-summary":"Message ID","x-ms-visibility":"advanced"}}},DynamicUserFlowContinuationSubscriptionResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetFlowContinuationSubscriptionOutputMetadata",parameters:{recipientType:"user",body:{parameter:"body.messageBody"}},"value-path":"schema"},"x-ms-dynamic-properties":{operationId:"GetFlowContinuationSubscriptionOutputMetadata",parameters:{recipientType:{value:"user"},body:{parameterReference:"UserFlowContinuationSubscriptionRequest/body/messageBody"}},itemValuePath:"schema"}},DynamicChannelFlowContinuationSubscriptionResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetFlowContinuationSubscriptionOutputMetadata",parameters:{recipientType:"channel",body:{parameter:"body.messageBody"}},"value-path":"schema"},"x-ms-dynamic-properties":{operationId:"GetFlowContinuationSubscriptionOutputMetadata",parameters:{recipientType:{value:"channel"},body:{parameterReference:"ChannelFlowContinuationSubscriptionRequest/body/messageBody"}},itemValuePath:"schema"}},DynamicGatherInputSubscriptionResult:{type:"object",properties:{},"x-ms-dynamic-schema":{operationId:"GetFlowContinuationSubscriptionWithPosterOutputMetadata",parameters:{recipientType:"user",poster:{parameter:"poster"},body:{parameter:"body.messageBody"}},"value-path":"schema"},"x-ms-dynamic-properties":{operationId:"GetFlowContinuationSubscriptionWithPosterOutputMetadata",parameters:{recipientType:{value:"user"},poster:{parameterReference:"poster"},body:{parameterReference:"body/body/messageBody"}},itemValuePath:"schema"}},GetMessagesFromChannel_Response:{type:"object",properties:{"@odata.context":{description:"@odata.context",type:"string","x-ms-summary":"@odata.context","x-ms-visibility":"advanced"},"@odata.count":{format:"int32",description:"@odata.count",type:"integer","x-ms-summary":"@odata.count","x-ms-visibility":"advanced"},"@odata.nextLink":{description:"@odata.nextLink",type:"string","x-ms-summary":"@odata.nextLink","x-ms-visibility":"advanced"},value:{$ref:"#/definitions/OnNewChannelMessage_Response"}}},OnGroupMemberChange_Response:{description:"value",type:"array",items:{type:"object",properties:{id:{description:"Unique id of the user",type:"string","x-ms-visibility":"advanced","x-ms-summary":"User ID"}}}},OnNewChannelMessage_Response:{description:"List of one or more messages for a specific channel in a team",type:"array",items:{type:"object","x-ms-summary":"Message",description:"Properties associated with a single message",properties:{attachments:{description:"attachments",type:"array",items:{type:"object"},"x-ms-summary":"attachments","x-ms-visibility":"advanced"},body:{description:"Plaintext representation of the content of the message",type:"object",properties:{content:{description:"The content of the message",type:"string","x-ms-summary":"content","x-ms-visibility":"advanced"},contentType:{description:"The type of the content. Possible values are text and html",type:"string","x-ms-summary":"content type","x-ms-visibility":"advanced"}},"x-ms-summary":"body","x-ms-visibility":"advanced"},createdDateTime:{format:"date-time",description:"Timestamp of when the chat message was created",type:"string","x-ms-summary":"creation timestamp","x-ms-visibility":"advanced"},deleted:{description:"deleted",type:"boolean","x-ms-summary":"deleted","x-ms-visibility":"advanced"},etag:{description:"Version number of the chat message.",type:"string","x-ms-summary":"etag","x-ms-visibility":"advanced"},from:{description:"The message sender",type:"object",properties:{application:{description:"application",type:"object","x-ms-summary":"application","x-ms-visibility":"advanced"},device:{description:"device",type:"string","x-ms-summary":"device","x-ms-visibility":"advanced"},user:{description:"user",type:"object",properties:{displayName:{description:"display name",type:"string","x-ms-summary":"display name","x-ms-visibility":"advanced"},id:{description:"user's identifier",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"},identityProvider:{description:"identityProvider",type:"string","x-ms-summary":"identityProvider","x-ms-visibility":"advanced"}},"x-ms-summary":"user","x-ms-visibility":"advanced"}},"x-ms-summary":"from","x-ms-visibility":"advanced"},id:{description:"Unique ID of the message",type:"string","x-ms-summary":"id","x-ms-visibility":"advanced"},importance:{description:"The importance of the message. The possible values are: normal, high, urgent.",type:"string","x-ms-summary":"importance","x-ms-visibility":"advanced"},lastModifiedDateTime:{description:"Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed",type:"string","x-ms-summary":"last modified timestamp","x-ms-visibility":"advanced"},locale:{description:"Locale of the chat message set by the client.",type:"string","x-ms-summary":"locale","x-ms-visibility":"advanced"},mentions:{description:"List of entities mentioned in the chat message. Supported entities are: user, bot, team, and channel.",type:"array",items:{type:"object"},"x-ms-summary":"mentions","x-ms-visibility":"advanced"},messageType:{description:"The type of chat message",type:"string","x-ms-summary":"messageType","x-ms-visibility":"advanced"},reactions:{description:"Reactions for this chat message (for example, Like)",type:"array",items:{type:"object"},"x-ms-summary":"reactions","x-ms-visibility":"advanced"},replyToId:{description:"ID of the parent message of the thread",type:"string","x-ms-summary":"replyToId","x-ms-visibility":"advanced"},subject:{description:"The subject of the chat message, optional",type:"string","x-ms-summary":"subject","x-ms-visibility":"advanced"},summary:{description:"Summary text of the message that could be used for push notifications and summary views or fall back views",type:"string","x-ms-summary":"summary","x-ms-visibility":"advanced"}}},"x-ms-summary":"Message List","x-ms-visibility":"advanced"},GetTeamResponse:{description:"Get team response",type:"object",properties:{id:{"x-ms-summary":"Team ID",description:"The unique identifier of the team",type:"string"},displayName:{"x-ms-summary":"Display name",description:"The name of the team",type:"string"},description:{"x-ms-summary":"Description of team",description:"The description of the team, optional",type:"string"},internalId:{"x-ms-summary":"Internal ID",description:"The internal ID of the team",type:"string"},webUrl:{"x-ms-summary":"Team's web url",description:"A hyperlink that will go to the team in the Microsoft Teams client",type:"string"},isArchived:{"x-ms-summary":"Archived",description:"Whether this team is in read-only mode",type:"boolean"},memberSettings:{$ref:"#/definitions/MemberSettings"},guestSettings:{$ref:"#/definitions/GuestSettings"},messagingSettings:{$ref:"#/definitions/MessagingSettings"},funSettings:{$ref:"#/definitions/FunSettings"},discoverySettings:{$ref:"#/definitions/DiscoverySettings"}}},GetChannelResponse:{description:"Get team channel details response",type:"object",properties:{id:{"x-ms-summary":"Channel ID",description:"The unique identifier of the channel",type:"string"},displayName:{"x-ms-summary":"Display name",description:"The name of the channel",type:"string"},description:{"x-ms-summary":"Description of channel",description:"The description of the channel, optional",type:"string"},email:{"x-ms-summary":"The email address for the channel",description:"The email address for sending messages to the channel",type:"string"},tenantId:{"x-ms-summary":"Team tenant id",description:"The ID of the Microsoft Entra tenant.",type:"string"},webUrl:{"x-ms-summary":"A hyperlink for the channel in Microsoft Teams",description:"A hyperlink for the channel in Microsoft Teams",type:"string"},filesFolderWebUrl:{"x-ms-summary":"SharePoint folder URL for channel",description:"The SharePoint folder URL of the channel",type:"string"},createdDateTime:{"x-ms-summary":"Channel creation time",format:"date-time",description:"Timestamp at which the channel was created. Read only",type:"string"},membershipType:{"x-ms-summary":"The type of the channel.",description:"The channel membership type",type:"string",enum:["standard","private","unknownFutureValue","shared"]}}},WebhookRequest:{type:"object",required:["notificationUrl"],properties:{notificationUrl:{type:"string",description:"Specify a well-formed URL of the endpoint that will receive notifications",title:"Notification URL","x-ms-notification-url":!0,"x-ms-visibility":"internal"}}},GetTimeOffReasonsResponse:{description:"The list of Time Off Reasons.","x-ms-summary":"List of time off reasons associated with a team",type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{"x-ms-summary":"Array containing time off reasons",description:"The list of time off reasons.",type:"array",items:{type:"object","x-ms-summary":"Single time off reason.",description:"Time off reason.",properties:{id:{"x-ms-summary":"Time Off Reason ID",description:"The unique ID of the time off reason.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},iconType:{"x-ms-summary":"Icon Type",description:"Icon Type",type:"string"},isActive:{"x-ms-summary":"Is Active",description:"Is Active",type:"boolean"},lastModifiedBy:{$ref:"#/definitions/LastModifiedBy"}}}}}},TimeOffRequestResponse:{"x-ms-summary":"TimeOff Request",description:"TimeOff Request Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the TimeOff request.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},assignedTo:{"x-ms-summary":"Assigned To",description:"The person the request is assigned to: 'manager' or 'recipient'",type:"string"},state:{"x-ms-summary":"State",description:"'approved', 'pending' or 'declined'",type:"string"},senderDateTime:{"x-ms-summary":"Sender Time",format:"date-time",description:"Time when the request was sent",type:"string"},senderMessage:{"x-ms-summary":"Sender Message",description:"The message from the request sender",type:"string"},senderUserId:{"x-ms-summary":"Sender ID",description:"The ID of the user that sent the request",type:"string"},managerActionDateTime:{"x-ms-summary":"Manager Action Time",format:"date-time",description:"Time when the manager responded",type:"string"},managerActionMessage:{"x-ms-summary":"Manager Message",description:"The message from the manager",type:"string"},managerUserId:{"x-ms-summary":"Manager ID",description:"The ID of the manager that responded",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"Start of time requested off",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"End of time requested off",type:"string"},timeOffReasonId:{"x-ms-summary":"TimeOff Reason ID",description:"The ID of the TimeOff Reason",type:"string"}}},OfferShiftRequestResponse:{"x-ms-summary":"Offer Shift Request",description:"Offer Shift Request Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the Offer Shift request.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},assignedTo:{"x-ms-summary":"Assigned To",description:"The person the request is assigned to: 'manager' or 'recipient'",type:"string"},state:{"x-ms-summary":"State",description:"'approved', 'pending' or 'declined'",type:"string"},senderDateTime:{"x-ms-summary":"Sender Time",format:"date-time",description:"Time when the request was sent",type:"string"},senderMessage:{"x-ms-summary":"Sender Message",description:"The message from the request sender",type:"string"},senderUserId:{"x-ms-summary":"Sender ID",description:"The ID of the user that sent the request",type:"string"},senderShiftId:{"x-ms-summary":"Sender Shift ID",description:"The ID of the shift from the sender",type:"string"},recipientActionDateTime:{"x-ms-summary":"Receiver Time",format:"date-time",description:"Time when the recipient responded",type:"string"},recipientActionMessage:{"x-ms-summary":"Recipient Message",description:"The message from the recipient",type:"string"},recipientUserId:{"x-ms-summary":"Recipient ID",description:"The ID of the recipient of the request",type:"string"},managerActionDateTime:{"x-ms-summary":"Manager Action Time",format:"date-time",description:"Time when the manager responded",type:"string"},managerActionMessage:{"x-ms-summary":"Manager Message",description:"The message from the manager",type:"string"},managerUserId:{"x-ms-summary":"Manager ID",description:"The ID of the manager that responded",type:"string"}}},SwapShiftsChangeRequestResponse:{"x-ms-summary":"Swap Shift Request",description:"Swap Shift Request Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the Swap Shift request.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},assignedTo:{"x-ms-summary":"Assigned To",description:"The person the request is assigned to: 'manager' or 'recipient'",type:"string"},state:{"x-ms-summary":"State",description:"'approved', 'pending' or 'declined'",type:"string"},senderDateTime:{"x-ms-summary":"Sender Time",format:"date-time",description:"Time when the request was sent",type:"string"},senderMessage:{"x-ms-summary":"Sender Message",description:"The message from the request sender",type:"string"},senderUserId:{"x-ms-summary":"Sender ID",description:"The ID of the user that sent the request",type:"string"},senderShiftId:{"x-ms-summary":"Sender Shift ID",description:"The ID of the shift from the sender",type:"string"},recipientActionDateTime:{"x-ms-summary":"Receiver Time",format:"date-time",description:"Time when the recipient responded",type:"string"},recipientActionMessage:{"x-ms-summary":"Recipient Message",description:"The message from the recipient",type:"string"},recipientUserId:{"x-ms-summary":"Recipient ID",description:"The ID of the recipient of the request",type:"string"},recipientShiftId:{"x-ms-summary":"Recipient Shift ID",description:"The ID of the shift from the recipient",type:"string"},managerActionDateTime:{"x-ms-summary":"Manager Action Time",format:"date-time",description:"Time when the manager responded",type:"string"},managerActionMessage:{"x-ms-summary":"Manager Message",description:"The message from the manager",type:"string"},managerUserId:{"x-ms-summary":"Manager ID",description:"The ID of the manager that responded",type:"string"}}},OpenShiftChangeRequestResponse:{"x-ms-summary":"Open Shift Change Request",description:"Open Shift Change Request Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the Open Shift Change request.",type:"string"},createdDateTime:{"x-ms-summary":"Created Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},assignedTo:{"x-ms-summary":"Assigned To",description:"The person the request is assigned to: 'manager' or 'recipient'",type:"string"},state:{"x-ms-summary":"State",description:"'approved', 'pending' or 'declined'",type:"string"},senderDateTime:{"x-ms-summary":"Sender Time",format:"date-time",description:"Time when the request was sent",type:"string"},senderMessage:{"x-ms-summary":"Sender Message",description:"The message from the request sender",type:"string"},senderUserId:{"x-ms-summary":"Sender ID",description:"The ID of the user that sent the request",type:"string"},managerActionDateTime:{"x-ms-summary":"Manager Action Time",format:"date-time",description:"Time when the manager responded",type:"string"},managerActionMessage:{"x-ms-summary":"Manager Message",description:"The message from the manager",type:"string"},managerUserId:{"x-ms-summary":"Manager ID",description:"The ID of the manager that responded",type:"string"},openShiftId:{"x-ms-summary":"Open Shift ID",description:"The ID of the open shift being requested",type:"string"}}},EditOpenShiftRequest:{type:"object",properties:{schedulingGroupId:{"x-ms-visibility":"important",description:"Scheduling Group ID","x-ms-summary":"Scheduling Group ID",type:"string","x-ms-dynamic-values":{"value-path":"id","value-title":"displayName",operationId:"ListSchedulingGroups","value-collection":"value",parameters:{teamId:{parameter:"teamId"}}}},sharedOpenShift:{"x-ms-visibility":"important",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name","x-ms-visibility":"advanced",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes","x-ms-visibility":"advanced",type:"string"},startDateTime:{"x-ms-summary":"From Start Time","x-ms-visibility":"important",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time","x-ms-visibility":"important",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{$ref:"#/definitions/ThemeEditor"},openSlotCount:{"x-ms-summary":"Open Slot Count","x-ms-visibility":"important",description:"Open Slot Count",type:"integer"},activities:{$ref:"#/definitions/Activities"}},required:["startDateTime","endDateTime","openSlotCount"]}}},OpenShiftResponse:{"x-ms-summary":"Open Shift",description:"Open Shift Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the open shift.",type:"string"},createdDateTime:{"x-ms-summary":"Created Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},schedulingGroupId:{"x-ms-summary":"Scheduling Group ID",description:"Scheduling Group ID",type:"string"},lastModifiedBy:{$ref:"#/definitions/LastModifiedBy"},sharedOpenShift:{$ref:"#/definitions/SharedOpenShift"},draftOpenShift:{$ref:"#/definitions/DraftOpenShift"}}},SharedOpenShift:{"x-ms-summary":"Shared Open Shift",description:"Shared version of the open shift",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{"x-ms-summary":"Theme",description:"Theme",type:"string"},openSlotCount:{"x-ms-summary":"Open Slot Count",description:"Open Slot Count",type:"integer"},activities:{$ref:"#/definitions/Activities"}}},DraftOpenShift:{"x-ms-summary":"Draft Open Shift",description:"Preliminary version of the open shift",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{"x-ms-summary":"Theme",description:"Theme",type:"string"},openSlotCount:{"x-ms-summary":"Open Slot Count",description:"Open Slot Count",type:"integer"},activities:{$ref:"#/definitions/Activities"}}},ShiftResponse:{"x-ms-summary":"Shift",description:"Shift Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the shift.",type:"string"},createdDateTime:{"x-ms-summary":"Created Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},lastModifiedDateTime:{"x-ms-summary":"Modified Date Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},userId:{"x-ms-summary":"Assigned To User ID",description:"Assigned To User ID",type:"string"},schedulingGroupId:{"x-ms-summary":"Scheduling Group ID",description:"Scheduling Group ID",type:"string"},lastModifiedBy:{$ref:"#/definitions/LastModifiedBy"},sharedShift:{$ref:"#/definitions/SharedShift"},draftShift:{$ref:"#/definitions/DraftShift"}}},SharedShift:{"x-ms-summary":"Shared Shift",description:"Shared version of the shift",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{"x-ms-summary":"Theme",description:"Theme",type:"string"},activities:{$ref:"#/definitions/Activities"}}},DraftShift:{"x-ms-summary":"Draft Shift",description:"Preliminary version of the shift",type:"object",properties:{displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"},notes:{"x-ms-summary":"Notes",description:"Notes",type:"string"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},theme:{"x-ms-summary":"Theme",description:"Theme",type:"string"},activities:{$ref:"#/definitions/Activities"}}},ScheduleResponse:{description:"Schedule Entity",type:"object",properties:{id:{"x-ms-summary":"Schedule ID",description:"The unique ID of the schedule.",type:"string"},timeZone:{"x-ms-summary":"Schedule Time Zone",description:"The Time Zone of the schedule.",type:"string"},provisionStatus:{"x-ms-summary":"Schedule Provision Status",description:"The Provision Status of the schedule.",type:"string"},provisionStatusCode:{"x-ms-summary":"Schedule Provision Status Code",description:"The Provision Status Code of the schedule.",type:"string"}}},CreateATeamResponse:{type:"object",properties:{newTeamId:{description:"Team ID of the team that was just created",type:"string","x-ms-summary":"New Team ID"}}},PostToConversationResponse:{type:"object",properties:{id:{description:"Unique message ID",type:"string","x-ms-summary":"Message ID"},messageLink:{description:"Link to the message in Microsoft Teams",type:"string","x-ms-summary":"Message link"},conversationId:{description:"The chat's unique identifier",type:"string","x-ms-summary":"Conversation ID"}}},ThemeEditor:{"x-ms-summary":"Theme",description:"Theme","x-ms-visibility":"advanced",type:"string",default:"white",enum:["white","blue","green","purple","pink","yellow","gray","darkblue","darkgreen","darkpurple","darkpink","darkyellow"],"x-ms-enum-values":[{displayName:"White",value:"white"},{displayName:"Blue",value:"blue"},{displayName:"Green",value:"green"},{displayName:"Purple",value:"purple"},{displayName:"Pink",value:"pink"},{displayName:"Yellow",value:"yellow"},{displayName:"Gray",value:"gray"},{displayName:"Dark Blue",value:"darkblue"},{displayName:"Dark Green",value:"darkgreen"},{displayName:"Dark Purple",value:"darkpurple"},{displayName:"Dark Pink",value:"darkpink"},{displayName:"Dark Yellow",value:"darkyellow"}]},Activities:{description:"Shift activities",type:"array","x-ms-visibility":"advanced",items:{description:"Shift activity",type:"object","x-ms-summary":"Activity",properties:{isPaid:{"x-ms-summary":"Is Paid",description:"Is Paid",type:"boolean"},startDateTime:{"x-ms-summary":"From Start Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},endDateTime:{"x-ms-summary":"To End Time",format:"date-time",description:"yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)",type:"string"},code:{"x-ms-summary":"Code",description:"Code",type:"string"},displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"}},required:["startDateTime","endDateTime"]}},SchedulingGroupResponse:{"x-ms-summary":"Scheduling Group",description:"Scheduling Group Entity",type:"object",properties:{id:{"x-ms-summary":"ID",description:"The unique ID of the scheduling group.",type:"string"},displayName:{"x-ms-summary":"Display Name",description:"The display name for the scheduling group.",type:"string"},isActive:{"x-ms-summary":"Is Active",description:"Indicates whether the scheduling group can be used when creating new entities or updating existing ones.",type:"boolean"},userIds:{"x-ms-summary":"User IDs",description:"List of IDs of users in the scheduling group.",type:"array",items:{description:"The ID of a user in the scheduling group",type:"string","x-ms-summary":"User ID"}}}},AtMentionUser_V1:{description:"@mention Token",type:"object",properties:{atMention:{"x-ms-summary":"@mention",description:"An @mention token for the user. This property can be inserted into messages and adaptive cards",type:"string"}}},AtMentionTagResponse:{description:"@mention token for a tag",type:"object",properties:{atMention:{"x-ms-summary":"@mention tag",description:"A token for the tag to @mention. It can be inserted into messages and adaptive cards sent from a person",type:"string"}}},ChannelIdForTeam:{"x-ms-dynamic-values":{operationId:"GetChannelsForGroup","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},"x-ms-summary":"Channel","x-ms-test-value":"19:976f050cb80c4d57a2a5e28b8942e6ec@thread.skype",description:"Add channel ID",type:"string"},ChannelIds:{description:"Channel IDs",type:"object",properties:{channel:{$ref:"#/definitions/ChannelIdForTeam"}},required:["channel"]},ChatId:{"x-ms-dynamic-values":{operationId:"GetChats","value-path":"id","value-title":"topic","value-collection":"value",parameters:{topic:"isDefined",chatType:"all"}},"x-ms-summary":"Conversation ID","x-ms-test-value":"19:976f050cb80c4d57a2a5e28b8942e6ec@thread.skype",description:"The chat's unique identifier",type:"string"},NewChat:{description:"New chat event model",type:"object",required:["members"],properties:{topic:{type:"string",description:"Title, displayed only in group chats","x-ms-summary":"Title","x-ms-visibility":"important"},members:{description:"User's IDs, separated by semicolons",type:"string","x-ms-summary":"Members to add"}}},NewChatResponse:{description:"Response for new chat that was created",type:"object",properties:{id:{description:"The chat's unique identifier",type:"string","x-ms-summary":"Conversation ID"}}},NewMeeting:{description:"New meeting event model",type:"object",required:["isOnlineMeeting","onlineMeetingProvider","subject","body","start","end","timeZone"],properties:{subject:{type:"string",description:"The text of the event's subject line","x-ms-summary":"Subject","x-ms-visibility":"important"},body:{"x-ms-summary":"Body",description:"The body of the message associated with the event",required:["content","contentType"],type:"object",properties:{content:{description:"The content of the event",type:"string","x-ms-summary":"Event message content","x-ms-visibility":"important"},contentType:{description:"The type of the content. Possible values are text and html",type:"string","x-ms-summary":"Content type","x-ms-visibility":"internal",default:"html"}}},timeZone:{description:"Time zone of the event","x-ms-summary":"Time zone","x-ms-visibility":"important",type:"string","x-ms-dynamic-values":{operationId:"GetSupportedTimeZones","value-path":"alias","value-title":"alias","value-collection":"value"}},start:{type:"object",required:["dateTime"],"x-ms-visibility":"important",properties:{dateTime:{format:"date-no-tz","x-ms-visibility":"important",description:"Start time of the event (example: '2017-08-29T04:00:00')",type:"string","x-ms-summary":"Start time"}}},end:{type:"object",required:["dateTime"],"x-ms-visibility":"important",properties:{dateTime:{format:"date-no-tz","x-ms-visibility":"important",description:"End time of the event (example: '2017-08-29T05:00:00')",type:"string","x-ms-summary":"End time"}}},requiredAttendees:{format:"email",description:"Required attendees for the event separated by semicolons",type:"string","x-ms-summary":"Required attendees","x-ms-dynamic-values":{builtInOperation:"AadGraph.GetUsers",parameters:{},"value-path":"mail"}},optionalAttendees:{format:"email",description:"Optional attendees for the event separated by semicolons",type:"string","x-ms-summary":"Optional attendees","x-ms-dynamic-values":{builtInOperation:"AadGraph.GetUsers",parameters:{},"value-path":"mail"}},location:{type:"object",properties:{displayName:{type:"string",description:"The name associated with the location","x-ms-summary":"display name","x-ms-visibility":"advanced"}},"x-ms-summary":"Location",description:"The location of the event"},importance:{description:"The importance of the event: low, normal or high",type:"string",enum:["low","normal","high"],"x-ms-enum-values":[{displayName:"Low",value:"low"},{displayName:"Normal",value:"normal"},{displayName:"High",value:"high"}],"x-ms-summary":"Importance","x-ms-visibility":"advanced"},recurrence:{type:"object",description:"The recurrence pattern for the meeting","x-ms-visibility":"advanced",properties:{pattern:{type:"object",properties:{type:{type:"string","x-ms-visibility":"advanced","x-ms-summary":"Recurrence pattern",description:"Pattern for the recurrence. Required when meeting is a recurrence",enum:["","daily","weekly","relativeMonthly","relativeYearly"],"x-ms-enum-values":[{displayName:"Daily",value:"daily"},{displayName:"Weekly",value:"weekly"},{displayName:"Monthly",value:"relativeMonthly"}]},interval:{format:"int32",description:"The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required when meeting is a recurrence",type:"integer","x-ms-summary":"Recurrence interval","x-ms-visibility":"advanced"},daysOfWeek:{type:"array","x-ms-summary":"Days of week",description:"Comma separated days of weeks (example: 'Monday,Wednesday,Friday')",items:{type:"string","x-ms-summary":"Recurrence day(s) of week",description:"Days of week (example: 'Monday'). Required when recurrence pattern is NOT daily"}},index:{type:"string","x-ms-visibility":"advanced","x-ms-summary":"Week Index",description:"Specifies on which day of the week the event occurs. Default is first",enum:["","first","second","third","fourth","last"],"x-ms-enum-values":[{displayName:"First",value:"first"},{displayName:"Second",value:"second"},{displayName:"Third",value:"third"},{displayName:"Fourth",value:"fourth"},{displayName:"Last",value:"last"}]}}},range:{type:"object",description:"The recurrence pattern for the meeting","x-ms-visibility":"advanced",properties:{startDate:{format:"date",description:"Start date of the recurrence, format YYYY-MM-DD. Required when meeting is a recurrence",type:"string","x-ms-summary":"Recurrence start date","x-ms-visibility":"advanced"},endDate:{format:"date",description:"End date of the recurrence, format YYYY-MM-DD",type:"string","x-ms-summary":"Recurrence end date","x-ms-visibility":"advanced"}}}}},isAllDay:{description:"Set to true if the event lasts all day",type:"boolean","x-ms-summary":"All day event","x-ms-visibility":"advanced"},reminderMinutesBeforeStart:{description:"The number of minutes before the event start time that the reminder alert occurs",type:"integer","x-ms-summary":"Pre-event reminder time","x-ms-visibility":"advanced"},isReminderOn:{description:"Set to true if an alert is set to remind the user of the event",type:"boolean","x-ms-summary":"Enable reminders","x-ms-visibility":"advanced"},showAs:{description:"Status to show during the event",type:"string",enum:["free","tentative","busy","oof","workingElsewhere","unknown"],"x-ms-summary":"Status show as","x-ms-visibility":"advanced"},responseRequested:{description:"Set to true if the sender would like a response when the event is accepted",type:"boolean","x-ms-summary":"Request response","x-ms-visibility":"advanced"},isOnlineMeeting:{type:"boolean",description:"Set to true, if the meeting should have an online meeting provider",default:!0,"x-ms-summary":"Online meeting enabled","x-ms-visibility":"internal"},onlineMeetingProvider:{type:"string",description:"Represents the online meeting service provider",default:"teamsForBusiness","x-ms-summary":"Online meeting provider","x-ms-visibility":"internal"}}},NewMeetingRespone:{description:"Response for new meeting that was created",type:"object",properties:{id:{type:"string","x-ms-summary":"ID",description:"Unique identifier for the event"},createdDateTime:{type:"string","x-ms-summary":"Created timestamp",description:"Timestamp the event was created"},lastModifiedDateTime:{type:"string","x-ms-summary":"Last modified timestamp",description:"Timestamp the event was last modified"},categories:{type:"array",items:{},"x-ms-summary":"Categories",description:"The categories associated with the event"},timeZone:{type:"string","x-ms-summary":"Time Zone",description:"Time zone of the event"},reminderMinutesBeforeStart:{type:"integer",format:"int32","x-ms-summary":"Pre-event reminder time",description:"The number of minutes before the event start time that the reminder alert occurs"},isReminderOn:{type:"boolean","x-ms-summary":"Reminders enabled",description:"Set to true if an alert is set to remind the user of the event"},hasAttachments:{type:"boolean","x-ms-summary":"Has Attachments",description:"Set to true if the event has attachments"},subject:{type:"string","x-ms-summary":"Subject",description:"The text of the event's subject line"},bodyPreview:{type:"string","x-ms-summary":"Body preview",description:"The preview of the message associated with the event"},importance:{type:"string","x-ms-summary":"Importance",description:"The importance of the event. The possible values are: low, normal, high"},sensitivity:{type:"string","x-ms-summary":"Sensitivity",description:"Sensitivity of the event"},isAllDay:{type:"boolean","x-ms-summary":"Is all day",description:"Set to true if the event lasts all day"},isCancelled:{type:"boolean","x-ms-summary":"Is cancelled",description:"Set to true if the event has been canceled"},isOrganizer:{type:"boolean","x-ms-summary":"Is organizer",description:"Set to true if the calendar owner is the organizer of the event"},responseRequested:{type:"boolean","x-ms-summary":"Response requested",description:"The organizer would like an invitee to send a response to the event"},showAs:{type:"string","x-ms-summary":"Show As",description:"The status to show. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown."},type:{type:"string","x-ms-summary":"Type",description:"The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster"},webLink:{type:"string","x-ms-summary":"Web last",description:"The URL to open the event in Outlook on the web."},onlineMeetingUrl:{type:"string","x-ms-summary":"Online meeting URL",description:"A URL for an online meeting"},allowNewTimeProposals:{type:"boolean","x-ms-summary":"Allow new time proposals",description:"True if the meeting organizer allows invitees to propose a new time when responding"},recurrence:{type:"object","x-ms-summary":"Recurrence",description:"The recurrence pattern for the event",properties:{pattern:{type:"object","x-ms-summary":"Recurrence pattern",description:"The frequency of an event"},range:{type:"object","x-ms-summary":"Recurrence range",description:"The duration of an event"}}},responseStatus:{type:"object",properties:{response:{type:"string","x-ms-summary":"Response",description:"The response type. Possible values are: none, organizer, tentativelyAccepted, accepted, declined, notResponded"},time:{type:"string","x-ms-summary":"Time",description:"The date and time when the response was returned"}},"x-ms-summary":"Response status",description:"Indicates the type of response sent in response to an event message"},body:{type:"object",properties:{contentType:{type:"string","x-ms-summary":"Content type",description:"The type of the content. Possible values are text and html"},content:{type:"string","x-ms-summary":"Event message content",description:"The content of the event"}},"x-ms-summary":"Body",description:"The body of the message associated with the event"},start:{type:"object",properties:{dateTime:{type:"string","x-ms-summary":"date and time",description:"Start time of the event (example: '2017-08-29T04:00:00')"}},"x-ms-summary":"Start",description:"The start date, time, and time zone of the event"},end:{type:"object",properties:{dateTime:{type:"string","x-ms-summary":"date and time",description:"End time of the event (example: '2017-08-29T04:00:00')"}},"x-ms-summary":"End",description:"The date, time, and time zone that the event ends"},location:{type:"object",properties:{displayName:{type:"string","x-ms-summary":"display name",description:"The name associated with the location"}},"x-ms-summary":"Location",description:"The location of the event"},attendees:{type:"array",items:{type:"object",properties:{type:{type:"string","x-ms-summary":"type",description:"The attendee type: required, optional, resource"},status:{type:"object",properties:{response:{type:"string","x-ms-summary":"response",description:"The response type. Possible values are: none, organizer, tentativelyAccepted, accepted, declined, notResponded"},time:{type:"string","x-ms-summary":"time",description:"The date and time when the response was returned"}},"x-ms-summary":"Status",description:"The attendee's response"},emailAddress:{type:"object",properties:{name:{type:"string","x-ms-summary":"name",description:"The display name of an attendee"},address:{type:"string","x-ms-summary":"address",description:"The email address of an attendee"}},"x-ms-summary":"email address",description:"The name and email address of an attendee"}}},"x-ms-summary":"Attendee",description:"The collection of attendees for the event"},organizer:{type:"object",properties:{emailAddress:{type:"object",properties:{name:{type:"string","x-ms-summary":"name",description:"The display name of an organizer"},address:{type:"string","x-ms-summary":"address",description:"The email address of an organizer"}},"x-ms-summary":"email address",description:"The name and email address of an organizer"}},"x-ms-summary":"Organizer",description:"Organizer"},onlineMeeting:{type:"object",properties:{joinUrl:{type:"string","x-ms-summary":"join url",description:"The external link that launches the online meeting"}},"x-ms-summary":"Online meeting",description:"Details for an attendee to join the meeting online."}}},LastModifiedBy:{"x-ms-summary":"Last Modified By",description:"Last Modified By",type:"object",properties:{application:{"x-ms-summary":"Application",description:"Application",type:"string"},device:{"x-ms-summary":"Device",description:"Device",type:"string"},conversation:{"x-ms-summary":"Conversation",description:"Conversation",type:"string"},user:{"x-ms-summary":"User",description:"User",type:"object",properties:{id:{"x-ms-summary":"Id",description:"Id",type:"string"},displayName:{"x-ms-summary":"Display Name",description:"Display Name",type:"string"}}}}},MemberSettings:{"x-ms-summary":"Member settings",description:"Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team",type:"object",properties:{allowCreateUpdateChannels:{"x-ms-summary":"Members are allowed create/update channels",description:"If set to true, members can add and update channels",type:"boolean"},allowDeleteChannels:{"x-ms-summary":"Members are allowed delete channels",description:"If set to true, members can delete channels",type:"boolean"},allowAddRemoveApps:{"x-ms-summary":"Members are allowed add/remove apps",description:"If set to true, members can add and remove apps",type:"boolean"},allowCreateUpdateRemoveTabs:{"x-ms-summary":"Members are allowed create/update/remove tabs",description:"If set to true, members can add, update, and remove tabs",type:"boolean"},allowCreateUpdateRemoveConnectors:{"x-ms-summary":"Members are allowed create/update/remove connectors",description:"If set to true, members can add, update, and remove connectors",type:"boolean"}}},GuestSettings:{"x-ms-summary":"Guest settings",description:"Settings to configure whether guests can create, update, or delete channels in the team",type:"object",properties:{allowCreateUpdateChannels:{"x-ms-summary":"Guests are allowed create/update channels",description:"If set to true, guests can add and update channels",type:"boolean"},allowDeleteChannels:{"x-ms-summary":"Guests are allowed delete channels",description:"If set to true, guests can delete channels",type:"boolean"}}},MessagingSettings:{"x-ms-summary":"Messaging settings",description:"Settings to configure messaging and mentions in the team",type:"object",properties:{allowUserEditMessages:{"x-ms-summary":"Allow user to edit messages",description:"If set to true, users can edit their messages",type:"boolean"},allowUserDeleteMessages:{"x-ms-summary":"Allow user to delete messages",description:"If set to true, users can delete their messages",type:"boolean"},allowOwnerDeleteMessages:{"x-ms-summary":"Allow owner to delete messages",description:"If set to true, owners can delete any message",type:"boolean"},allowTeamMentions:{"x-ms-summary":"Allow team mentions",description:"If set to true, @team mentions are allowed",type:"boolean"},allowChannelMentions:{"x-ms-summary":"Allow channel mentions",description:"If set to true, @channel mentions are allowed",type:"boolean"}}},FunSettings:{"x-ms-summary":"Fun settings",description:"Settings to configure use of Giphy, memes, and stickers in the team",type:"object",properties:{allowGiphy:{"x-ms-summary":"Allow giphy",description:"If set to true, enables Giphy use",type:"boolean"},giphyContentRating:{"x-ms-summary":"Giphy content rating",description:"Giphy content rating. Possible values are: moderate, strict",type:"string"},allowStickersAndMemes:{"x-ms-summary":"Allow stickers and memes",description:"If set to true, enables users to include stickers and memes",type:"boolean"},allowCustomMemes:{"x-ms-summary":"Allow custom memes",description:"If set to true, enables users to include custom memes",type:"boolean"}}},DiscoverySettings:{"x-ms-summary":"Discovery settings",description:"Settings to configure team discoverability by others.",type:"object",properties:{showInTeamsSearchAndSuggestions:{"x-ms-summary":"Show in team's search and suggestions",description:"If set to true, the team is visible via search and suggestions from the Teams client",type:"boolean"}}},SelectedMessageTriggerMetadata:{description:"Metadata of data coming from Microsoft Teams for a selected message",type:"object",properties:{TeamsFlowRunContext:{$ref:"#/definitions/Object"},CardOutputs:{$ref:"#/definitions/Object"}},"x-ms-visibility":"advanced"},ComposeMessageTriggerMetadata:{description:"Metadata of data coming from Microsoft Teams for composing a message",type:"object",properties:{TeamsFlowRunContext:{$ref:"#/definitions/Object"},CardOutputs:{$ref:"#/definitions/Object"}},"x-ms-visibility":"advanced"},CardResponseTriggerMetadata:{description:"Metadata of data coming from Microsoft Teams for a response to an adaptive card",type:"object",properties:{TeamsFlowRunContext:{$ref:"#/definitions/Object"},CardOutputs:{$ref:"#/definitions/Object"}},"x-ms-visibility":"advanced"},VirtualAgentBots:{type:"object",properties:{"@odata.context":{type:"string","x-ms-visibility":"internal"},value:{description:"List of the virtual agent bots",type:"array","x-ms-summary":"Virtual Agent bot list",items:{type:"object","x-ms-summary":"Virtual Agent Bot",description:"Properties associated with a single virtual agent bot",properties:{name:{description:"bot name",type:"string","x-ms-summary":"Name","x-ms-visibility":"important"},botid:{description:"Unique ID of the bot",type:"string","x-ms-summary":"ID","x-ms-visibility":"advanced"}}}}}},ObjectWithoutType:{}},parameters:{groupId__in_path:{name:"groupId",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetAllTeams","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-summary":"Team","x-ms-test-value":"173837de-575f-4e0e-935c-0ac64ea29e9d",description:"Select team",type:"string"},groupId__in_query:{name:"groupId",in:"query",required:!0,"x-ms-dynamic-values":{operationId:"GetAllTeams","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-summary":"Team","x-ms-test-value":"173837de-575f-4e0e-935c-0ac64ea29e9d",description:"Select team",type:"string"},recipientType__in_path:{name:"recipientType",in:"path",description:"Type of the recipient of the action",required:!0,"x-ms-summary":"Type of the recipient of the action",type:"string"},channelId__in_path:{name:"channelId",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetChannelsForGroup","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},"x-ms-summary":"Channel","x-ms-test-value":"19:976f050cb80c4d57a2a5e28b8942e6ec@thread.skype",description:"Channel ID",type:"string"},channelId__in_query:{name:"channelId",in:"query",required:!0,"x-ms-dynamic-values":{operationId:"GetChannelsForGroup","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},"x-ms-summary":"Channel","x-ms-test-value":"19:976f050cb80c4d57a2a5e28b8942e6ec@thread.skype",description:"Select channel",type:"string"},messageId__in_path:{name:"messageId",in:"path",required:!0,"x-ms-summary":"Message","x-ms-test-value":"1552086306463",description:"Message ID",type:"string"},teamId__in_path:{name:"teamId",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetAllTeams","value-path":"id","value-title":"displayName","value-collection":"value"},"x-ms-summary":"Team",description:"Select team",type:"string"},memberId__in_path:{name:"memberId",in:"path",required:!0,"x-ms-summary":"Member",description:"Add member Microsoft Entra ID",type:"string"},tagId__in_path:{name:"tagId",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetTags","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{groupId:{parameter:"groupId"}}},"x-ms-summary":"Tag",description:"Select tag",type:"string"},posterWithPowerApps__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot","x-ms-enum-values":[{displayName:"User",value:"User"},{displayName:"Flow bot",value:"Flow bot"},{displayName:"Power Virtual Agents (Preview)",value:"Power Virtual Agents"},{displayName:"Power Apps",value:"Power Apps"}],enum:["Power Apps","Power Virtual Agents","Flow bot","User"]},poster__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot","x-ms-enum-values":[{displayName:"User",value:"User"},{displayName:"Flow bot",value:"Flow bot"},{displayName:"Power Virtual Agents (Preview)",value:"Power Virtual Agents"}],enum:["Power Virtual Agents","Flow bot","User"]},posterWithoutPVA__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot",enum:["Flow bot","User"]},posterWithoutUser__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot","x-ms-enum-values":[{displayName:"Power Virtual Agents (Preview)",value:"Power Virtual Agents"},{displayName:"Flow bot",value:"Flow bot"}],enum:["Power Virtual Agents","Flow bot"]},posterJustFlowbot__in_path:{name:"poster",in:"path",required:!0,type:"string",description:"Select an option","x-ms-summary":"Post as",default:"Flow bot","x-ms-enum-values":[{displayName:"Flow bot",value:"Flow bot"}],enum:["Flow bot"]},location__in_path:{name:"location",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetMessageLocations","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{messageType:"ParentMessage",poster:{parameter:"poster"}}},"x-ms-summary":"Post in",description:"Select an option",type:"string"},reply__in_path:{name:"location",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetMessageLocations","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{messageType:"Reply",poster:{parameter:"poster"}}},"x-ms-summary":"Post in",description:"Select an option",type:"string"},update_location__in_path:{name:"location",in:"path",required:!0,"x-ms-dynamic-values":{operationId:"GetMessageLocations","value-path":"id","value-title":"displayName","value-collection":"value",parameters:{messageType:"Update",poster:{parameter:"poster"}}},"x-ms-summary":"Post in",description:"Select an option",type:"string"},chatType__in_path:{name:"chatType",in:"path",description:"Filter by type",required:!0,"x-ms-summary":"Chat Types",type:"string",default:"all",enum:["all","group","meeting","oneOnOne"],"x-ms-enum-values":[{displayName:"All chat types",value:"all"},{displayName:"Group",value:"group"},{displayName:"Meeting",value:"meeting"},{displayName:"One on one",value:"oneOnOne"}]},topic__in_path:{name:"topic",in:"path",description:"Filter by whether or not the topic name is defined",required:!0,"x-ms-summary":"Topic",type:"string",default:"all",enum:["all","isDefined","notDefined"],"x-ms-enum-values":[{displayName:"All Chats",value:"all"},{displayName:"Is Defined",value:"isDefined"},{displayName:"Is Not Defined",value:"notDefined"}]},messageType__in_path:{name:"messageType",in:"path",required:!0,type:"string",description:"Message Type","x-ms-summary":"Message Type"},actionType__in_path:{name:"actionType",in:"path",required:!0,type:"string",description:"Unified Action","x-ms-summary":"Unified Action"},triggerType__in_path:{name:"triggerType",in:"path",required:!0,type:"string",description:"Trigger type","x-ms-summary":"Trigger type"},notificationType__in_path:{name:"notificationType",in:"path",description:"Choose notification type",required:!0,"x-ms-summary":"Notification type",type:"string",enum:["groupchat","team"],"x-ms-enum-values":[{displayName:"Team",value:"team"},{displayName:"Group chat",value:"groupchat"}]},threadType__in_path:{name:"threadType",in:"path",description:"Choose message type",required:!0,"x-ms-summary":"Message type",type:"string",enum:["groupchat","channel"],"x-ms-enum-values":[{displayName:"Channel",value:"channel"},{displayName:"Group chat",value:"groupchat"}]},listMembersThreadType__in_path:{name:"threadType",in:"path",description:"Choose message type",required:!0,"x-ms-summary":"Thread type",type:"string",enum:["groupchat","channel"],"x-ms-enum-values":[{displayName:"Group chat",value:"groupchat"},{displayName:"Channel",value:"channel"}]}},"x-ms-capabilities":{testConnection:{operationId:"GetTeamwork"}},"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"https://products.office.com/microsoft-teams/group-chat-software"}],externalDocs:{url:"https://docs.microsoft.com/connectors/teams"},basePath:"/apim/teams"},wadlUrl:"https://pafeblobprodcy.blob.core.windows.net/apiwadls-8a9c61c1-3265-44ed-b868-d6c935daa839/shared%3A2Dteams?skoid=1b4c3c9e-b403-4e0f-9933-e50756645683&sktid=975f013f-7f24-47e8-a7d3-abc4752bf346&skt=2025-07-02T21%3A00%3A00Z&ske=2025-07-09T21%3A00%3A00Z&sks=b&skv=2025-01-05&sv=2025-01-05&spr=https&st=2025-07-02T21%3A04%3A22Z&se=2025-07-03T09%3A05%3A22Z&sr=c&sp=rl&scid=a38fa378-e458-4428-8ed0-c7c1444f60b7&sig=9rb%2FSwv4%2FkJItJ%2FWBY2woAMb%2B%2B5qOTTZkOpxFi19jes%3D",runtimeUrls:["https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/teams"],primaryRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/teams",doNotUseApiHubNetRuntimeUrl:"https://4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net/apim/teams",metadata:{source:"marketplace",brandColor:"",useNewApimVersion:"true",version:{previous:"v1.0.1754\\1.0.1754.4231",current:"v1.0.1757\\1.0.1757.4256"}},capabilities:["actions","triggers"],interfaces:{},description:"Microsoft Teams enables you to get all your content, tools and conversations in the Team workspace with Microsoft 365.",createdTime:"2017-05-10T16:50:33.2827685Z",changedTime:"2025-06-24T16:00:35.9360213Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},S=X;var ee={name:"shared_translatorv2",id:"/providers/Microsoft.PowerApps/apis/shared_translatorv2",type:"Microsoft.PowerApps/apis",properties:{displayName:"Microsoft Translator V2",iconUri:"REDACTED_URL",iconBrandColor:"#1267AE",apiEnvironment:"Shared",isCustomApi:!1,blobUrisAreProxied:!1,connectionParameters:{userProvidedKey:{type:"securestring",uiDefinition:{displayName:"Subscription Key",description:"Specify your subscription key for Microsoft Translator Text API, or leave it blank to use an internal shared key. If empty, your API calls will be throttled based on a fixed internal limit.",tooltip:"Specify your subscription key for Microsoft Translator Text API. If empty, your API calls will be throttled based on a fixed internal limit.",constraints:{required:"false"}}}},swagger:{swagger:"2.0",info:{version:"2.0",title:"Microsoft Translator V2",description:"Microsoft Translator lets you translate text across multiple languages.","x-ms-api-annotation":{status:"Production"},contact:{name:"Microsoft"}},host:"4ef52cc0-31a9-e40c-9c37-8d3fd467910f.17.common.firstrelease.azure-apihub.net",basePath:"/apim/translatorv2",schemes:["https"],paths:{"/{connectionId}/Languages":{get:{tags:["MicrosoftTranslator"],summary:"Get languages",description:"Retrieves all languages that Microsoft Translator supports for translation, transliteration or dictionary scopes",operationId:"Languages",consumes:[],produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"scope",in:"query",description:"The scope of supported languages: translation, transliteration or dictionary",required:!1,"x-ms-summary":"Scope","x-ms-visibility":"internal",type:"string",default:"translation"}],responses:{200:{description:"OK",schema:{type:"array",items:{$ref:"#/definitions/Language"}}}},deprecated:!1,"x-ms-visibility":"advanced",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/Translate":{post:{tags:["MicrosoftTranslator"],summary:"Translate text",description:"Translates text to a specified language using Microsoft Translator.",operationId:"Translate",consumes:["application/json"],produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"to",in:"query",description:"The target language code (example: 'fr').",required:!0,"x-ms-summary":"Target Language","x-ms-dynamic-values":{operationId:"Languages","value-path":"Code","value-title":"Name"},type:"string","x-ms-test-value":"en"},{name:"from",in:"query",description:"The source language (if not provided, Microsoft Translator will try to auto-detect) (example: en).",required:!1,"x-ms-summary":"Source Language","x-ms-visibility":"advanced","x-ms-dynamic-values":{operationId:"Languages","value-path":"Code","value-title":"Name"},type:"string"},{name:"category",in:"query",description:"The translation category (default: 'general').",required:!1,"x-ms-summary":"Category","x-ms-visibility":"advanced",type:"string"},{name:"textType",in:"query",description:"The text type (default: 'plain').",required:!1,"x-ms-summary":"Text Type","x-ms-visibility":"advanced",type:"string",enum:["plain","html"]},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/TextBody"}}],responses:{200:{description:"OK",schema:{type:"string","x-ms-summary":"Translated Text"}}},deprecated:!1,"x-ms-visibility":"important",externalDocs:{url:"REDACTED_URL"}}},"/{connectionId}/Detect":{post:{tags:["MicrosoftTranslator"],summary:"Detect language",description:"Detects the source language of the given text.",operationId:"Detect",consumes:["application/json"],produces:["application/json"],parameters:[{name:"connectionId",in:"path",required:!0,type:"string","x-ms-visibility":"internal"},{name:"body",in:"body",required:!0,schema:{$ref:"#/definitions/TextBody"}}],responses:{200:{description:"OK",schema:{$ref:"#/definitions/Language"}}},deprecated:!1,"x-ms-visibility":"important",externalDocs:{url:"REDACTED_URL"}}}},definitions:{TextBody:{description:"Body containing text to translate or detect",type:"object",required:["Text"],properties:{Text:{description:"Text to translate or detect",type:"string","x-ms-summary":"Text","x-ms-visibility":"important"}},"x-ms-test-value":{Text:"Hola"}},Language:{description:"Language Model for Microsoft Translator translatable languages",type:"object",properties:{Code:{description:"Gets or sets the language code.",type:"string","x-ms-summary":"Language Code"},Name:{description:"Gets or sets the language name.",type:"string","x-ms-summary":"Language Name"}}}},"x-ms-capabilities":{testConnection:{operationId:"Languages",parameters:{scope:"translation"}}},"x-ms-connector-metadata":[{propertyName:"Website",propertyValue:"REDACTED_URL"}],externalDocs:{url:"REDACTED_URL"}},wadlUrl:"REDACTED_URL",runtimeUrls:["REDACTED_URL"],primaryRuntimeUrl:"REDACTED_URL",doNotUseApiHubNetRuntimeUrl:"REDACTED_URL",metadata:{source:"marketplace",brandColor:"#1267AE",allowSharing:!0,connectionLimits:{"*":2},useNewApimVersion:"true",version:{previous:"v1.0.1752\\1.0.1752.4216",current:"v1.0.1752\\1.0.1752.4216"}},capabilities:["actions"],interfaces:{},description:"Microsoft Translator lets you translate text across multiple languages.",createdTime:"2019-04-08T17:34:13.0155781Z",changedTime:"2025-06-03T20:24:29.4772357Z",releaseTag:"Production",tier:"Standard",publisher:"Microsoft",scopes:{will:[],wont:[]},rateLimit:0,apiVersion:"None"}},R=ee;var l={shared_office365users:m,shared_excelonlinebusiness:v,shared_commondataserviceforapps:b,office365groups:q,kusto:T,teams:S,msnweather:I,onedriveforbusiness:w,translatorv2:R,powerappsforappmakers:D,sharepointonline:P},te={testlist:C},ie={contact:x};function A(e){return ie[e.toLowerCase()]}function N(e){return te[e.toLowerCase()]}function F(e){let t=e.toLowerCase();return l[t]??l[`shared_${t}`]??l[t.replace(/^shared_/,"")]}function M(e){return{id:`/providers/Microsoft.BusinessAppPlatform/environments/${e}`,name:e,properties:{displayName:"E2E Mock Environment",linkedEnvironmentMetadata:{instanceApiUrl:"https://mockorg.crm.dynamics.com",instanceUrl:"https://mockorg.crm.dynamics.com/",friendlyName:"E2E Mock",uniqueName:"mockorg"}}}}function j(e,t){return{id:`/providers/Microsoft.PowerApps/apis/${e}/connections/${t}`,name:t,type:"Microsoft.PowerApps/apis/connections",properties:{displayName:"E2E Mock Connection",status:[{status:"Connected"}],apiId:`/providers/Microsoft.PowerApps/apis/${e}`}}}function n(e,t){return e.toLowerCase().includes(t.toLowerCase())}function s(e){let t=e.indexOf("?"),i=t===-1?e:e.slice(0,t);try{return new URL(i).pathname}catch{return i}}function se(e){let i=decodeURIComponent(e).match(/name eq '([^']+)'|environment eq '([^']+)'/i);return i?.[1]??i?.[2]??"mock-environment"}var O=[{name:"powerapps.listApps",match:e=>e.method==="GET"&&/\/powerapps\/apps(\?|$)/i.test(e.url),respond:()=>({data:{value:[]}})},{name:"appframework.listApps",match:e=>e.method==="GET"&&n(e.url,"/appframework/apps"),respond:()=>({data:{value:[]}})},{name:"powerapps.environment",match:e=>e.method==="GET"&&n(s(e.url),"/powerapps/environment"),respond:e=>({data:M(se(e.url))})},{name:"governance.connectorDataPolicy",match:e=>e.method==="GET"&&n(e.url,"connectorDataPolicy"),respond:()=>({data:{value:[]}})},{name:"governance.userRoutingEnvironment",match:e=>e.method==="GET"&&n(s(e.url),"/governance/userRoutingEnvironment"),respond:()=>({status:200,data:{environmentFound:!0,operationSuccess:!0,environment:{name:"86297537-2957-edd3-89bc-5fbdfa2831eb"}}})},{name:"dataverse.entityAttributesOptionSet",match:e=>e.method==="GET"&&/\/EntityDefinitions\(LogicalName='[^']+'\)\/Attributes\//i.test(s(e.url)),respond:()=>({data:{value:[]}})},{name:"dataverse.entityDefinition",match:e=>e.method==="GET"&&/\/EntityDefinitions\(LogicalName='[^']+'\)/i.test(s(e.url)),respond:e=>{let t=decodeURIComponent(s(e.url).match(/EntityDefinitions\(LogicalName='([^']+)'\)/i)?.[1]??""),i=A(t);return i?{data:i}:{status:404,data:{error:{code:"EntityNotFound",message:`No fixture for entity '${t}'.`}}}}},{name:"connectivity.userConsent",match:e=>e.method==="POST"&&n(s(e.url),"/userConsent"),respond:()=>({status:200,data:{}})},{name:"apim.tableMetadata",match:e=>e.method==="GET"&&n(e.url,"/$metadata.json/datasets/")&&/\/(tables|procedures)\/[^/]+$/i.test(s(e.url)),respond:e=>{let t=s(e.url),i=decodeURIComponent(t.match(/\/(?:tables|procedures)\/([^/]+)$/i)?.[1]??""),r=N(i);return r?{data:r}:{status:404,data:{error:{code:"TableNotFound",message:`No fixture for table '${i}'.`}}}}},{name:"apim.listDatasetsOrTables",match:e=>{let t=s(e.url);return e.method==="GET"&&(/\/datasets$/i.test(t)||/\/datasets\/[^/]+\/(allTables|tables|procedures)$/i.test(t))},respond:()=>({data:{value:[]}})},{name:"connectivity.getConnection",match:e=>{let t=s(e.url);return e.method==="GET"&&/\/connectivity\/connectors\/[^/]+\/connections\/[^/]+$/i.test(t)},respond:e=>{let i=s(e.url).match(/\/connectivity\/connectors\/([^/]+)\/connections\/([^/]+)$/i);return{data:j(i?.[1]??"unknown",i?.[2]??"unknown")}}},{name:"connectivity.listConnections",match:e=>{let t=s(e.url);return e.method==="GET"&&/\/connectivity\/connectors\/[^/]+\/connections$/i.test(t)},respond:()=>({data:{value:[]}})},{name:"connectivity.getConnector",match:e=>{let t=s(e.url);return e.method==="GET"&&/\/connectivity\/connectors\/[^/]+$/i.test(t)},respond:e=>{let i=s(e.url).match(/\/connectivity\/connectors\/([^/]+)$/i)?.[1]??"",r=F(decodeURIComponent(i));return r?{data:r}:{status:404,data:{error:{code:"ConnectorNotFound",message:`No fixture for '${i}'.`}}}}},{name:"connectivity.listConnectors",match:e=>{let t=s(e.url);return e.method==="GET"&&/\/connectivity\/connectors$/i.test(t)},respond:()=>({data:{value:[]}})},{name:"appframework.locateApp",match:e=>e.method==="POST"&&/\/appframework\/apps\/[^/]+\/locate$/i.test(s(e.url)),respond:e=>({status:200,data:{tenantId:"00000000-0000-0000-0000-000000000001",environmentName:"86297537-2957-edd3-89bc-5fbdfa2831eb",geo:"unitedstates",appName:decodeURIComponent(s(e.url).match(/\/appframework\/apps\/([^/]+)\/locate$/i)?.[1]??"Test App"),repositoryId:"99999999-8888-7777-6666-555555555555"}})},{name:"appframework.deleteApp",match:e=>e.method==="DELETE"&&/\/appframework\/apps\/[^/]+$/i.test(s(e.url)),respond:()=>({status:200,data:{}})},{name:"appframework.createApp",match:e=>e.method==="POST"&&/\/appframework\/apps$/i.test(s(e.url)),respond:e=>{let t=e.body??{},i=t.environmentId??"86297537-2957-edd3-89bc-5fbdfa2831eb";return{status:201,data:{id:"11111111-2222-3333-4444-555555555555",name:"11111111-2222-3333-4444-555555555555",location:"unitedstates",displayName:t.displayName??"Test App",environmentId:i,repositoryId:"99999999-8888-7777-6666-555555555555",description:t.description??""}}}}];var E=f("MOCK_BACKEND_VERBOSE"),L=h("MOCK_BACKEND_LOG")?.trim();function k(e){if(E&&process.stderr.write(`[mock-http] ${e}
8
8
  `),L)try{re(L,`${e}
9
9
  `)}catch{}}var ne=new Set(["GET","POST","PATCH","PUT","DELETE"]);function ae(e){return typeof e=="string"?e:e instanceof URL?e.toString():e.url}function oe(e){if(!e)return;let t={};if(e instanceof Headers)e.forEach((i,r)=>{t[r]=i});else if(Array.isArray(e))for(let[i,r]of e)t[i]=r;else Object.assign(t,e);return t}function pe(e){if(typeof e!="string"||e.length===0)return e??void 0;try{return JSON.parse(e)}catch{return e}}function _(e,t){let r=t===204||t===205||t===304||e===void 0?null:JSON.stringify(e??{}),a={"content-type":"application/json","x-ms-request-id":U(),"x-ms-correlation-request-id":U()};return r!==null&&(a["content-length"]=String(Buffer.byteLength(r))),new Response(r,{status:t,headers:a})}async function me(e,t){let i=oe(t?.headers),r=i?.[c]??i?.[c.toLowerCase()]??ae(e),a=(t?.method??"GET").toUpperCase(),o={method:ne.has(a)?a:"GET",url:r,body:pe(t?.body),headers:i};for(let d of O)if(d.match(o)){let u=await d.respond(o),y=u.status??200;return E&&k(`MATCH ${d.name}: ${o.method} ${r} -> ${y}`),_(u.data,y)}return k(`UNMATCHED ${o.method} ${r}`),_({error:{code:"MockBackendUnmatched",message:`No mock route matched ${o.method} ${r}. Add a route to MockRoutes.ts.`}},404)}var p;function Be(){p===void 0&&(p=globalThis.fetch),globalThis.fetch=me}function We(){p!==void 0&&(globalThis.fetch=p,p=void 0)}export{Be as installMockFetch,me as mockFetch,We as uninstallMockFetch};
10
10
  /*!
11
11
  * Copyright (C) Microsoft Corporation. All rights reserved.
12
12
  */
13
- //# sourceMappingURL=MockFetch-4CYTSNJ7.js.map
13
+ //# sourceMappingURL=MockFetch-XSZECQYX.js.map