Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating 2018-03-01-preview to include a few extra fields and parameters #3370

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"inheritedPermissions": "view",
"parentDisplayNameChain": ["Tenant Root Group", "Group 1 Tenant 2 Parent"],
"parentNameChain": ["TenantRootGroup", "Group1Tenant2Parent"],
"numberOfDescendants": 2
"numberOfDescendants": 3,
"numberOfChildren": 2,
"numberOfChildGroups": 1
}
},
{
Expand All @@ -38,8 +40,9 @@
"inheritedPermissions": "delete",
"parentDisplayNameChain": ["Tenant Root Group", "Group 4 Tenant 2 Parent"],
"parentNameChain": ["TenantRootGroup", "Group4 Tenant2Parent"],
"numberOfDescendants": 0
}
"numberOfDescendants": 0,
"numberOfChildren": 0,
"numberOfChildGroups": 0 }
}
],
"nextLink": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,11 @@
"$ref": "#/definitions/EntityInfo"
}
},
"count": {
"description": "Total count of records that match the filter",
"type": "integer",
"readOnly": true
},
"nextLink": {
"description": "The URL to use for getting the next set of results.",
"type": "string",
Expand Down Expand Up @@ -1024,6 +1029,18 @@
"type": "integer",
"x-nullable": true
},
"numberOfChildren": {
"title": "Number of Children",
"description": "Number of children is the number of Groups and Subscriptions that are exactly one level underneath the current Group.",
"type": "integer",
"x-nullable": true
},
"numberOfChildGroups": {
"title": "Number of Child Groups",
"description": "Number of child groups is the number of Groups that are exactly one level underneath the current Group.",
"type": "integer",
"x-nullable": true
},
"parentDisplayNameChain": {
"type": "array",
"description": "The parent display name chain from the root group to the immediate parent",
Expand Down Expand Up @@ -1407,7 +1424,9 @@
"enum": [
"AllowedParents",
"AllowedChildren",
"ParentAndFirstLevelChildren"
"ParentAndFirstLevelChildren",
"ParentOnly",
"ChildrenOnly"
],
"x-ms-parameter-location": "method",
"description": "The $search parameter is used in conjunction with the $filter parameter to return three different outputs depending on the parameter passed in. With $search=AllowedParents the API will return the entity info of all groups that the requested entity will be able to reparent to as determined by the user's permissions. With $search=AllowedChildren the API will return the entity info of all entities that can be added as children of the requested entity. With $search=ParentAndFirstLevelChildren the API will return the parent and first level of children that the user has either direct access to or indirect access via one of their descendants."
Expand Down