From 1305ad9b460afdd963509495f5f50539a1f37f42 Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Wed, 8 Jan 2020 11:55:49 -0800 Subject: [PATCH 01/11] update the version start year to 2020 --- tool/versioning.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/versioning.props b/tool/versioning.props index e23bfd4..166ebc1 100644 --- a/tool/versioning.props +++ b/tool/versioning.props @@ -25,11 +25,11 @@ - 2019 + 2020 $([System.Convert]::ToInt16('$([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd"))')) From 68ad4396c7a8435990f7d9f71d86eead1dc200aa Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Wed, 8 Jan 2020 11:57:05 -0800 Subject: [PATCH 02/11] Update WebStack.versions.settings.targets --- tool/WebStack.versions.settings.targets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tool/WebStack.versions.settings.targets b/tool/WebStack.versions.settings.targets index 4c4876d..bae399b 100644 --- a/tool/WebStack.versions.settings.targets +++ b/tool/WebStack.versions.settings.targets @@ -16,11 +16,11 @@ - 2017 + 2020 $([System.Convert]::ToInt16('$([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd"))')) $([System.Convert]::ToString($(VersionDateCode))) @@ -47,7 +47,7 @@ - 2017 + 2020 INVALID_VersionMajor INVALID_VersionMajor INVALID_VersionMinor From b6f952e08e8de42327fb4a43d238623da9b07e16 Mon Sep 17 00:00:00 2001 From: mur Date: Fri, 10 Jan 2020 15:19:55 +0300 Subject: [PATCH 03/11] Adding methods from parent classes in to children classes --- .../Edm/ODataPathProvider.cs | 47 ++++++++++++------ .../Common/EdmModelHelper.cs | 2 + .../Edm/ODataPathProviderTests.cs | 2 +- .../Generator/OpenApiPathsGeneratorTests.cs | 25 ++++++++++ ...icrosoft.OpenAPI.OData.Reader.Tests.csproj | 1 + .../EdmActionOperationHandlerTests.cs | 36 ++++++++++++++ .../EdmFunctionOperationHandlerTests.cs | 35 ++++++++++++++ .../Resources/Contract.OData.xml | 48 +++++++++++++++++++ 8 files changed, 181 insertions(+), 15 deletions(-) create mode 100644 test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Contract.OData.xml diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 19986be..6b0833b 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -294,24 +294,43 @@ namespace Microsoft.OpenApi.OData.Edm { continue; } - IEdmEntityType bindingEntityType = bindingType.AsEntity().EntityDefinition(); + var firstEntityType = bindingType.AsEntity().EntityDefinition(); + var allEntitiesForOperation= new List(){ firstEntityType }; - // 1. Search for corresponding navigation source path - if (AppendBoundOperationOnNavigationSourcePath(edmOperation, isCollection, bindingEntityType)) - { - continue; - } + System.Func filter = (z) => + z.EntityType() != firstEntityType && + z.EntityType().FindAllBaseTypes().Contains(firstEntityType); + //Search all EntitySets + allEntitiesForOperation.AddRange( + _model.EntityContainer.EntitySets() + .Where(filter).Select(x => x.EntityType()) + ); + //Search all singletons + allEntitiesForOperation.AddRange( + _model.EntityContainer.Singletons() + .Where(filter).Select(x => x.EntityType()) + ); - // 2. Search for generated navigation property - if (AppendBoundOperationOnNavigationPropertyPath(edmOperation, isCollection, bindingEntityType)) + foreach (var bindingEntityType in allEntitiesForOperation) { - continue; - } - // 3. Search for derived - if (AppendBoundOperationOnDerived(edmOperation, isCollection, bindingEntityType)) - { - continue; + // 1. Search for corresponding navigation source path + if (AppendBoundOperationOnNavigationSourcePath(edmOperation, isCollection, bindingEntityType)) + { + continue; + } + + // 2. Search for generated navigation property + if (AppendBoundOperationOnNavigationPropertyPath(edmOperation, isCollection, bindingEntityType)) + { + continue; + } + + // 3. Search for derived + if (AppendBoundOperationOnDerived(edmOperation, isCollection, bindingEntityType)) + { + continue; + } } } } diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Common/EdmModelHelper.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Common/EdmModelHelper.cs index 7b13bd8..411c96a 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Common/EdmModelHelper.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Common/EdmModelHelper.cs @@ -33,6 +33,7 @@ namespace Microsoft.OpenApi.OData.Tests public static IEdmModel CompositeKeyModel { get; } public static IEdmModel TripServiceModel { get; } + public static IEdmModel ContractServiceModel { get; } public static IEdmModel GraphBetaModel { get; } @@ -42,6 +43,7 @@ namespace Microsoft.OpenApi.OData.Tests BasicEdmModel = CreateEdmModel(); CompositeKeyModel = CreateCompositeKeyModel(); TripServiceModel = LoadEdmModel("TripService.OData.xml"); + ContractServiceModel = LoadEdmModel("Contract.OData.xml"); GraphBetaModel = LoadEdmModel("Graph.Beta.OData.xml"); MultipleSchemasEdmModel = LoadEdmModel("Multiple.Schema.OData.xml"); } diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs index 876ac96..1e25d1e 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs @@ -45,7 +45,7 @@ namespace Microsoft.OpenApi.OData.Edm.Tests // Assert Assert.NotNull(paths); - Assert.Equal(4399, paths.Count()); + Assert.Equal(4491, paths.Count()); } [Fact] diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiPathsGeneratorTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiPathsGeneratorTests.cs index 4083fcb..d2ea495 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiPathsGeneratorTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiPathsGeneratorTests.cs @@ -66,5 +66,30 @@ namespace Microsoft.OpenApi.OData.Generator.Tests Assert.Contains("/CountryOrRegion/{Name}", paths.Keys); Assert.Contains("/Me", paths.Keys); } + + [Fact] + public void CreatePathsReturnsForContractModelWithHierarhicalClass() + { + // Arrange + IEdmModel model = EdmModelHelper.ContractServiceModel; + OpenApiConvertSettings settings = new OpenApiConvertSettings + { + EnableKeyAsSegment = true, + EnableUnqualifiedCall = true + }; + ODataContext context = new ODataContext(model, settings); + + // Act + var paths = context.CreatePaths(); + + // Assert + Assert.NotNull(paths); + Assert.Equal(4, paths.Count); + + Assert.Contains("/Accounts", paths.Keys); + Assert.Contains("/Accounts/{id}", paths.Keys); + Assert.Contains("/Accounts/{id}/Attachments()", paths.Keys); + Assert.Contains("/Accounts/{id}/AttachmentsAdd", paths.Keys); + } } } diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj index 8f6c145..cc11dbf 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj @@ -57,6 +57,7 @@ + diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmActionOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmActionOperationHandlerTests.cs index f0bbe07..23489b8 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmActionOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmActionOperationHandlerTests.cs @@ -52,6 +52,42 @@ namespace Microsoft.OpenApi.OData.Operation.Tests Assert.Equal(new string[] { "204", "default" }, operation.Responses.Select(e => e.Key)); } + [Fact] + public void CreateOperationForEdmActionReturnsCorrectOperationHierarhicalClass() + { + // Arrange + IEdmModel model = EdmModelHelper.ContractServiceModel; + ODataContext context = new ODataContext(model); + const string entitySetName = "Accounts"; + const string actionName = "AttachmentsAdd"; + IEdmEntitySet entitySet = model.EntityContainer.FindEntitySet(entitySetName); + Assert.NotNull(entitySet); + + IEdmAction action = model.SchemaElements.OfType().First(f => f.Name == actionName); + Assert.NotNull(action); + ODataPath path = new ODataPath(new ODataNavigationSourceSegment(entitySet), new ODataKeySegment(entitySet.EntityType()), new ODataOperationSegment(action)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal($"Invoke action {actionName}", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal($"{entitySetName}.Actions", tag.Name); + + Assert.NotNull(operation.Parameters); + Assert.Equal(1, operation.Parameters.Count); + Assert.Equal(new string[] { "id" }, operation.Parameters.Select(p => p.Name)); + + Assert.NotNull(operation.RequestBody); + Assert.Equal("Action parameters", operation.RequestBody.Description); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "204", "default" }, operation.Responses.Select(e => e.Key)); + } + [Theory] [InlineData(true)] [InlineData(false)] diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmFunctionOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmFunctionOperationHandlerTests.cs index 94ab5ce..50bc0bd 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmFunctionOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmFunctionOperationHandlerTests.cs @@ -51,6 +51,41 @@ namespace Microsoft.OpenApi.OData.Operation.Tests Assert.Equal(2, operation.Responses.Count); Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); } + [Fact] + public void CreateOperationForEdmFunctionReturnsCorrectOperationHierarhicalClass() + { + // Arrange + IEdmModel model = EdmModelHelper.ContractServiceModel; + ODataContext context = new ODataContext(model); + const string entitySetName = "Accounts"; + const string functionName = "Attachments"; + IEdmEntitySet entitySet = model.EntityContainer.FindEntitySet(entitySetName); + Assert.NotNull(entitySet); + + IEdmFunction function = model.SchemaElements.OfType().First(f => f.Name == functionName); + Assert.NotNull(function); + + ODataPath path = new ODataPath(new ODataNavigationSourceSegment(entitySet), new ODataKeySegment(entitySet.EntityType()), new ODataOperationSegment(function)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal($"Invoke function {functionName}", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal($"{entitySetName}.Functions", tag.Name); + + Assert.NotNull(operation.Parameters); + Assert.Equal(1, operation.Parameters.Count); + Assert.Equal(new string[] { "id" }, operation.Parameters.Select(p => p.Name)); + + Assert.Null(operation.RequestBody); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + } [Theory] [InlineData(true)] diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Contract.OData.xml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Contract.OData.xml new file mode 100644 index 0000000..8addd4f --- /dev/null +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Contract.OData.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 14be0b681d319565d1b2ec0a7c7ceac0a63b3cd1 Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Tue, 14 Jan 2020 16:42:41 -0800 Subject: [PATCH 04/11] Update all the docs and fix the PoliCheck complain --- docs/oas3_0_0/graph.beta.json | 5040 ++- docs/oas3_0_0/graph1.0.json | 2357 ++ docs/oas3_0_0/graph1.0_updated.json | 2357 ++ docs/oas_2_0/graph.beta.json | 4711 ++- docs/oas_2_0/graph1.0.json | 2217 ++ docs/oas_2_0/graph1.0_updated.json | 2217 ++ .../Edm/ODataPathProvider.cs | 6 +- .../Generator/OpenApiPathsGeneratorTests.cs | 2 +- .../EdmFunctionOperationHandlerTests.cs | 1 + .../Resources/Contract.OData.xml | 76 +- .../Resources/Graph.Beta.OData.xml | 28 +- .../Resources/Graph.Beta.OData2.xml | 30570 ---------------- 12 files changed, 18948 insertions(+), 30634 deletions(-) delete mode 100644 test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Graph.Beta.OData2.xml diff --git a/docs/oas3_0_0/graph.beta.json b/docs/oas3_0_0/graph.beta.json index 5a66f42..8d615b2 100644 --- a/docs/oas3_0_0/graph.beta.json +++ b/docs/oas3_0_0/graph.beta.json @@ -2833,6 +2833,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/administrativeUnits/{administrativeUnit-id}/checkMemberGroups": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "administrativeUnits.checkMemberGroups", + "parameters": [ + { + "name": "administrativeUnit-id", + "in": "path", + "description": "key: administrativeUnit-id of administrativeUnit", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "administrativeUnit" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/{administrativeUnit-id}/getMemberGroups": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "administrativeUnits.getMemberGroups", + "parameters": [ + { + "name": "administrativeUnit-id", + "in": "path", + "description": "key: administrativeUnit-id of administrativeUnit", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "administrativeUnit" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/{administrativeUnit-id}/getMemberObjects": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "administrativeUnits.getMemberObjects", + "parameters": [ + { + "name": "administrativeUnit-id", + "in": "path", + "description": "key: administrativeUnit-id of administrativeUnit", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "administrativeUnit" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/{administrativeUnit-id}/restore": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action restore", + "operationId": "administrativeUnits.restore", + "parameters": [ + { + "name": "administrativeUnit-id", + "in": "path", + "description": "key: administrativeUnit-id of administrativeUnit", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "administrativeUnit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/administrativeUnits/{administrativeUnit-id}/scopedRoleMembers": { "get": { "tags": [ @@ -3162,6 +3379,160 @@ "x-ms-docs-operation-type": "function" } }, + "/administrativeUnits/getByIds": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "administrativeUnits.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/getUserOwnedObjects": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "administrativeUnits.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/validateProperties": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "administrativeUnits.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/agreementAcceptances": { "get": { "tags": [ @@ -5729,6 +6100,223 @@ "x-ms-docs-operation-type": "action" } }, + "/applications/{application-id}/checkMemberGroups": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "applications.checkMemberGroups", + "parameters": [ + { + "name": "application-id", + "in": "path", + "description": "key: application-id of application", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "application" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/{application-id}/getMemberGroups": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "applications.getMemberGroups", + "parameters": [ + { + "name": "application-id", + "in": "path", + "description": "key: application-id of application", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "application" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/{application-id}/getMemberObjects": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "applications.getMemberObjects", + "parameters": [ + { + "name": "application-id", + "in": "path", + "description": "key: application-id of application", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "application" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/{application-id}/restore": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action restore", + "operationId": "applications.restore", + "parameters": [ + { + "name": "application-id", + "in": "path", + "description": "key: application-id of application", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "application" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/applications/{application-id}/owners": { "get": { "tags": [ @@ -7942,6 +8530,160 @@ "/applications/{application-id}/synchronization/jobs/{synchronizationJob-id}/schema/parseExpression" ] }, + "/applications/getByIds": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "applications.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/getUserOwnedObjects": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "applications.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/validateProperties": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "applications.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/appRoleAssignments": { "get": { "tags": [ @@ -13274,6 +14016,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/contacts/{orgContact-id}/checkMemberGroups": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "contacts.checkMemberGroups", + "parameters": [ + { + "name": "orgContact-id", + "in": "path", + "description": "key: orgContact-id of orgContact", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "orgContact" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/{orgContact-id}/getMemberGroups": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "contacts.getMemberGroups", + "parameters": [ + { + "name": "orgContact-id", + "in": "path", + "description": "key: orgContact-id of orgContact", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "orgContact" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/{orgContact-id}/getMemberObjects": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "contacts.getMemberObjects", + "parameters": [ + { + "name": "orgContact-id", + "in": "path", + "description": "key: orgContact-id of orgContact", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "orgContact" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/{orgContact-id}/restore": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action restore", + "operationId": "contacts.restore", + "parameters": [ + { + "name": "orgContact-id", + "in": "path", + "description": "key: orgContact-id of orgContact", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "orgContact" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/contacts/delta()": { "get": { "tags": [ @@ -13307,6 +14266,160 @@ "x-ms-docs-operation-type": "function" } }, + "/contacts/getByIds": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "contacts.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/getUserOwnedObjects": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "contacts.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/validateProperties": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "contacts.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/contracts": { "get": { "tags": [ @@ -13564,6 +14677,377 @@ "x-ms-docs-operation-type": "operation" } }, + "/contracts/{contract-id}/checkMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "contracts.checkMemberGroups", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "contracts.getMemberGroups", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberObjects": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "contracts.getMemberObjects", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/restore": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action restore", + "operationId": "contracts.restore", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/getByIds": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "contracts.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/getUserOwnedObjects": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "contracts.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/validateProperties": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "contracts.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/dataClassification": { "get": { "tags": [ @@ -64139,6 +65623,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/{device-id}/checkMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "devices.checkMemberGroups", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "devices.getMemberGroups", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberObjects": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "devices.getMemberObjects", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/restore": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action restore", + "operationId": "devices.restore", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/devices/{device-id}/registeredOwners": { "get": { "tags": [ @@ -64525,6 +66226,160 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/getByIds": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "devices.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/getUserOwnedObjects": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "devices.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/validateProperties": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "devices.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directory": { "get": { "tags": [ @@ -65932,6 +67787,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoles/{directoryRole-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoles.checkMemberGroups", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoles.getMemberGroups", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoles.getMemberObjects", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/restore": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoles.restore", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directoryRoles/{directoryRole-id}/scopedMembers": { "get": { "tags": [ @@ -66228,6 +68300,160 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoles/getByIds": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoles.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/getUserOwnedObjects": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "directoryRoles.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/validateProperties": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "directoryRoles.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directoryRoleTemplates": { "get": { "tags": [ @@ -66474,6 +68700,377 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoleTemplates.checkMemberGroups", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoleTemplates.getMemberGroups", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoleTemplates.getMemberObjects", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/restore": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoleTemplates.restore", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/getByIds": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoleTemplates.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/getUserOwnedObjects": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "directoryRoleTemplates.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/validateProperties": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "directoryRoleTemplates.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directorySettingTemplates": { "get": { "tags": [ @@ -66727,6 +69324,377 @@ "x-ms-docs-operation-type": "operation" } }, + "/directorySettingTemplates/{directorySettingTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directorySettingTemplates.checkMemberGroups", + "parameters": [ + { + "name": "directorySettingTemplate-id", + "in": "path", + "description": "key: directorySettingTemplate-id of directorySettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directorySettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/{directorySettingTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directorySettingTemplates.getMemberGroups", + "parameters": [ + { + "name": "directorySettingTemplate-id", + "in": "path", + "description": "key: directorySettingTemplate-id of directorySettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directorySettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/{directorySettingTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directorySettingTemplates.getMemberObjects", + "parameters": [ + { + "name": "directorySettingTemplate-id", + "in": "path", + "description": "key: directorySettingTemplate-id of directorySettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directorySettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/{directorySettingTemplate-id}/restore": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directorySettingTemplates.restore", + "parameters": [ + { + "name": "directorySettingTemplate-id", + "in": "path", + "description": "key: directorySettingTemplate-id of directorySettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directorySettingTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/getByIds": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directorySettingTemplates.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/getUserOwnedObjects": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "directorySettingTemplates.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/validateProperties": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "directorySettingTemplates.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/domainDnsRecords": { "get": { "tags": [ @@ -130808,6 +133776,181 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/checkMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groups.checkMemberGroups", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groups.getMemberGroups", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberObjects": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groups.getMemberObjects", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/removeFavorite": { "post": { "tags": [ @@ -130907,6 +134050,48 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/restore": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groups.restore", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/subscribeByMail": { "post": { "tags": [ @@ -131022,7 +134207,10 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/groups/validateProperties" + ] }, "/groups/{group-id}/onenote": { "get": { @@ -179351,6 +182539,163 @@ "/groups/{group-id}/events/delta()" ] }, + "/groups/getByIds": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groups.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/getUserOwnedObjects": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "groups.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/validateProperties": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "groups.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/groups/{group-id}/validateProperties" + ] + }, "/identityProviders": { "get": { "tags": [ @@ -241459,6 +244804,53 @@ "x-ms-docs-operation-type": "action" } }, + "/me/checkMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "me.checkMemberGroups", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/exportDeviceAndAppManagementData()": { "get": { "tags": [ @@ -242066,6 +245458,98 @@ "x-ms-docs-operation-type": "function" } }, + "/me/getMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "me.getMemberGroups", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/me/getMemberObjects": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "me.getMemberObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/invalidateAllRefreshTokens": { "post": { "tags": [ @@ -242158,6 +245642,36 @@ "x-ms-docs-operation-type": "action" } }, + "/me/restore": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action restore", + "operationId": "me.restore", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/sendMail": { "post": { "tags": [ @@ -292228,6 +295742,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/organization/{organization-id}/checkMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "organization.checkMemberGroups", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "organization.getMemberGroups", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberObjects": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "organization.getMemberObjects", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/restore": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action restore", + "operationId": "organization.restore", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/organization/{organization-id}/setMobileDeviceManagementAuthority": { "post": { "tags": [ @@ -292268,6 +295999,160 @@ "x-ms-docs-operation-type": "action" } }, + "/organization/getByIds": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "organization.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/getUserOwnedObjects": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "organization.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/validateProperties": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "organization.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/payloadResponse": { "get": { "tags": [ @@ -295302,6 +299187,377 @@ "x-ms-docs-operation-type": "operation" } }, + "/policies/{policy-id}/checkMemberGroups": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "policies.checkMemberGroups", + "parameters": [ + { + "name": "policy-id", + "in": "path", + "description": "key: policy-id of policy", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "policy" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/{policy-id}/getMemberGroups": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "policies.getMemberGroups", + "parameters": [ + { + "name": "policy-id", + "in": "path", + "description": "key: policy-id of policy", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "policy" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/{policy-id}/getMemberObjects": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "policies.getMemberObjects", + "parameters": [ + { + "name": "policy-id", + "in": "path", + "description": "key: policy-id of policy", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "policy" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/{policy-id}/restore": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action restore", + "operationId": "policies.restore", + "parameters": [ + { + "name": "policy-id", + "in": "path", + "description": "key: policy-id of policy", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "policy" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/getByIds": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "policies.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/getUserOwnedObjects": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "policies.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/validateProperties": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "policies.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/privilegedAccess": { "get": { "tags": [ @@ -310585,6 +314841,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/servicePrincipals/{servicePrincipal-id}/checkMemberGroups": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "servicePrincipals.checkMemberGroups", + "parameters": [ + { + "name": "servicePrincipal-id", + "in": "path", + "description": "key: servicePrincipal-id of servicePrincipal", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "servicePrincipal" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/{servicePrincipal-id}/getMemberGroups": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "servicePrincipals.getMemberGroups", + "parameters": [ + { + "name": "servicePrincipal-id", + "in": "path", + "description": "key: servicePrincipal-id of servicePrincipal", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "servicePrincipal" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/{servicePrincipal-id}/getMemberObjects": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "servicePrincipals.getMemberObjects", + "parameters": [ + { + "name": "servicePrincipal-id", + "in": "path", + "description": "key: servicePrincipal-id of servicePrincipal", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "servicePrincipal" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/{servicePrincipal-id}/restore": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action restore", + "operationId": "servicePrincipals.restore", + "parameters": [ + { + "name": "servicePrincipal-id", + "in": "path", + "description": "key: servicePrincipal-id of servicePrincipal", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "servicePrincipal" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/servicePrincipals/{servicePrincipal-id}/oauth2PermissionGrants": { "get": { "tags": [ @@ -313208,6 +317681,160 @@ "/servicePrincipals/{servicePrincipal-id}/synchronization/jobs/{synchronizationJob-id}/schema/parseExpression" ] }, + "/servicePrincipals/getByIds": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "servicePrincipals.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/getUserOwnedObjects": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "servicePrincipals.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/validateProperties": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "servicePrincipals.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/settings": { "get": { "tags": [ @@ -445042,6 +449669,65 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/checkMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "users.checkMemberGroups", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/exportDeviceAndAppManagementData()": { "get": { "tags": [ @@ -445801,6 +450487,122 @@ "x-ms-docs-operation-type": "function" } }, + "/users/{user-id}/getMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "users.getMemberGroups", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/{user-id}/getMemberObjects": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "users.getMemberObjects", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/invalidateAllRefreshTokens": { "post": { "tags": [ @@ -445927,6 +450729,48 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/restore": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action restore", + "operationId": "users.restore", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/sendMail": { "post": { "tags": [ @@ -500777,6 +505621,160 @@ "/users/{user-id}/planner/all/delta()" ] }, + "/users/getByIds": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "users.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/getUserOwnedObjects": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "users.getUserOwnedObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/validateProperties": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "users.validateProperties", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string", + "nullable": true + }, + "displayName": { + "type": "string", + "nullable": true + }, + "mailNickname": { + "type": "string", + "nullable": true + }, + "onBehalfOfUserId": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/workbooks": { "get": { "tags": [ @@ -706892,6 +711890,10 @@ "name": "administrativeUnits.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "administrativeUnits.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "administrativeUnits.scopedRoleMembership", "x-ms-docs-toc-type": "page" @@ -707036,6 +712038,10 @@ "name": "contacts.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "contacts.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "contacts.Functions", "x-ms-docs-toc-type": "container" @@ -707044,6 +712050,10 @@ "name": "contracts.contract", "x-ms-docs-toc-type": "page" }, + { + "name": "contracts.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "dataClassification.dataClassificationService", "x-ms-docs-toc-type": "page" @@ -707768,6 +712778,10 @@ "name": "devices.extension", "x-ms-docs-toc-type": "page" }, + { + "name": "devices.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "devices.directoryObject", "x-ms-docs-toc-type": "page" @@ -707796,6 +712810,10 @@ "name": "directoryRoles.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoles.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "directoryRoles.scopedRoleMembership", "x-ms-docs-toc-type": "page" @@ -707804,10 +712822,18 @@ "name": "directoryRoleTemplates.directoryRoleTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoleTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "directorySettingTemplates.directorySettingTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "directorySettingTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "domainDnsRecords.domainDnsRecord", "x-ms-docs-toc-type": "page" @@ -709332,6 +714358,10 @@ "name": "policies.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "policies.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "privilegedAccess.privilegedAccess", "x-ms-docs-toc-type": "page" @@ -709520,6 +714550,10 @@ "name": "servicePrincipals.licenseDetails", "x-ms-docs-toc-type": "page" }, + { + "name": "servicePrincipals.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "servicePrincipals.oAuth2PermissionGrant", "x-ms-docs-toc-type": "page" @@ -709532,10 +714566,6 @@ "name": "servicePrincipals.synchronization.synchronizationJob", "x-ms-docs-toc-type": "page" }, - { - "name": "servicePrincipals.Actions", - "x-ms-docs-toc-type": "container" - }, { "name": "servicePrincipals.synchronization.jobs.synchronizationSchema", "x-ms-docs-toc-type": "page" diff --git a/docs/oas3_0_0/graph1.0.json b/docs/oas3_0_0/graph1.0.json index a80873d..b883b97 100644 --- a/docs/oas3_0_0/graph1.0.json +++ b/docs/oas3_0_0/graph1.0.json @@ -268,6 +268,277 @@ "x-ms-docs-operation-type": "operation" } }, + "/contracts/{contract-id}/checkMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "contracts.checkMemberGroups", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "contracts.getMemberGroups", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberObjects": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "contracts.getMemberObjects", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/restore": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action restore", + "operationId": "contracts.restore", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/getByIds": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "contracts.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/deviceAppManagement": { "get": { "tags": [ @@ -27044,6 +27315,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/{device-id}/checkMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "devices.checkMemberGroups", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "devices.getMemberGroups", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberObjects": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "devices.getMemberObjects", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/restore": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action restore", + "operationId": "devices.restore", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/devices/{device-id}/registeredOwners": { "get": { "tags": [ @@ -27430,6 +27918,60 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/getByIds": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "devices.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directory": { "get": { "tags": [ @@ -28729,6 +29271,277 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoles/{directoryRole-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoles.checkMemberGroups", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoles.getMemberGroups", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoles.getMemberObjects", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/restore": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoles.restore", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/getByIds": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoles.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directoryRoleTemplates": { "get": { "tags": [ @@ -28975,6 +29788,277 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoleTemplates.checkMemberGroups", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoleTemplates.getMemberGroups", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoleTemplates.getMemberObjects", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/restore": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoleTemplates.restore", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/getByIds": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoleTemplates.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/domainDnsRecords": { "get": { "tags": [ @@ -66336,6 +67420,181 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/checkMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groups.checkMemberGroups", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groups.getMemberGroups", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberObjects": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groups.getMemberObjects", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/removeFavorite": { "post": { "tags": [ @@ -66426,6 +67685,48 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/restore": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groups.restore", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/subscribeByMail": { "post": { "tags": [ @@ -114255,6 +115556,60 @@ "/groups/{group-id}/events/delta()" ] }, + "/groups/getByIds": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groups.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groupSettings": { "get": { "tags": [ @@ -114798,6 +116153,277 @@ "x-ms-docs-operation-type": "operation" } }, + "/groupSettingTemplates/{groupSettingTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groupSettingTemplates.checkMemberGroups", + "parameters": [ + { + "name": "groupSettingTemplate-id", + "in": "path", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groupSettingTemplates.getMemberGroups", + "parameters": [ + { + "name": "groupSettingTemplate-id", + "in": "path", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groupSettingTemplates.getMemberObjects", + "parameters": [ + { + "name": "groupSettingTemplate-id", + "in": "path", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/restore": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groupSettingTemplates.restore", + "parameters": [ + { + "name": "groupSettingTemplate-id", + "in": "path", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/getByIds": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groupSettingTemplates.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/invitations": { "get": { "tags": [ @@ -165351,6 +166977,53 @@ "x-ms-docs-operation-type": "action" } }, + "/me/checkMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "me.checkMemberGroups", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/findMeetingTimes": { "post": { "tags": [ @@ -165579,6 +167252,98 @@ "x-ms-docs-operation-type": "function" } }, + "/me/getMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "me.getMemberGroups", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/me/getMemberObjects": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "me.getMemberObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/reminderView(StartDateTime={StartDateTime},EndDateTime={EndDateTime})": { "get": { "tags": [ @@ -165644,6 +167409,36 @@ "x-ms-docs-operation-type": "action" } }, + "/me/restore": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action restore", + "operationId": "me.restore", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/sendMail": { "post": { "tags": [ @@ -207456,6 +209251,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/organization/{organization-id}/checkMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "organization.checkMemberGroups", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "organization.getMemberGroups", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberObjects": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "organization.getMemberObjects", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/restore": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action restore", + "operationId": "organization.restore", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/organization/{organization-id}/setMobileDeviceManagementAuthority": { "post": { "tags": [ @@ -207496,6 +209508,60 @@ "x-ms-docs-operation-type": "action" } }, + "/organization/getByIds": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "organization.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/planner": { "get": { "tags": [ @@ -324942,6 +327008,65 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/checkMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "users.checkMemberGroups", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/findMeetingTimes": { "post": { "tags": [ @@ -325218,6 +327343,122 @@ "x-ms-docs-operation-type": "function" } }, + "/users/{user-id}/getMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "users.getMemberGroups", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/{user-id}/getMemberObjects": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "users.getMemberObjects", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/reminderView(StartDateTime={StartDateTime},EndDateTime={EndDateTime})": { "get": { "tags": [ @@ -325305,6 +327546,48 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/restore": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action restore", + "operationId": "users.restore", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/sendMail": { "post": { "tags": [ @@ -371161,6 +373444,60 @@ "/users/{user-id}/messages/delta()" ] }, + "/users/getByIds": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "users.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/workbooks": { "get": { "tags": [ @@ -517955,6 +520292,10 @@ "name": "contracts.contract", "x-ms-docs-toc-type": "page" }, + { + "name": "contracts.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "deviceAppManagement.deviceAppManagement", "x-ms-docs-toc-type": "page" @@ -518347,6 +520688,10 @@ "name": "devices.extension", "x-ms-docs-toc-type": "page" }, + { + "name": "devices.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "devices.directoryObject", "x-ms-docs-toc-type": "page" @@ -518375,10 +520720,18 @@ "name": "directoryRoles.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoles.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "directoryRoleTemplates.directoryRoleTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoleTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "domainDnsRecords.domainDnsRecord", "x-ms-docs-toc-type": "page" @@ -518875,6 +521228,10 @@ "name": "groupSettingTemplates.groupSettingTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "groupSettingTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "invitations.invitation", "x-ms-docs-toc-type": "page" diff --git a/docs/oas3_0_0/graph1.0_updated.json b/docs/oas3_0_0/graph1.0_updated.json index a80873d..b883b97 100644 --- a/docs/oas3_0_0/graph1.0_updated.json +++ b/docs/oas3_0_0/graph1.0_updated.json @@ -268,6 +268,277 @@ "x-ms-docs-operation-type": "operation" } }, + "/contracts/{contract-id}/checkMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "contracts.checkMemberGroups", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "contracts.getMemberGroups", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberObjects": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "contracts.getMemberObjects", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/restore": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action restore", + "operationId": "contracts.restore", + "parameters": [ + { + "name": "contract-id", + "in": "path", + "description": "key: contract-id of contract", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "contract" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/getByIds": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "contracts.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/deviceAppManagement": { "get": { "tags": [ @@ -27044,6 +27315,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/{device-id}/checkMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "devices.checkMemberGroups", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "devices.getMemberGroups", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberObjects": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "devices.getMemberObjects", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/restore": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action restore", + "operationId": "devices.restore", + "parameters": [ + { + "name": "device-id", + "in": "path", + "description": "key: device-id of device", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "device" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/devices/{device-id}/registeredOwners": { "get": { "tags": [ @@ -27430,6 +27918,60 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/getByIds": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "devices.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directory": { "get": { "tags": [ @@ -28729,6 +29271,277 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoles/{directoryRole-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoles.checkMemberGroups", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoles.getMemberGroups", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoles.getMemberObjects", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/restore": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoles.restore", + "parameters": [ + { + "name": "directoryRole-id", + "in": "path", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRole" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/getByIds": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoles.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directoryRoleTemplates": { "get": { "tags": [ @@ -28975,6 +29788,277 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoleTemplates.checkMemberGroups", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoleTemplates.getMemberGroups", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoleTemplates.getMemberObjects", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/restore": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoleTemplates.restore", + "parameters": [ + { + "name": "directoryRoleTemplate-id", + "in": "path", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/getByIds": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoleTemplates.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/domainDnsRecords": { "get": { "tags": [ @@ -66336,6 +67420,181 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/checkMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groups.checkMemberGroups", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groups.getMemberGroups", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberObjects": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groups.getMemberObjects", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/removeFavorite": { "post": { "tags": [ @@ -66426,6 +67685,48 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/restore": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groups.restore", + "parameters": [ + { + "name": "group-id", + "in": "path", + "description": "key: group-id of group", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "group" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/subscribeByMail": { "post": { "tags": [ @@ -114255,6 +115556,60 @@ "/groups/{group-id}/events/delta()" ] }, + "/groups/getByIds": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groups.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groupSettings": { "get": { "tags": [ @@ -114798,6 +116153,277 @@ "x-ms-docs-operation-type": "operation" } }, + "/groupSettingTemplates/{groupSettingTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groupSettingTemplates.checkMemberGroups", + "parameters": [ + { + "name": "groupSettingTemplate-id", + "in": "path", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groupSettingTemplates.getMemberGroups", + "parameters": [ + { + "name": "groupSettingTemplate-id", + "in": "path", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groupSettingTemplates.getMemberObjects", + "parameters": [ + { + "name": "groupSettingTemplate-id", + "in": "path", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/restore": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groupSettingTemplates.restore", + "parameters": [ + { + "name": "groupSettingTemplate-id", + "in": "path", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/getByIds": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groupSettingTemplates.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/invitations": { "get": { "tags": [ @@ -165351,6 +166977,53 @@ "x-ms-docs-operation-type": "action" } }, + "/me/checkMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "me.checkMemberGroups", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/findMeetingTimes": { "post": { "tags": [ @@ -165579,6 +167252,98 @@ "x-ms-docs-operation-type": "function" } }, + "/me/getMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "me.getMemberGroups", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/me/getMemberObjects": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "me.getMemberObjects", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/reminderView(StartDateTime={StartDateTime},EndDateTime={EndDateTime})": { "get": { "tags": [ @@ -165644,6 +167409,36 @@ "x-ms-docs-operation-type": "action" } }, + "/me/restore": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action restore", + "operationId": "me.restore", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/sendMail": { "post": { "tags": [ @@ -207456,6 +209251,223 @@ "x-ms-docs-operation-type": "operation" } }, + "/organization/{organization-id}/checkMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "organization.checkMemberGroups", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "organization.getMemberGroups", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberObjects": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "organization.getMemberObjects", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/restore": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action restore", + "operationId": "organization.restore", + "parameters": [ + { + "name": "organization-id", + "in": "path", + "description": "key: organization-id of organization", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "organization" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/organization/{organization-id}/setMobileDeviceManagementAuthority": { "post": { "tags": [ @@ -207496,6 +209508,60 @@ "x-ms-docs-operation-type": "action" } }, + "/organization/getByIds": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "organization.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/planner": { "get": { "tags": [ @@ -324942,6 +327008,65 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/checkMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "users.checkMemberGroups", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/findMeetingTimes": { "post": { "tags": [ @@ -325218,6 +327343,122 @@ "x-ms-docs-operation-type": "function" } }, + "/users/{user-id}/getMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "users.getMemberGroups", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/{user-id}/getMemberObjects": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "users.getMemberObjects", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "type": "boolean", + "default": false, + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/reminderView(StartDateTime={StartDateTime},EndDateTime={EndDateTime})": { "get": { "tags": [ @@ -325305,6 +327546,48 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/restore": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action restore", + "operationId": "users.restore", + "parameters": [ + { + "name": "user-id", + "in": "path", + "description": "key: user-id of user", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "user" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/sendMail": { "post": { "tags": [ @@ -371161,6 +373444,60 @@ "/users/{user-id}/messages/delta()" ] }, + "/users/getByIds": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "users.getByIds", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/microsoft.graph.directoryObject" + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/workbooks": { "get": { "tags": [ @@ -517955,6 +520292,10 @@ "name": "contracts.contract", "x-ms-docs-toc-type": "page" }, + { + "name": "contracts.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "deviceAppManagement.deviceAppManagement", "x-ms-docs-toc-type": "page" @@ -518347,6 +520688,10 @@ "name": "devices.extension", "x-ms-docs-toc-type": "page" }, + { + "name": "devices.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "devices.directoryObject", "x-ms-docs-toc-type": "page" @@ -518375,10 +520720,18 @@ "name": "directoryRoles.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoles.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "directoryRoleTemplates.directoryRoleTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoleTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "domainDnsRecords.domainDnsRecord", "x-ms-docs-toc-type": "page" @@ -518875,6 +521228,10 @@ "name": "groupSettingTemplates.groupSettingTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "groupSettingTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "invitations.invitation", "x-ms-docs-toc-type": "page" diff --git a/docs/oas_2_0/graph.beta.json b/docs/oas_2_0/graph.beta.json index bfb22a6..5472b43 100644 --- a/docs/oas_2_0/graph.beta.json +++ b/docs/oas_2_0/graph.beta.json @@ -2513,6 +2513,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/administrativeUnits/{administrativeUnit-id}/checkMemberGroups": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "administrativeUnits.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "administrativeUnit-id", + "description": "key: administrativeUnit-id of administrativeUnit", + "required": true, + "type": "string", + "x-ms-docs-key-type": "administrativeUnit" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/{administrativeUnit-id}/getMemberGroups": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "administrativeUnits.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "administrativeUnit-id", + "description": "key: administrativeUnit-id of administrativeUnit", + "required": true, + "type": "string", + "x-ms-docs-key-type": "administrativeUnit" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/{administrativeUnit-id}/getMemberObjects": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "administrativeUnits.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "administrativeUnit-id", + "description": "key: administrativeUnit-id of administrativeUnit", + "required": true, + "type": "string", + "x-ms-docs-key-type": "administrativeUnit" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/{administrativeUnit-id}/restore": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action restore", + "operationId": "administrativeUnits.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "administrativeUnit-id", + "description": "key: administrativeUnit-id of administrativeUnit", + "required": true, + "type": "string", + "x-ms-docs-key-type": "administrativeUnit" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/administrativeUnits/{administrativeUnit-id}/scopedRoleMembers": { "get": { "tags": [ @@ -2801,6 +3000,153 @@ "x-ms-docs-operation-type": "function" } }, + "/administrativeUnits/getByIds": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "administrativeUnits.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/getUserOwnedObjects": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "administrativeUnits.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/administrativeUnits/validateProperties": { + "post": { + "tags": [ + "administrativeUnits.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "administrativeUnits.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/agreementAcceptances": { "get": { "tags": [ @@ -5102,6 +5448,205 @@ "x-ms-docs-operation-type": "action" } }, + "/applications/{application-id}/checkMemberGroups": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "applications.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "application-id", + "description": "key: application-id of application", + "required": true, + "type": "string", + "x-ms-docs-key-type": "application" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/{application-id}/getMemberGroups": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "applications.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "application-id", + "description": "key: application-id of application", + "required": true, + "type": "string", + "x-ms-docs-key-type": "application" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/{application-id}/getMemberObjects": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "applications.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "application-id", + "description": "key: application-id of application", + "required": true, + "type": "string", + "x-ms-docs-key-type": "application" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/{application-id}/restore": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action restore", + "operationId": "applications.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "application-id", + "description": "key: application-id of application", + "required": true, + "type": "string", + "x-ms-docs-key-type": "application" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/applications/{application-id}/owners": { "get": { "tags": [ @@ -6995,6 +7540,153 @@ "/applications/{application-id}/synchronization/jobs/{synchronizationJob-id}/schema/parseExpression" ] }, + "/applications/getByIds": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "applications.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/getUserOwnedObjects": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "applications.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/applications/validateProperties": { + "post": { + "tags": [ + "applications.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "applications.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/appRoleAssignments": { "get": { "tags": [ @@ -11783,6 +12475,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/contacts/{orgContact-id}/checkMemberGroups": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "contacts.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "orgContact-id", + "description": "key: orgContact-id of orgContact", + "required": true, + "type": "string", + "x-ms-docs-key-type": "orgContact" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/{orgContact-id}/getMemberGroups": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "contacts.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "orgContact-id", + "description": "key: orgContact-id of orgContact", + "required": true, + "type": "string", + "x-ms-docs-key-type": "orgContact" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/{orgContact-id}/getMemberObjects": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "contacts.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "orgContact-id", + "description": "key: orgContact-id of orgContact", + "required": true, + "type": "string", + "x-ms-docs-key-type": "orgContact" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/{orgContact-id}/restore": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action restore", + "operationId": "contacts.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "orgContact-id", + "description": "key: orgContact-id of orgContact", + "required": true, + "type": "string", + "x-ms-docs-key-type": "orgContact" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/contacts/delta()": { "get": { "tags": [ @@ -11808,6 +12699,153 @@ "x-ms-docs-operation-type": "function" } }, + "/contacts/getByIds": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "contacts.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/getUserOwnedObjects": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "contacts.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contacts/validateProperties": { + "post": { + "tags": [ + "contacts.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "contacts.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/contracts": { "get": { "tags": [ @@ -12046,6 +13084,352 @@ "x-ms-docs-operation-type": "operation" } }, + "/contracts/{contract-id}/checkMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "contracts.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "contracts.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberObjects": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "contracts.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/restore": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action restore", + "operationId": "contracts.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/getByIds": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "contracts.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/getUserOwnedObjects": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "contracts.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/validateProperties": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "contracts.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/dataClassification": { "get": { "tags": [ @@ -57680,6 +59064,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/{device-id}/checkMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "devices.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "devices.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberObjects": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "devices.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/restore": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action restore", + "operationId": "devices.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/devices/{device-id}/registeredOwners": { "get": { "tags": [ @@ -58010,6 +59593,153 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/getByIds": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "devices.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/getUserOwnedObjects": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "devices.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/validateProperties": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "devices.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directory": { "get": { "tags": [ @@ -59283,6 +61013,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoles/{directoryRole-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoles.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoles.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoles.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/restore": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoles.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directoryRoles/{directoryRole-id}/scopedMembers": { "get": { "tags": [ @@ -59546,6 +61475,153 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoles/getByIds": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoles.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/getUserOwnedObjects": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "directoryRoles.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/validateProperties": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "directoryRoles.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directoryRoleTemplates": { "get": { "tags": [ @@ -59773,6 +61849,352 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoleTemplates.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoleTemplates.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoleTemplates.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/restore": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoleTemplates.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/getByIds": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoleTemplates.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/getUserOwnedObjects": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "directoryRoleTemplates.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/validateProperties": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "directoryRoleTemplates.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directorySettingTemplates": { "get": { "tags": [ @@ -60007,6 +62429,352 @@ "x-ms-docs-operation-type": "operation" } }, + "/directorySettingTemplates/{directorySettingTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directorySettingTemplates.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directorySettingTemplate-id", + "description": "key: directorySettingTemplate-id of directorySettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directorySettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/{directorySettingTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directorySettingTemplates.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directorySettingTemplate-id", + "description": "key: directorySettingTemplate-id of directorySettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directorySettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/{directorySettingTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directorySettingTemplates.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directorySettingTemplate-id", + "description": "key: directorySettingTemplate-id of directorySettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directorySettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/{directorySettingTemplate-id}/restore": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directorySettingTemplates.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directorySettingTemplate-id", + "description": "key: directorySettingTemplate-id of directorySettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directorySettingTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/getByIds": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directorySettingTemplates.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/getUserOwnedObjects": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "directorySettingTemplates.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directorySettingTemplates/validateProperties": { + "post": { + "tags": [ + "directorySettingTemplates.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "directorySettingTemplates.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/domainDnsRecords": { "get": { "tags": [ @@ -117316,6 +120084,173 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/checkMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groups.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groups.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberObjects": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groups.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/removeFavorite": { "post": { "tags": [ @@ -117407,6 +120342,38 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/restore": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groups.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/subscribeByMail": { "post": { "tags": [ @@ -117514,7 +120481,10 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/groups/validateProperties" + ] }, "/groups/{group-id}/onenote": { "get": { @@ -159940,6 +162910,156 @@ "/groups/{group-id}/events/delta()" ] }, + "/groups/getByIds": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groups.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/getUserOwnedObjects": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "groups.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/validateProperties": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "groups.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/groups/{group-id}/validateProperties" + ] + }, "/identityProviders": { "get": { "tags": [ @@ -216289,6 +219409,55 @@ "x-ms-docs-operation-type": "action" } }, + "/me/checkMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "me.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/exportDeviceAndAppManagementData()": { "get": { "tags": [ @@ -216774,6 +219943,100 @@ "x-ms-docs-operation-type": "function" } }, + "/me/getMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "me.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/me/getMemberObjects": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "me.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/invalidateAllRefreshTokens": { "post": { "tags": [ @@ -216858,6 +220121,28 @@ "x-ms-docs-operation-type": "action" } }, + "/me/restore": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action restore", + "operationId": "me.restore", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/sendMail": { "post": { "tags": [ @@ -261341,6 +264626,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/organization/{organization-id}/checkMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "organization.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "organization.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberObjects": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "organization.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/restore": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action restore", + "operationId": "organization.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/organization/{organization-id}/setMobileDeviceManagementAuthority": { "post": { "tags": [ @@ -261378,6 +264862,153 @@ "x-ms-docs-operation-type": "action" } }, + "/organization/getByIds": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "organization.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/getUserOwnedObjects": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "organization.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/validateProperties": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "organization.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/payloadResponse": { "get": { "tags": [ @@ -264111,6 +267742,352 @@ "x-ms-docs-operation-type": "operation" } }, + "/policies/{policy-id}/checkMemberGroups": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "policies.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "policy-id", + "description": "key: policy-id of policy", + "required": true, + "type": "string", + "x-ms-docs-key-type": "policy" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/{policy-id}/getMemberGroups": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "policies.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "policy-id", + "description": "key: policy-id of policy", + "required": true, + "type": "string", + "x-ms-docs-key-type": "policy" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/{policy-id}/getMemberObjects": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "policies.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "policy-id", + "description": "key: policy-id of policy", + "required": true, + "type": "string", + "x-ms-docs-key-type": "policy" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/{policy-id}/restore": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action restore", + "operationId": "policies.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "policy-id", + "description": "key: policy-id of policy", + "required": true, + "type": "string", + "x-ms-docs-key-type": "policy" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/getByIds": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "policies.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/getUserOwnedObjects": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "policies.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/policies/validateProperties": { + "post": { + "tags": [ + "policies.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "policies.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/privilegedAccess": { "get": { "tags": [ @@ -277829,6 +281806,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/servicePrincipals/{servicePrincipal-id}/checkMemberGroups": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "servicePrincipals.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "servicePrincipal-id", + "description": "key: servicePrincipal-id of servicePrincipal", + "required": true, + "type": "string", + "x-ms-docs-key-type": "servicePrincipal" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/{servicePrincipal-id}/getMemberGroups": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "servicePrincipals.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "servicePrincipal-id", + "description": "key: servicePrincipal-id of servicePrincipal", + "required": true, + "type": "string", + "x-ms-docs-key-type": "servicePrincipal" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/{servicePrincipal-id}/getMemberObjects": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "servicePrincipals.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "servicePrincipal-id", + "description": "key: servicePrincipal-id of servicePrincipal", + "required": true, + "type": "string", + "x-ms-docs-key-type": "servicePrincipal" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/{servicePrincipal-id}/restore": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action restore", + "operationId": "servicePrincipals.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "servicePrincipal-id", + "description": "key: servicePrincipal-id of servicePrincipal", + "required": true, + "type": "string", + "x-ms-docs-key-type": "servicePrincipal" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/servicePrincipals/{servicePrincipal-id}/oauth2PermissionGrants": { "get": { "tags": [ @@ -280076,6 +284252,153 @@ "/servicePrincipals/{servicePrincipal-id}/synchronization/jobs/{synchronizationJob-id}/schema/parseExpression" ] }, + "/servicePrincipals/getByIds": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "servicePrincipals.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/getUserOwnedObjects": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "servicePrincipals.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/servicePrincipals/validateProperties": { + "post": { + "tags": [ + "servicePrincipals.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "servicePrincipals.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/settings": { "get": { "tags": [ @@ -396908,6 +401231,63 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/checkMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "users.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/exportDeviceAndAppManagementData()": { "get": { "tags": [ @@ -397511,6 +401891,116 @@ "x-ms-docs-operation-type": "function" } }, + "/users/{user-id}/getMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "users.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/{user-id}/getMemberObjects": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "users.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/invalidateAllRefreshTokens": { "post": { "tags": [ @@ -397623,6 +402113,38 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/restore": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action restore", + "operationId": "users.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/sendMail": { "post": { "tags": [ @@ -445799,6 +450321,153 @@ "/users/{user-id}/planner/all/delta()" ] }, + "/users/getByIds": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "users.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/getUserOwnedObjects": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getUserOwnedObjects", + "operationId": "users.getUserOwnedObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/validateProperties": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action validateProperties", + "operationId": "users.validateProperties", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "entityType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "mailNickname": { + "type": "string" + }, + "onBehalfOfUserId": { + "format": "uuid", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/workbooks": { "get": { "tags": [ @@ -601577,6 +606246,10 @@ "name": "administrativeUnits.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "administrativeUnits.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "administrativeUnits.scopedRoleMembership", "x-ms-docs-toc-type": "page" @@ -601721,6 +606394,10 @@ "name": "contacts.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "contacts.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "contacts.Functions", "x-ms-docs-toc-type": "container" @@ -601729,6 +606406,10 @@ "name": "contracts.contract", "x-ms-docs-toc-type": "page" }, + { + "name": "contracts.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "dataClassification.dataClassificationService", "x-ms-docs-toc-type": "page" @@ -602453,6 +607134,10 @@ "name": "devices.extension", "x-ms-docs-toc-type": "page" }, + { + "name": "devices.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "devices.directoryObject", "x-ms-docs-toc-type": "page" @@ -602481,6 +607166,10 @@ "name": "directoryRoles.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoles.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "directoryRoles.scopedRoleMembership", "x-ms-docs-toc-type": "page" @@ -602489,10 +607178,18 @@ "name": "directoryRoleTemplates.directoryRoleTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoleTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "directorySettingTemplates.directorySettingTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "directorySettingTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "domainDnsRecords.domainDnsRecord", "x-ms-docs-toc-type": "page" @@ -604017,6 +608714,10 @@ "name": "policies.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "policies.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "privilegedAccess.privilegedAccess", "x-ms-docs-toc-type": "page" @@ -604205,6 +608906,10 @@ "name": "servicePrincipals.licenseDetails", "x-ms-docs-toc-type": "page" }, + { + "name": "servicePrincipals.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "servicePrincipals.oAuth2PermissionGrant", "x-ms-docs-toc-type": "page" @@ -604217,10 +608922,6 @@ "name": "servicePrincipals.synchronization.synchronizationJob", "x-ms-docs-toc-type": "page" }, - { - "name": "servicePrincipals.Actions", - "x-ms-docs-toc-type": "container" - }, { "name": "servicePrincipals.synchronization.jobs.synchronizationSchema", "x-ms-docs-toc-type": "page" diff --git a/docs/oas_2_0/graph1.0.json b/docs/oas_2_0/graph1.0.json index 5d01256..8aa4dc2 100644 --- a/docs/oas_2_0/graph1.0.json +++ b/docs/oas_2_0/graph1.0.json @@ -249,6 +249,260 @@ "x-ms-docs-operation-type": "operation" } }, + "/contracts/{contract-id}/checkMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "contracts.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "contracts.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberObjects": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "contracts.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/restore": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action restore", + "operationId": "contracts.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/getByIds": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "contracts.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/deviceAppManagement": { "get": { "tags": [ @@ -24459,6 +24713,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/{device-id}/checkMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "devices.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "devices.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberObjects": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "devices.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/restore": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action restore", + "operationId": "devices.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/devices/{device-id}/registeredOwners": { "get": { "tags": [ @@ -24789,6 +25242,61 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/getByIds": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "devices.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directory": { "get": { "tags": [ @@ -25968,6 +26476,260 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoles/{directoryRole-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoles.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoles.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoles.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/restore": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoles.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/getByIds": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoles.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directoryRoleTemplates": { "get": { "tags": [ @@ -26195,6 +26957,260 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoleTemplates.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoleTemplates.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoleTemplates.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/restore": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoleTemplates.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/getByIds": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoleTemplates.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/domainDnsRecords": { "get": { "tags": [ @@ -59832,6 +60848,173 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/checkMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groups.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groups.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberObjects": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groups.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/removeFavorite": { "post": { "tags": [ @@ -59916,6 +61099,38 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/restore": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groups.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/subscribeByMail": { "post": { "tags": [ @@ -101899,6 +103114,61 @@ "/groups/{group-id}/events/delta()" ] }, + "/groups/getByIds": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groups.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groupSettings": { "get": { "tags": [ @@ -102396,6 +103666,260 @@ "x-ms-docs-operation-type": "operation" } }, + "/groupSettingTemplates/{groupSettingTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groupSettingTemplates.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "groupSettingTemplate-id", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "groupSettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groupSettingTemplates.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "groupSettingTemplate-id", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "groupSettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groupSettingTemplates.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "groupSettingTemplate-id", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "groupSettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/restore": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groupSettingTemplates.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "groupSettingTemplate-id", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/getByIds": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groupSettingTemplates.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/invitations": { "get": { "tags": [ @@ -148442,6 +149966,55 @@ "x-ms-docs-operation-type": "action" } }, + "/me/checkMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "me.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/findMeetingTimes": { "post": { "tags": [ @@ -148610,6 +150183,100 @@ "x-ms-docs-operation-type": "function" } }, + "/me/getMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "me.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/me/getMemberObjects": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "me.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/reminderView(StartDateTime={StartDateTime},EndDateTime={EndDateTime})": { "get": { "tags": [ @@ -148669,6 +150336,28 @@ "x-ms-docs-operation-type": "action" } }, + "/me/restore": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action restore", + "operationId": "me.restore", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/sendMail": { "post": { "tags": [ @@ -185751,6 +187440,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/organization/{organization-id}/checkMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "organization.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "organization.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberObjects": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "organization.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/restore": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action restore", + "operationId": "organization.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/organization/{organization-id}/setMobileDeviceManagementAuthority": { "post": { "tags": [ @@ -185788,6 +187676,61 @@ "x-ms-docs-operation-type": "action" } }, + "/organization/getByIds": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "organization.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/planner": { "get": { "tags": [ @@ -290136,6 +292079,63 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/checkMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "users.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/findMeetingTimes": { "post": { "tags": [ @@ -290340,6 +292340,116 @@ "x-ms-docs-operation-type": "function" } }, + "/users/{user-id}/getMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "users.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/{user-id}/getMemberObjects": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "users.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/reminderView(StartDateTime={StartDateTime},EndDateTime={EndDateTime})": { "get": { "tags": [ @@ -290417,6 +292527,38 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/restore": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action restore", + "operationId": "users.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/sendMail": { "post": { "tags": [ @@ -330651,6 +332793,61 @@ "/users/{user-id}/messages/delta()" ] }, + "/users/getByIds": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "users.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/workbooks": { "get": { "tags": [ @@ -444396,6 +446593,10 @@ "name": "contracts.contract", "x-ms-docs-toc-type": "page" }, + { + "name": "contracts.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "deviceAppManagement.deviceAppManagement", "x-ms-docs-toc-type": "page" @@ -444788,6 +446989,10 @@ "name": "devices.extension", "x-ms-docs-toc-type": "page" }, + { + "name": "devices.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "devices.directoryObject", "x-ms-docs-toc-type": "page" @@ -444816,10 +447021,18 @@ "name": "directoryRoles.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoles.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "directoryRoleTemplates.directoryRoleTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoleTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "domainDnsRecords.domainDnsRecord", "x-ms-docs-toc-type": "page" @@ -445316,6 +447529,10 @@ "name": "groupSettingTemplates.groupSettingTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "groupSettingTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "invitations.invitation", "x-ms-docs-toc-type": "page" diff --git a/docs/oas_2_0/graph1.0_updated.json b/docs/oas_2_0/graph1.0_updated.json index 5d01256..8aa4dc2 100644 --- a/docs/oas_2_0/graph1.0_updated.json +++ b/docs/oas_2_0/graph1.0_updated.json @@ -249,6 +249,260 @@ "x-ms-docs-operation-type": "operation" } }, + "/contracts/{contract-id}/checkMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "contracts.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberGroups": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "contracts.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/getMemberObjects": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "contracts.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/{contract-id}/restore": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action restore", + "operationId": "contracts.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "contract-id", + "description": "key: contract-id of contract", + "required": true, + "type": "string", + "x-ms-docs-key-type": "contract" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/contracts/getByIds": { + "post": { + "tags": [ + "contracts.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "contracts.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/deviceAppManagement": { "get": { "tags": [ @@ -24459,6 +24713,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/{device-id}/checkMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "devices.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberGroups": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "devices.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/getMemberObjects": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "devices.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/devices/{device-id}/restore": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action restore", + "operationId": "devices.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "device-id", + "description": "key: device-id of device", + "required": true, + "type": "string", + "x-ms-docs-key-type": "device" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/devices/{device-id}/registeredOwners": { "get": { "tags": [ @@ -24789,6 +25242,61 @@ "x-ms-docs-operation-type": "operation" } }, + "/devices/getByIds": { + "post": { + "tags": [ + "devices.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "devices.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directory": { "get": { "tags": [ @@ -25968,6 +26476,260 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoles/{directoryRole-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoles.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoles.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoles.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/{directoryRole-id}/restore": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoles.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRole-id", + "description": "key: directoryRole-id of directoryRole", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRole" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoles/getByIds": { + "post": { + "tags": [ + "directoryRoles.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoles.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/directoryRoleTemplates": { "get": { "tags": [ @@ -26195,6 +26957,260 @@ "x-ms-docs-operation-type": "operation" } }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "directoryRoleTemplates.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "directoryRoleTemplates.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "directoryRoleTemplates.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/{directoryRoleTemplate-id}/restore": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "directoryRoleTemplates.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "directoryRoleTemplate-id", + "description": "key: directoryRoleTemplate-id of directoryRoleTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "directoryRoleTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/directoryRoleTemplates/getByIds": { + "post": { + "tags": [ + "directoryRoleTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "directoryRoleTemplates.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/domainDnsRecords": { "get": { "tags": [ @@ -59832,6 +60848,173 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/checkMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groups.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberGroups": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groups.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groups/{group-id}/getMemberObjects": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groups.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/removeFavorite": { "post": { "tags": [ @@ -59916,6 +61099,38 @@ "x-ms-docs-operation-type": "action" } }, + "/groups/{group-id}/restore": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groups.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "group-id", + "description": "key: group-id of group", + "required": true, + "type": "string", + "x-ms-docs-key-type": "group" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groups/{group-id}/subscribeByMail": { "post": { "tags": [ @@ -101899,6 +103114,61 @@ "/groups/{group-id}/events/delta()" ] }, + "/groups/getByIds": { + "post": { + "tags": [ + "groups.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groups.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/groupSettings": { "get": { "tags": [ @@ -102396,6 +103666,260 @@ "x-ms-docs-operation-type": "operation" } }, + "/groupSettingTemplates/{groupSettingTemplate-id}/checkMemberGroups": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "groupSettingTemplates.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "groupSettingTemplate-id", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "groupSettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/getMemberGroups": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "groupSettingTemplates.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "groupSettingTemplate-id", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "groupSettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/getMemberObjects": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "groupSettingTemplates.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "groupSettingTemplate-id", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "groupSettingTemplate" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/{groupSettingTemplate-id}/restore": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action restore", + "operationId": "groupSettingTemplates.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "groupSettingTemplate-id", + "description": "key: groupSettingTemplate-id of groupSettingTemplate", + "required": true, + "type": "string", + "x-ms-docs-key-type": "groupSettingTemplate" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/groupSettingTemplates/getByIds": { + "post": { + "tags": [ + "groupSettingTemplates.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "groupSettingTemplates.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/invitations": { "get": { "tags": [ @@ -148442,6 +149966,55 @@ "x-ms-docs-operation-type": "action" } }, + "/me/checkMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "me.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/findMeetingTimes": { "post": { "tags": [ @@ -148610,6 +150183,100 @@ "x-ms-docs-operation-type": "function" } }, + "/me/getMemberGroups": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "me.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/me/getMemberObjects": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "me.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/reminderView(StartDateTime={StartDateTime},EndDateTime={EndDateTime})": { "get": { "tags": [ @@ -148669,6 +150336,28 @@ "x-ms-docs-operation-type": "action" } }, + "/me/restore": { + "post": { + "tags": [ + "me.Actions" + ], + "summary": "Invoke action restore", + "operationId": "me.restore", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/me/sendMail": { "post": { "tags": [ @@ -185751,6 +187440,205 @@ "x-ms-docs-operation-type": "operation" } }, + "/organization/{organization-id}/checkMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "organization.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberGroups": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "organization.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/getMemberObjects": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "organization.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/organization/{organization-id}/restore": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action restore", + "operationId": "organization.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "organization-id", + "description": "key: organization-id of organization", + "required": true, + "type": "string", + "x-ms-docs-key-type": "organization" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/organization/{organization-id}/setMobileDeviceManagementAuthority": { "post": { "tags": [ @@ -185788,6 +187676,61 @@ "x-ms-docs-operation-type": "action" } }, + "/organization/getByIds": { + "post": { + "tags": [ + "organization.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "organization.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/planner": { "get": { "tags": [ @@ -290136,6 +292079,63 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/checkMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action checkMemberGroups", + "operationId": "users.checkMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/findMeetingTimes": { "post": { "tags": [ @@ -290340,6 +292340,116 @@ "x-ms-docs-operation-type": "function" } }, + "/users/{user-id}/getMemberGroups": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberGroups", + "operationId": "users.getMemberGroups", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/users/{user-id}/getMemberObjects": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getMemberObjects", + "operationId": "users.getMemberObjects", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "securityEnabledOnly": { + "default": false, + "type": "boolean" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/reminderView(StartDateTime={StartDateTime},EndDateTime={EndDateTime})": { "get": { "tags": [ @@ -290417,6 +292527,38 @@ "x-ms-docs-operation-type": "action" } }, + "/users/{user-id}/restore": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action restore", + "operationId": "users.restore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "user-id", + "description": "key: user-id of user", + "required": true, + "type": "string", + "x-ms-docs-key-type": "user" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/users/{user-id}/sendMail": { "post": { "tags": [ @@ -330651,6 +332793,61 @@ "/users/{user-id}/messages/delta()" ] }, + "/users/getByIds": { + "post": { + "tags": [ + "users.Actions" + ], + "summary": "Invoke action getByIds", + "operationId": "users.getByIds", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/microsoft.graph.directoryObject" + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, "/workbooks": { "get": { "tags": [ @@ -444396,6 +446593,10 @@ "name": "contracts.contract", "x-ms-docs-toc-type": "page" }, + { + "name": "contracts.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "deviceAppManagement.deviceAppManagement", "x-ms-docs-toc-type": "page" @@ -444788,6 +446989,10 @@ "name": "devices.extension", "x-ms-docs-toc-type": "page" }, + { + "name": "devices.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "devices.directoryObject", "x-ms-docs-toc-type": "page" @@ -444816,10 +447021,18 @@ "name": "directoryRoles.directoryObject", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoles.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "directoryRoleTemplates.directoryRoleTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "directoryRoleTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "domainDnsRecords.domainDnsRecord", "x-ms-docs-toc-type": "page" @@ -445316,6 +447529,10 @@ "name": "groupSettingTemplates.groupSettingTemplate", "x-ms-docs-toc-type": "page" }, + { + "name": "groupSettingTemplates.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "invitations.invitation", "x-ms-docs-toc-type": "page" diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 6b0833b..53dc47f 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -294,26 +294,30 @@ namespace Microsoft.OpenApi.OData.Edm { continue; } + var firstEntityType = bindingType.AsEntity().EntityDefinition(); var allEntitiesForOperation= new List(){ firstEntityType }; System.Func filter = (z) => z.EntityType() != firstEntityType && z.EntityType().FindAllBaseTypes().Contains(firstEntityType); + //Search all EntitySets allEntitiesForOperation.AddRange( _model.EntityContainer.EntitySets() .Where(filter).Select(x => x.EntityType()) ); + //Search all singletons allEntitiesForOperation.AddRange( _model.EntityContainer.Singletons() .Where(filter).Select(x => x.EntityType()) ); + allEntitiesForOperation = allEntitiesForOperation.Distinct().ToList(); + foreach (var bindingEntityType in allEntitiesForOperation) { - // 1. Search for corresponding navigation source path if (AppendBoundOperationOnNavigationSourcePath(edmOperation, isCollection, bindingEntityType)) { diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiPathsGeneratorTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiPathsGeneratorTests.cs index d2ea495..498e815 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiPathsGeneratorTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiPathsGeneratorTests.cs @@ -89,7 +89,7 @@ namespace Microsoft.OpenApi.OData.Generator.Tests Assert.Contains("/Accounts", paths.Keys); Assert.Contains("/Accounts/{id}", paths.Keys); Assert.Contains("/Accounts/{id}/Attachments()", paths.Keys); - Assert.Contains("/Accounts/{id}/AttachmentsAdd", paths.Keys); + Assert.Contains("/Accounts/{id}/AttachmentsAdd", paths.Keys); } } } diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmFunctionOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmFunctionOperationHandlerTests.cs index 50bc0bd..9c61028 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmFunctionOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/EdmFunctionOperationHandlerTests.cs @@ -51,6 +51,7 @@ namespace Microsoft.OpenApi.OData.Operation.Tests Assert.Equal(2, operation.Responses.Count); Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); } + [Fact] public void CreateOperationForEdmFunctionReturnsCorrectOperationHierarhicalClass() { diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Contract.OData.xml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Contract.OData.xml index 8addd4f..f7cf399 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Contract.OData.xml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Contract.OData.xml @@ -1,48 +1,48 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + \ No newline at end of file diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Graph.Beta.OData.xml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Graph.Beta.OData.xml index 1e99012..cd4bbf9 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Graph.Beta.OData.xml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Graph.Beta.OData.xml @@ -2050,7 +2050,7 @@ - + @@ -2724,7 +2724,7 @@ - + @@ -2918,7 +2918,7 @@ - + @@ -20381,22 +20381,22 @@ - + - + - + - + - + @@ -20414,7 +20414,7 @@ - + @@ -20633,7 +20633,7 @@ - + @@ -20792,7 +20792,7 @@ - + @@ -20801,16 +20801,16 @@ - + - + - + diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Graph.Beta.OData2.xml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Graph.Beta.OData2.xml deleted file mode 100644 index 285249d..0000000 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Graph.Beta.OData2.xml +++ /dev/null @@ -1,30570 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - Org.OData.Capabilities.V1.NavigationType/Single - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Core.V1.Permission/Read - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Core.V1.Permission/Read - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Core.V1.Permission/Read - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Core.V1.Permission/Read - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Core.V1.Permission/Read - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Org.OData.Core.V1.Permission/Read - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From c65ddf83bf041f2f4b49653782608ea29ab92ce9 Mon Sep 17 00:00:00 2001 From: Irvine Sunday Date: Tue, 21 Jan 2020 22:38:40 +0300 Subject: [PATCH 05/11] Allows capturing of NavigationProperty descriptions --- .../Generator/OpenApiSchemaGenerator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs b/src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs index 2b1d061..ab45290 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs @@ -172,6 +172,7 @@ namespace Microsoft.OpenApi.OData.Generator foreach (var property in structuredType.DeclaredNavigationProperties()) { OpenApiSchema propertySchema = context.CreateEdmTypeSchema(property.Type); + propertySchema.Description = context.Model.GetDescriptionAnnotation(property); properties.Add(property.Name, propertySchema); } From 5c185cd67cba605d5f51cd49a9501ce323807be5 Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Tue, 21 Jan 2020 14:33:47 -0800 Subject: [PATCH 06/11] Add the netcoreapp2.1 into the test project --- .../Edm/ODataPathProviderTests.cs | 2 +- .../Microsoft.OpenAPI.OData.Reader.Tests.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs index 1e25d1e..4c5d9cd 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs @@ -45,7 +45,7 @@ namespace Microsoft.OpenApi.OData.Edm.Tests // Assert Assert.NotNull(paths); - Assert.Equal(4491, paths.Count()); + Assert.Equal(4481, paths.Count()); } [Fact] diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj index cc11dbf..927a82a 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj @@ -3,7 +3,7 @@ Microsoft.OpenApi.OData.Reader.Tests Microsoft.OpenApi.OData.Reader.Tests - net461 + net461;netcoreapp2.1 true ..\..\tool\35MSSharedLib1024.snk true From 3d62ec44e66c22e1f88eed28484bd513218a1719 Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Thu, 23 Jan 2020 16:40:57 -0800 Subject: [PATCH 07/11] Change to .Net Framework version 4.7.2 because 4.6.1 is not recommended --- .../Microsoft.OpenAPI.OData.Reader.csproj | 2 +- src/OoasGui/OoasGui.csproj | 2 +- src/OoasUtil/OoasUtil.csproj | 4 +- ...icrosoft.OpenAPI.OData.Reader.Tests.csproj | 2 +- tool/Build.props | 2 +- tool/GetNugetPackageMetadata.proj | 2 +- tool/WebStack.versions.settings.targets | 125 ------------------ 7 files changed, 7 insertions(+), 132 deletions(-) delete mode 100644 tool/WebStack.versions.settings.targets diff --git a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj index 9904f61..844f593 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj +++ b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj @@ -3,7 +3,7 @@ Microsoft.OpenApi.OData.Reader Microsoft.OpenApi.OData - net461; netstandard2.0 + net472; netstandard2.0 Microsoft.OpenApi.OData.Reader latest latest diff --git a/src/OoasGui/OoasGui.csproj b/src/OoasGui/OoasGui.csproj index c14e7a9..be7423f 100644 --- a/src/OoasGui/OoasGui.csproj +++ b/src/OoasGui/OoasGui.csproj @@ -8,7 +8,7 @@ WinExe OoasGui OoasGui - v4.6.1 + v4.7.2 512 true diff --git a/src/OoasUtil/OoasUtil.csproj b/src/OoasUtil/OoasUtil.csproj index abf4d68..b624326 100644 --- a/src/OoasUtil/OoasUtil.csproj +++ b/src/OoasUtil/OoasUtil.csproj @@ -1,8 +1,8 @@ - + Exe - net461 + net472 diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj index 927a82a..a9b3b4b 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj @@ -3,7 +3,7 @@ Microsoft.OpenApi.OData.Reader.Tests Microsoft.OpenApi.OData.Reader.Tests - net461;netcoreapp2.1 + net472;netcoreapp2.1 true ..\..\tool\35MSSharedLib1024.snk true diff --git a/tool/Build.props b/tool/Build.props index c9827c1..3403d53 100644 --- a/tool/Build.props +++ b/tool/Build.props @@ -14,7 +14,7 @@ $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.root)) - $(EnlistmentRoot)\tool + $(EnlistmentRoot)\tool diff --git a/tool/GetNugetPackageMetadata.proj b/tool/GetNugetPackageMetadata.proj index fda6c79..5f120f9 100644 --- a/tool/GetNugetPackageMetadata.proj +++ b/tool/GetNugetPackageMetadata.proj @@ -1,5 +1,5 @@ - + $([System.DateTime]::Now.ToString("yyyyMMddHHmm")) diff --git a/tool/WebStack.versions.settings.targets b/tool/WebStack.versions.settings.targets deleted file mode 100644 index bae399b..0000000 --- a/tool/WebStack.versions.settings.targets +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - 1 - 0 - 1 - - - - - - [1.1.4, 2.0.0) - [7.6.1, 8.0.0) - - - - - 2020 - $([System.Convert]::ToInt16('$([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd"))')) - $([System.Convert]::ToString($(VersionDateCode))) - - - - - $(VersionMajor).$(VersionMinor).$(VersionBuild) - $(VersionFullSemantic).$(VersionRevision) - - - - - $(VersionFullSemantic) - $(VersionFullSemantic)-$(VersionRelease) - - - - - true - false - - - - 2020 - INVALID_VersionMajor - INVALID_VersionMajor - INVALID_VersionMinor - INVALID_VersionBuild - $([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd")) - 0 - - - - - $(VersionMajor).$(VersionMinor).$(VersionBuild).$(VersionRevision) - $(VersionMajor).$(VersionMinor).$(VersionBuild).$(VersionRevision) - $(AssemblyFileVersion) - $(IntermediateOutputPath)$(MSBuildProjectName).version.cs - - - - - - - - - - - - Microsoft Corporation. - © Microsoft Corporation. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - @(VersionText) - !$(VersionText.Contains('$(AssemblyFileVersion)')) - - - - - - - $([System.Convert]::ToInt16('$(VersionMajor)')) - $([System.Convert]::ToInt16('$(VersionMinor)')) - $([System.Convert]::ToUInt16('$(VersionBuild)')) - $([System.Convert]::ToInt16('$(VersionRevision)')) - - - - - ValidateVersionValues;ShouldGenerateVersionFile;GenerateVersionFileCore - - - - From b08a65691a9b19e3b76e386512116f91cf77708c Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Thu, 23 Jan 2020 16:57:06 -0800 Subject: [PATCH 08/11] Small changes to make sure the cahced item is same --- .../Edm/EdmAnnotationExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/EdmAnnotationExtensions.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/EdmAnnotationExtensions.cs index 9db4106..79e5d1f 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/EdmAnnotationExtensions.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/EdmAnnotationExtensions.cs @@ -195,7 +195,7 @@ namespace Microsoft.OpenApi.OData.Edm } } - return value; + return value.ToList(); }); } From 0ebaca1574058b29052675aaf52f847d24cd278b Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Fri, 24 Jan 2020 12:15:35 -0800 Subject: [PATCH 09/11] change the build.ps1 --- build.ps1 | 265 +++++++++++++++++------------------------------------- 1 file changed, 84 insertions(+), 181 deletions(-) diff --git a/build.ps1 b/build.ps1 index 8cbdfe4..4b78a3b 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,3 +1,8 @@ +# reference to System.* +$SysDirectory = [System.IO.Directory] +$SysPath = [System.IO.Path] +$SysFile = [System.IO.File] + # Default to Debug $Configuration = 'Debug' @@ -30,42 +35,83 @@ else exit } -$Build = 'build' -if ($args -contains 'rebuild') -{ - $Build = 'rebuild' -} - $PROGRAMFILESX86 = [Environment]::GetFolderPath("ProgramFilesX86") $env:ENLISTMENT_ROOT = Split-Path -Parent $MyInvocation.MyCommand.Definition $ENLISTMENT_ROOT = Split-Path -Parent $MyInvocation.MyCommand.Definition -$LOGDIR = $ENLISTMENT_ROOT + "\bin" -# Default to use Visual Studio 2017 -$VS15MSBUILD=$PROGRAMFILESX86 + "\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe" -$VSTEST = $PROGRAMFILESX86 + "\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" -$SN = $PROGRAMFILESX86 + "\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\sn.exe" -$SNx64 = $PROGRAMFILESX86 + "\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\sn.exe" + + +# Figure out the directory and path for SN.exe +$SN = $null +$SNx64 = $null +$SNVersions = @() +ForEach ($directory in $SysDirectory::EnumerateDirectories($PROGRAMFILESX86 + "\Microsoft SDKs\Windows", "*A")) +{ + # remove the first char 'v' + $directoryName = $SysPath::GetFileName($directory).substring(1) + + # remove the last char 'A' + $directoryName = $directoryName.substring(0, $directoryName.LastIndexOf('A')) + + # parse to double "10.0" + $versionNo = [System.Double]::Parse($directoryName) + + $fileobject = $null + $fileobject = New-Object System.Object + $fileobject | Add-Member -type NoteProperty -Name version -Value $versionNo + $fileobject | Add-Member -type NoteProperty -Name directory -Value $directory + + $SNVersions += $fileobject +} + +# using the latest version +$SNVersions = $SNVersions | Sort-Object -Property version -Descending + +ForEach ($ver in $SNVersions) +{ + # only care about the folder has "bin" subfolder + $snBinDirectory = $ver.directory + "\bin" + if(!$SysDirectory::Exists($snBinDirectory)) + { + continue + } + + if($SysFile::Exists($snBinDirectory + "\sn.exe") -and $SysFile::Exists($snBinDirectory + "\x64\sn.exe")) + { + $SN = $snBinDirectory + "\sn.exe" + $SNx64 = $snBinDirectory + "\x64\sn.exe" + break + } + else + { + ForEach ($netFxDirectory in $SysDirectory::EnumerateDirectories($snBinDirectory, "NETFX * Tools") | Sort -Descending) + { + # currently, sorting descending for the NETFX version looks good. + if($SysFile::Exists($netFxDirectory + "\sn.exe") -and $SysFile::Exists($netFxDirectory + "\x64\sn.exe")) + { + $SN = $netFxDirectory + "\sn.exe" + $SNx64 = $netFxDirectory + "\x64\sn.exe" + break + } + } + } + + if ($SN -ne $null -and $SNx64 -ne $null) + { + break + } +} # Other variables -$FXCOP = $FXCOPDIR + "\FxCopCmd.exe" -$BUILDLOG = $LOGDIR + "\msbuild.log" -$TESTLOG = $LOGDIR + "\mstest.log" -$TESTDIR = $ENLISTMENT_ROOT + "\bin\$Configuration\Test\net461" -$PRODUCTDIR = $ENLISTMENT_ROOT + "\bin\$Configuration\net461" -$NUGETEXE = $PROGRAMFILESX86 + "\Microsoft Visual Studio\2017\Enterprise\MSBuild\ReadyRoll\OctoPack\build\NuGet.exe" -$NUGETPACK = $ENLISTMENT_ROOT + "\packages" +$ProductProj = $ENLISTMENT_ROOT + "\src\Microsoft.OpenAPI.OData.Reader\Microsoft.OpenApi.OData.Reader.csproj" +$TESTProj = $ENLISTMENT_ROOT + "\test\Microsoft.OpenAPI.OData.Reader.Tests\Microsoft.OpenApi.OData.Reader.Tests.csproj" + +$TESTDIR = $ENLISTMENT_ROOT + "\bin\$Configuration\Test\net472" +$PRODUCTDIR = $ENLISTMENT_ROOT + "\bin\$Configuration\net472" $ProductDlls = "Microsoft.OpenApi.OData.Reader.dll" - $XUnitTestDlls = "Microsoft.OpenApi.OData.Reader.Tests.dll" -$AllTestSuite = @() -ForEach($dll in $XUnitTestDlls) -{ - $AllTestSuite += $TESTDIR + "\" + $dll -} - Function GetDlls { $dlls = @() @@ -137,180 +183,40 @@ Function CleanBeforeScorch Write-Host "Clean Done" -ForegroundColor $Success } -# Incremental build and rebuild -Function RunBuild ($sln) -{ - Write-Host "*** Building $sln ***" - $slnpath = $ENLISTMENT_ROOT + "\$sln" - $Conf = "/p:Configuration=" + "$Configuration" - - # Default to VS2017 - $MSBUILD = $VS15MSBUILD - - & $MSBUILD $slnpath /t:$Build /m /nr:false /fl "/p:Platform=Any CPU" $Conf /p:Desktop=true ` - /flp:LogFile=$LOGDIR/msbuild.log /flp:Verbosity=Normal 1>$null 2>$null - - if($LASTEXITCODE -eq 0) - { - Write-Host "Build $sln SUCCESS" -ForegroundColor $Success - } - else - { - Write-Host "Build $sln FAILED" -ForegroundColor $Err - Write-Host "For more information, please open the following test result files:" - Write-Host "$LOGDIR\msbuild.log" - Cleanup - exit - } -} - -Function NugetRestoreSolution -{ - Write-Host '**********Pull NuGet Packages*********' - & $NUGETEXE "restore" ($ENLISTMENT_ROOT + "\Microsoft.OpenApi.OData.sln") -} - Function BuildProcess { Write-Host '**********Start To Build The Project*********' $script:BUILD_START_TIME = Get-Date - if (Test-Path $BUILDLOG) - { - rm $BUILDLOG - } - - RunBuild ('Microsoft.OpenApi.OData.sln') - + + Write-Host "Build Product ..." + + & dotnet.exe build $ProductProj -c $Configuration + + Write-Host "Build Test ..." + + & dotnet.exe build $TESTProj -c $Configuration + Write-Host "Build Done" -ForegroundColor $Success $script:BUILD_END_TIME = Get-Date } -Function TestSummary -{ - Write-Host 'Collecting test results ...' - - $file = Get-Content -Path $TESTLOG - $pass = 0 - $skipped = 0 - $fail = 0 - $trxfile = New-Object -TypeName System.Collections.ArrayList - $failedtest1 = New-Object -TypeName System.Collections.ArrayList - $failedtest2 = New-Object -TypeName System.Collections.ArrayList - $part = 1 - foreach ($line in $file) - { - # Consolidate logic for retrieving number of passed and skipped tests. Failed tests is separate due to the way - # VSTest and DotNet (for .NET Core tests) report results differently. - if ($line -match "^Total tests: .*") - { - # The line is in this format: - # Total tests: 5735. Passed: 5735. Failed: 0. Skipped: 0. - # We want to extract the total passed and total skipped. - - # Extract total passed by taking the substring between "Passed: " and "." - # The regex first extracts the string after the hardcoded "Passed: " (i.e. "#. Failed: #. Skipped: #.") - # Then we tokenize by "." and retrieve the first token which is the number for passed. - $pattern = "Passed: (.*)" - $extractedNumber = [regex]::match($line, $pattern).Groups[1].Value.Split(".")[0] - $pass += $extractedNumber - - # Extract total failed by taking the substring between "Failed: " and "." - # The regex first extracts the string after the hardcoded "Failed: " (i.e. "#.") - # Then we tokenize by "." and retrieve the first token which is the number for skipped. - $pattern = "Failed: (.*)" - $extractedNumber = [regex]::match($line, $pattern).Groups[1].Value.Split(".")[0] - $fail += $extractedNumber - - # Extract total skipped by taking the substring between "Skipped: " and "." - # The regex first extracts the string after the hardcoded "Skipped: " (i.e. "#.") - # Then we tokenize by "." and retrieve the first token which is the number for skipped. - $pattern = "Skipped: (.*)" - $extractedNumber = [regex]::match($line, $pattern).Groups[1].Value.Split(".")[0] - $skipped += $extractedNumber - } - } - - Write-Host "Test summary:" -ForegroundColor $Success - Write-Host "Passed :`t$pass" -ForegroundColor $Success - - if ($skipped -ne 0) - { - Write-Host "Skipped:`t$skipped" -ForegroundColor $Warning - } - - $color = $Success - if ($fail -ne 0) - { - $color = $Err - } - Write-Host "Failed :`t$fail" -ForegroundColor $color - Write-Host "----------------------" -ForegroundColor $Success - Write-Host "Total :`t$($pass + $fail)" -ForegroundColor $Success - if ($fail -ne 0) - { - Write-Host "Find failed test information at:" $TESTLOG -ForegroundColor $Err - } - else - { - Write-Host "Congratulation! All of the tests passed!" -ForegroundColor $Success - } -} - -Function RunTest($title, $testdir) -{ - Write-Host "**********Running $title***********" - - & $VSTEST $testdir >> $TESTLOG - - if($LASTEXITCODE -ne 0) - { - Write-Host "Run $title FAILED" -ForegroundColor $Err - } -} - Function TestProcess { Write-Host '**********Start To Run The Test*********' - if (Test-Path $TESTLOG) - { - rm $TESTLOG - } + $script:TEST_START_TIME = Get-Date - cd $TESTDIR - if ($TestType -eq 'All') - { - RunTest -title 'All Tests' -testdir $AllTestSuite - } - else - { - Write-Host 'Error : TestType' -ForegroundColor $Err - Cleanup - exit - } + + & dotnet test $TESTProj -c $Configuration Write-Host "Test Done" -ForegroundColor $Success $script:TEST_END_TIME = Get-Date - TestSummary - cd $ENLISTMENT_ROOT -} - -Function FxCopProcess -{ - # TODO: } # Main Process - -if (! (Test-Path $LOGDIR)) -{ - mkdir $LOGDIR 1>$null -} - if ($TestType -eq 'EnableSkipStrongName') { CleanBeforeScorch - NugetRestoreSolution BuildProcess SkipStrongName Exit @@ -318,18 +224,15 @@ if ($TestType -eq 'EnableSkipStrongName') elseif ($TestType -eq 'DisableSkipStrongName') { CleanBeforeScorch - NugetRestoreSolution BuildProcess DisableSkipStrongName Exit } CleanBeforeScorch -NugetRestoreSolution BuildProcess SkipStrongName TestProcess -FxCopProcess Cleanup $buildTime = New-TimeSpan $script:BUILD_START_TIME -end $script:BUILD_END_TIME From e3ec0bafac23bd1d81594311b87176d9098d418c Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Fri, 24 Jan 2020 12:53:26 -0800 Subject: [PATCH 10/11] Modify the skip strong name script --- build.ps1 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build.ps1 b/build.ps1 index 4b78a3b..1becaff 100644 --- a/build.ps1 +++ b/build.ps1 @@ -131,20 +131,17 @@ Function GetDlls Function SkipStrongName { - $SnLog = $LOGDIR + "\SkipStrongName.log" - Out-File $SnLog - Write-Host 'Skip strong name validations for Microsoft.OpenApi.OData assemblies...' $dlls = GetDlls ForEach ($dll in $dlls) { - & $SN /Vr $dll | Out-File $SnLog -Append + & $SN /Vr $dll } ForEach ($dll in $dlls) { - & $SNx64 /Vr $dll | Out-File $SnLog -Append + & $SNx64 /Vr $dll } Write-Host "SkipStrongName Done" -ForegroundColor $Success From 755bc347f6e73612696d32f562d1a388ee00976d Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Fri, 24 Jan 2020 12:55:44 -0800 Subject: [PATCH 11/11] Change the nuget script to output .NET 472 --- .../Microsoft.OpenAPI.OData.Reader.Nightly.Release.nuspec | 4 ++-- .../Microsoft.OpenAPI.OData.Reader.Release.nuspec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.Nightly.Release.nuspec b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.Nightly.Release.nuspec index 0364d2e..de143ab 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.Nightly.Release.nuspec +++ b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.Nightly.Release.nuspec @@ -19,8 +19,8 @@ - - + + diff --git a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.Release.nuspec b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.Release.nuspec index 6daeb29..88f6263 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.Release.nuspec +++ b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.Release.nuspec @@ -19,8 +19,8 @@ - - + +