Enabled paging for GetGroupMembers and removed redundant test values (#211)
Co-authored-by: Shyam Sunder <shyamsu@microsoft.com>
This commit is contained in:
Родитель
96ce3c0e92
Коммит
58c0dedb72
|
@ -3,7 +3,10 @@
|
|||
"info": {
|
||||
"version": "1.0.0",
|
||||
"title": "Azure AD",
|
||||
"description": "Azure Active Directory is an Identity and Access Management cloud solution that extends your on-premises directories to the cloud and provides single sign-on to thousands of cloud (SaaS) apps and access to web apps you run on-premises."
|
||||
"description": "Azure Active Directory is an Identity and Access Management cloud solution that extends your on-premises directories to the cloud and provides single sign-on to thousands of cloud (SaaS) apps and access to web apps you run on-premises.",
|
||||
"contact": {
|
||||
"name": "Microsoft"
|
||||
}
|
||||
},
|
||||
"host": "graph.microsoft.com",
|
||||
"schemes": [
|
||||
|
@ -73,16 +76,6 @@
|
|||
"type": "boolean",
|
||||
"x-ms-summary": "Mail Enabled"
|
||||
}
|
||||
},
|
||||
"x-ms-test-value": {
|
||||
"description": "A group for development",
|
||||
"displayName": "Test 530930",
|
||||
"groupTypes": [
|
||||
"Unified"
|
||||
],
|
||||
"mailEnabled": true,
|
||||
"mailNickname": "Test-Mail-Group-530930",
|
||||
"securityEnabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -144,13 +137,6 @@
|
|||
"type": "boolean",
|
||||
"x-ms-summary": "Mail Enabled"
|
||||
}
|
||||
},
|
||||
"x-ms-test-value": {
|
||||
"description": "A group for development",
|
||||
"displayName": "Test 530930",
|
||||
"mailEnabled": true,
|
||||
"mailNickname": "Test-Mail-Group-530930",
|
||||
"securityEnabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -263,7 +249,7 @@
|
|||
"deprecated": false,
|
||||
"x-ms-api-annotation": {
|
||||
"family": "GetMemberGroups",
|
||||
"status": "Preview",
|
||||
"status": "Production",
|
||||
"revision": 2
|
||||
}
|
||||
}
|
||||
|
@ -314,16 +300,6 @@
|
|||
"x-ms-visibility": "advanced",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
{
|
||||
"name": "$skip",
|
||||
"in": "query",
|
||||
"description": "Skip the number of results to return",
|
||||
"required": false,
|
||||
"x-ms-summary": "Skip",
|
||||
"x-ms-visibility": "advanced",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
@ -334,6 +310,9 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"x-ms-pageable": {
|
||||
"nextLinkName": "@odata.nextLink"
|
||||
},
|
||||
"deprecated": false
|
||||
}
|
||||
},
|
||||
|
@ -348,7 +327,6 @@
|
|||
"name": "groupId",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"x-ms-test-value": "40649f36-46b6-43a6-95e2-9554b7933919",
|
||||
"description": "The Id of the group.",
|
||||
"x-ms-summary": "Group Id",
|
||||
"type": "string"
|
||||
|
@ -357,7 +335,6 @@
|
|||
"name": "memberId",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"x-ms-test-value": "78afdf31-abd9-48a1-b4a1-be585a29b5ee",
|
||||
"description": "The Id of the member.",
|
||||
"x-ms-summary": "Member Id",
|
||||
"type": "string"
|
||||
|
@ -428,7 +405,7 @@
|
|||
"deprecated": false,
|
||||
"x-ms-api-annotation": {
|
||||
"family": "CheckMemberGroups",
|
||||
"status": "Preview",
|
||||
"status": "Production",
|
||||
"revision": 2
|
||||
}
|
||||
}
|
||||
|
@ -473,9 +450,6 @@
|
|||
"x-ms-summary": "User Id",
|
||||
"x-ms-visibility": "important"
|
||||
}
|
||||
},
|
||||
"x-ms-test-value": {
|
||||
"@odata.id": "78afdf31-abd9-48a1-b4a1-be585a29b5ee"
|
||||
}
|
||||
},
|
||||
"AssignManager_Request": {
|
||||
|
@ -490,9 +464,6 @@
|
|||
"x-ms-summary": "User Id of the Manager",
|
||||
"x-ms-visibility": "important"
|
||||
}
|
||||
},
|
||||
"x-ms-test-value": {
|
||||
"@odata.id": "c4f3739d-cc23-431a-9255-81e45f4bf052"
|
||||
}
|
||||
},
|
||||
"CreateGroup_Response": {
|
||||
|
@ -805,21 +776,6 @@
|
|||
},
|
||||
"x-ms-visibility": "advanced"
|
||||
}
|
||||
},
|
||||
"x-ms-test-value": {
|
||||
"displayName": "abc xyz",
|
||||
"mailNickname": "abcxyz",
|
||||
"userPrincipalName": "<<Email>>",
|
||||
"jobTitle": "Dev",
|
||||
"department": "abc",
|
||||
"givenName": "abc",
|
||||
"surname": "xyz",
|
||||
"mobilePhone": "(111) 222-0000",
|
||||
"officeLocation": "Redmond",
|
||||
"preferredLanguage": "en-US",
|
||||
"businessPhones": [
|
||||
"(111) 222-0000"
|
||||
]
|
||||
}
|
||||
},
|
||||
"GetMemberGroups_Request": {
|
||||
|
@ -834,9 +790,6 @@
|
|||
"description": "Determines if only security enabled groups should be fetched.",
|
||||
"default": true
|
||||
}
|
||||
},
|
||||
"x-ms-test-value": {
|
||||
"securityEnabledOnly": true
|
||||
}
|
||||
},
|
||||
"GetMemberGroups_Response": {
|
||||
|
@ -955,30 +908,17 @@
|
|||
"x-ms-summary": "Preferred Language",
|
||||
"x-ms-visibility": "advanced"
|
||||
}
|
||||
},
|
||||
"x-ms-test-value": {
|
||||
"accountEnabled": true,
|
||||
"displayName": "abc xyz",
|
||||
"mailNickname": "abcxyz",
|
||||
"passwordProfile": {
|
||||
"password": "<<Password>>"
|
||||
},
|
||||
"userPrincipalName": "<<Email>>",
|
||||
"businessPhones": [
|
||||
"(111) 222-0000"
|
||||
],
|
||||
"department": "Engineering",
|
||||
"givenName": "abc",
|
||||
"surname": "xyz",
|
||||
"jobTitle": "Dev",
|
||||
"mobilePhone": "(111) 222-0000",
|
||||
"officeLocation": "Redmond",
|
||||
"preferredLanguage": "en-US"
|
||||
}
|
||||
},
|
||||
"GetGroupMembers_Response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"@odata.nextLink": {
|
||||
"description": "Link to get next page of results",
|
||||
"type": "string",
|
||||
"x-ms-summary": "Next link",
|
||||
"x-ms-visibility": "internal"
|
||||
},
|
||||
"value": {
|
||||
"description": "Array of users that are members of the group.",
|
||||
"type": "array",
|
||||
|
@ -1004,11 +944,6 @@
|
|||
"x-ms-visibility": "important"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-test-value": {
|
||||
"groupIds": [
|
||||
"40649f36-46b6-43a6-95e2-9554b7933919"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1019,7 +954,6 @@
|
|||
"description": "Unique identifer of a group (Ex. '40639f36-46a6-73a6-91e2-9584b7913429').",
|
||||
"required": true,
|
||||
"x-ms-summary": "Group Id",
|
||||
"x-ms-test-value": "40649f36-46b6-43a6-95e2-9554b7933919",
|
||||
"type": "string"
|
||||
},
|
||||
"id__in_path_2": {
|
||||
|
@ -1028,9 +962,14 @@
|
|||
"description": "Unique identifier of a user (Ex. 'user@tennant.onmicrosoft.com' or '5f6ce5c7-b521-4842-9bbe-3f6d5aa5e35b').",
|
||||
"required": true,
|
||||
"x-ms-summary": "User Id or Principal Name",
|
||||
"x-ms-test-value": "<<Email>>",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"securityDefinitions": {}
|
||||
}
|
||||
"securityDefinitions": {},
|
||||
"x-ms-connector-information": [
|
||||
{
|
||||
"propertyName": "Privacy policy",
|
||||
"propertyValue": "https://privacy.microsoft.com/en-us/privacystatement"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -114,6 +114,16 @@
|
|||
},
|
||||
"templateId": "routerequesttoendpoint",
|
||||
"title": "Redirect to GetMemberGroups API"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"GetGroupMembers"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.nextLinkPropertyName": "@odata.nextLink"
|
||||
},
|
||||
"templateId": "updatenextlink",
|
||||
"title": "Updates next link to make paging work"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче