From cd6628aee10a9a3842c93573da5c1a0b60ef6b78 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 21 Jul 2026 10:42:27 +0000 Subject: [PATCH] Update clean v1.0 metadata file with 227538 --- openapi/v1.0/default.yaml | 10875 ++++++++++++++++++++-- openapi/v1.0/graphexplorer.yaml | 14396 ++++++++++++++++++++++++++---- openapi/v1.0/openapi.yaml | 3208 ++++++- openapi/v1.0/powershell_v2.yaml | 10995 +++++++++++++++++++++-- 4 files changed, 36358 insertions(+), 3116 deletions(-) diff --git a/openapi/v1.0/default.yaml b/openapi/v1.0/default.yaml index e4718fc7..fd71ec8e 100644 --- a/openapi/v1.0/default.yaml +++ b/openapi/v1.0/default.yaml @@ -89416,6 +89416,123 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /deviceManagement/virtualEndpoint/servicePlans: + description: Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. + get: + tags: + - deviceManagement.virtualEndpoint + summary: List servicePlans + description: 'List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, the Microsoft Graph API is available for Windows 365 Enterprise.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/virtualendpoint-list-serviceplans?view=graph-rest-1.0 + operationId: deviceManagement.virtualEndpoint.ListServicePlans + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.cloudPcServicePlanCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/deviceManagement/virtualEndpoint/servicePlans/{cloudPcServicePlan-id}': + description: Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. + get: + tags: + - deviceManagement.virtualEndpoint + summary: Get servicePlans from deviceManagement + description: A collection of Cloud PC service plans. + operationId: deviceManagement.virtualEndpoint.GetServicePlans + parameters: + - name: cloudPcServicePlan-id + in: path + description: The unique identifier of cloudPcServicePlan + required: true + schema: + type: string + x-ms-docs-key-type: cloudPcServicePlan + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /deviceManagement/virtualEndpoint/servicePlans/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - deviceManagement.virtualEndpoint + summary: Get the number of the resource + operationId: deviceManagement.virtualEndpoint.servicePlans.GetCount-3a18 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /deviceManagement/virtualEndpoint/userSettings: description: Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. get: @@ -109289,14 +109406,13 @@ paths: - '/drive/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drive/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drive/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.driveItem - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.items.listItem.ListVersions + summary: Get permissions from drive + operationId: drive.items.listItem.ListPermissions parameters: - name: driveItem-id in: path @@ -109342,7 +109458,7 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -109352,8 +109468,8 @@ paths: post: tags: - drive.driveItem - summary: Create new navigation property to versions for drive - operationId: drive.items.listItem.CreateVersions + summary: Create new navigation property to permissions for drive + operationId: drive.items.listItem.CreatePermissions parameters: - name: driveItem-id in: path @@ -109367,7 +109483,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -109375,21 +109491,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/list/items/{listItem-id}/versions' - - /drive/root/listItem/versions - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drive/list/items/{listItem-id}/permissions' + - /drive/root/listItem/permissions + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.driveItem - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.items.listItem.GetVersions + summary: Get permissions from drive + operationId: drive.items.listItem.GetPermissions parameters: - name: driveItem-id in: path @@ -109398,13 +109513,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -109431,15 +109546,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drive.driveItem - summary: Update the navigation property versions in drive - operationId: drive.items.listItem.UpdateVersions + summary: Update the navigation property permissions in drive + operationId: drive.items.listItem.UpdatePermissions parameters: - name: driveItem-id in: path @@ -109448,19 +109563,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -109471,8 +109586,8 @@ paths: delete: tags: - drive.driveItem - summary: Delete navigation property versions for drive - operationId: drive.items.listItem.DeleteVersions + summary: Delete navigation property permissions for drive + operationId: drive.items.listItem.DeletePermissions parameters: - name: driveItem-id in: path @@ -109481,13 +109596,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -109500,16 +109615,86 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/drive/root/listItem/versions/{listItemVersion-id}' - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/drive/list/items/{listItem-id}/permissions/{permission-id}' + - '/drive/root/listItem/permissions/{permission-id}' + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drive.driveItem - summary: Get fields from drive - description: A collection of the fields and values for this version of the list item. - operationId: drive.items.listItem.versions.GetFields + summary: Get the number of the resource + operationId: drive.items.listItem.permissions.GetCount-58b1 parameters: - name: driveItem-id in: path @@ -109518,13 +109703,249 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drive/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.items.listItem.ListVersions + parameters: + - name: driveItem-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of driveItem required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.driveItem + summary: Create new navigation property to versions for drive + operationId: drive.items.listItem.CreateVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/list/items/{listItem-id}/versions' + - /drive/root/listItem/versions + '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.items.listItem.GetVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.driveItem + summary: Update the navigation property versions in drive + operationId: drive.items.listItem.UpdateVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.driveItem + summary: Delete navigation property versions for drive + operationId: drive.items.listItem.DeleteVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/drive/root/listItem/versions/{listItemVersion-id}' + '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drive.driveItem + summary: Get fields from drive + description: A collection of the fields and values for this version of the list item. + operationId: drive.items.listItem.versions.GetFields + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion - name: $select in: query description: Select properties to be returned @@ -111044,6 +111465,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' '/drive/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -115546,14 +115971,13 @@ paths: - '/drive/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drive/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drive/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.list - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.list.items.ListVersions + summary: Get permissions from drive + operationId: drive.list.items.ListPermissions parameters: - name: listItem-id in: path @@ -115599,7 +116023,7 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -115609,8 +116033,8 @@ paths: post: tags: - drive.list - summary: Create new navigation property to versions for drive - operationId: drive.list.items.CreateVersions + summary: Create new navigation property to permissions for drive + operationId: drive.list.items.CreatePermissions parameters: - name: listItem-id in: path @@ -115624,7 +116048,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -115632,21 +116056,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/items/{driveItem-id}/listItem/versions' - - /drive/root/listItem/versions - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drive/items/{driveItem-id}/listItem/permissions' + - /drive/root/listItem/permissions + '/drive/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.list - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.list.items.GetVersions + summary: Get permissions from drive + operationId: drive.list.items.GetPermissions parameters: - name: listItem-id in: path @@ -115655,13 +116078,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -115688,15 +116111,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drive.list - summary: Update the navigation property versions in drive - operationId: drive.list.items.UpdateVersions + summary: Update the navigation property permissions in drive + operationId: drive.list.items.UpdatePermissions parameters: - name: listItem-id in: path @@ -115705,19 +116128,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -115728,8 +116151,8 @@ paths: delete: tags: - drive.list - summary: Delete navigation property versions for drive - operationId: drive.list.items.DeleteVersions + summary: Delete navigation property permissions for drive + operationId: drive.list.items.DeletePermissions parameters: - name: listItem-id in: path @@ -115738,13 +116161,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -115757,16 +116180,86 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/drive/root/listItem/versions/{listItemVersion-id}' - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drive/root/listItem/permissions/{permission-id}' + '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.list.items.listItem.permissions.permission.grant + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drive.list - summary: Get fields from drive - description: A collection of the fields and values for this version of the list item. - operationId: drive.list.items.versions.GetFields + summary: Get the number of the resource + operationId: drive.list.items.permissions.GetCount-775c parameters: - name: listItem-id in: path @@ -115775,13 +116268,249 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drive/list/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.list + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.list.items.ListVersions + parameters: + - name: listItem-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of listItem required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.list + summary: Create new navigation property to versions for drive + operationId: drive.list.items.CreateVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/versions' + - /drive/root/listItem/versions + '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.list + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.list.items.GetVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.list + summary: Update the navigation property versions in drive + operationId: drive.list.items.UpdateVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.list + summary: Delete navigation property versions for drive + operationId: drive.list.items.DeleteVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/drive/root/listItem/versions/{listItemVersion-id}' + '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drive.list + summary: Get fields from drive + description: A collection of the fields and values for this version of the list item. + operationId: drive.list.items.versions.GetFields + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion - name: $select in: query description: Select properties to be returned @@ -116446,6 +117175,254 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + /drive/list/permissions: + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drive.list + summary: Get permissions from drive + operationId: drive.list.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.list + summary: Create new navigation property to permissions for drive + operationId: drive.list.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drive/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drive.list + summary: Get permissions from drive + operationId: drive.list.GetPermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.list + summary: Update the navigation property permissions in drive + operationId: drive.list.UpdatePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.list + summary: Delete navigation property permissions for drive + operationId: drive.list.DeletePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drive/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.list.permissions.permission.grant + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + /drive/list/permissions/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - drive.list + summary: Get the number of the resource + operationId: drive.list.permissions.GetCount-ce39 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /drive/list/subscriptions: description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -119459,6 +120436,260 @@ paths: - /drive/root/listItem/microsoft.graph.getActivitiesByInterval() - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + /drive/root/listItem/permissions: + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get permissions from drive + operationId: drive.root.listItem.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.driveItem + summary: Create new navigation property to permissions for drive + operationId: drive.root.listItem.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions' + - '/drive/list/items/{listItem-id}/permissions' + '/drive/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get permissions from drive + operationId: drive.root.listItem.GetPermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.driveItem + summary: Update the navigation property permissions in drive + operationId: drive.root.listItem.UpdatePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.driveItem + summary: Delete navigation property permissions for drive + operationId: drive.root.listItem.DeletePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}' + '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.root.listItem.permissions.permission.grant + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + /drive/root/listItem/permissions/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - drive.driveItem + summary: Get the number of the resource + operationId: drive.root.listItem.permissions.GetCount-61a6 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /drive/root/listItem/versions: description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -120945,7 +122176,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' /drive/root/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -126629,14 +127864,13 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.driveItem - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.items.listItem.ListVersions + summary: Get permissions from drives + operationId: drives.items.listItem.ListPermissions parameters: - name: drive-id in: path @@ -126689,7 +127923,7 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -126699,8 +127933,8 @@ paths: post: tags: - drives.driveItem - summary: Create new navigation property to versions for drives - operationId: drives.items.listItem.CreateVersions + summary: Create new navigation property to permissions for drives + operationId: drives.items.listItem.CreatePermissions parameters: - name: drive-id in: path @@ -126721,7 +127955,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -126729,21 +127963,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/drives/{drive-id}/root/listItem/versions' - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/drives/{drive-id}/root/listItem/permissions' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.driveItem - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.items.listItem.GetVersions + summary: Get permissions from drives + operationId: drives.items.listItem.GetPermissions parameters: - name: drive-id in: path @@ -126759,13 +127992,368 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.driveItem + summary: Update the navigation property permissions in drives + operationId: drives.items.listItem.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.driveItem + summary: Delete navigation property permissions for drives + operationId: drives.items.listItem.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.driveItem + summary: Get the number of the resource + operationId: drives.items.listItem.permissions.GetCount-6011 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drives/{drive-id}/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.items.listItem.ListVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.driveItem + summary: Create new navigation property to versions for drives + operationId: drives.items.listItem.CreateVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/drives/{drive-id}/root/listItem/versions' + '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.items.listItem.GetVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion - name: $select in: query description: Select properties to be returned @@ -128636,6 +130224,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -133990,6 +135582,359 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.items.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.list + summary: Create new navigation property to permissions for drives + operationId: drives.list.items.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/drives/{drive-id}/root/listItem/permissions' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.items.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.list + summary: Update the navigation property permissions in drives + operationId: drives.list.items.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.list + summary: Delete navigation property permissions for drives + operationId: drives.list.items.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.list + summary: Get the number of the resource + operationId: drives.list.items.permissions.GetCount-846d + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -135075,6 +137020,304 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.list + summary: Create new navigation property to permissions for drives + operationId: drives.list.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.list + summary: Update the navigation property permissions in drives + operationId: drives.list.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.list + summary: Delete navigation property permissions for drives + operationId: drives.list.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.list.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.list + summary: Get the number of the resource + operationId: drives.list.permissions.GetCount-1e72 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -138719,6 +140962,310 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get permissions from drives + operationId: drives.root.listItem.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.driveItem + summary: Create new navigation property to permissions for drives + operationId: drives.root.listItem.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get permissions from drives + operationId: drives.root.listItem.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.driveItem + summary: Update the navigation property permissions in drives + operationId: drives.root.listItem.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.driveItem + summary: Delete navigation property permissions for drives + operationId: drives.root.listItem.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.driveItem + summary: Get the number of the resource + operationId: drives.root.listItem.permissions.GetCount-a6dd + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -140474,7 +143021,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -176280,6 +178831,413 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.items.listItem.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.items.listItem.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.items.listItem.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.items.listItem.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.items.listItem.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.items.listItem.permissions.GetCount-7486 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -178608,7 +181566,13 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -184906,6 +187870,413 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.items.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.list.items.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.items.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.list.items.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.list.items.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.list.items.permissions.GetCount-d4e2 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -186175,6 +189546,360 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/groups/{group-id}/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.list.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.list.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.list.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.list.permissions.GetCount-66b3 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -190493,6 +194218,364 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.root.listItem.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.root.listItem.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.root.listItem.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.root.listItem.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.root.listItem.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.root.listItem.permissions.GetCount-6242 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -192569,7 +196652,13 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. @@ -222657,14 +226746,13 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.site - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.sites.lists.items.ListVersions + summary: Get permissions from groups + operationId: groups.sites.lists.items.ListPermissions parameters: - name: group-id in: path @@ -222731,7 +226819,7 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -222741,8 +226829,8 @@ paths: post: tags: - groups.site - summary: Create new navigation property to versions for groups - operationId: groups.sites.lists.items.CreateVersions + summary: Create new navigation property to permissions for groups + operationId: groups.sites.lists.items.CreatePermissions parameters: - name: group-id in: path @@ -222777,7 +226865,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -222785,22 +226873,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.site - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.sites.lists.items.GetVersions + summary: Get permissions from groups + operationId: groups.sites.lists.items.GetPermissions parameters: - name: group-id in: path @@ -222830,13 +226917,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -222863,15 +226950,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.site - summary: Update the navigation property versions in groups - operationId: groups.sites.lists.items.UpdateVersions + summary: Update the navigation property permissions in groups + operationId: groups.sites.lists.items.UpdatePermissions parameters: - name: group-id in: path @@ -222901,19 +226988,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -222924,8 +227011,8 @@ paths: delete: tags: - groups.site - summary: Delete navigation property versions for groups - operationId: groups.sites.lists.items.DeleteVersions + summary: Delete navigation property permissions for groups + operationId: groups.sites.lists.items.DeletePermissions parameters: - name: group-id in: path @@ -222955,13 +227042,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -222974,17 +227061,20 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. - get: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - groups.site - summary: Get fields from groups - description: A collection of the fields and values for this version of the list item. - operationId: groups.sites.lists.items.versions.GetFields + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.permissions.permission.grant parameters: - name: group-id in: path @@ -223014,48 +227104,68 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: '200': - description: Retrieved navigation property + description: Success content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.site - summary: Update the navigation property fields in groups - operationId: groups.sites.lists.items.versions.UpdateFields + summary: Get the number of the resource + operationId: groups.sites.lists.items.permissions.GetCount-4a70 parameters: - name: group-id in: path @@ -223085,31 +227195,21 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - required: true + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '204': - description: Success + '200': + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - groups.site - summary: Delete navigation property fields for groups - operationId: groups.sites.lists.items.versions.DeleteFields + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.sites.lists.items.ListVersions parameters: - name: group-id in: path @@ -223139,43 +227239,55 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string responses: - '204': - description: Success + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' default: $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': - description: Provides operations to call the restoreVersion method. post: tags: - groups.site - summary: Invoke action restoreVersion - description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 - operationId: groups.group.sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion + summary: Create new navigation property to versions for groups + operationId: groups.sites.lists.items.CreateVersions parameters: - name: group-id in: path @@ -223205,32 +227317,465 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true responses: - '204': - description: Success + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/groups/{group-id}/drives/{drive-id}/root/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/$count': - description: Provides operations to count the resources in the collection. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: tags: - groups.site - summary: Get the number of the resource - operationId: groups.sites.lists.items.versions.GetCount-1c13 + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.sites.lists.items.GetVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property versions in groups + operationId: groups.sites.lists.items.UpdateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property versions for groups + operationId: groups.sites.lists.items.DeleteVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - groups.site + summary: Get fields from groups + description: A collection of the fields and values for this version of the list item. + operationId: groups.sites.lists.items.versions.GetFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property fields in groups + operationId: groups.sites.lists.items.versions.UpdateFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property fields for groups + operationId: groups.sites.lists.items.versions.DeleteFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': + description: Provides operations to call the restoreVersion method. + post: + tags: + - groups.site + summary: Invoke action restoreVersion + description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/groups/{group-id}/drives/{drive-id}/root/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.site + summary: Get the number of the resource + operationId: groups.sites.lists.items.versions.GetCount-1c13 parameters: - name: group-id in: path @@ -224087,14 +228632,417 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': - description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. get: tags: - groups.site - summary: Get subscriptions from groups - description: The set of subscriptions on the list. - operationId: groups.sites.lists.ListSubscriptions + summary: Get permissions from groups + operationId: groups.sites.lists.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.site + summary: Create new navigation property to permissions for groups + operationId: groups.sites.lists.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/permissions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.site + summary: Get permissions from groups + operationId: groups.sites.lists.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property permissions in groups + operationId: groups.sites.lists.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property permissions for groups + operationId: groups.sites.lists.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.site + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.site + summary: Get the number of the resource + operationId: groups.sites.lists.permissions.GetCount-dd2e + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': + description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + get: + tags: + - groups.site + summary: Get subscriptions from groups + description: The set of subscriptions on the list. + operationId: groups.sites.lists.ListSubscriptions parameters: - name: group-id in: path @@ -240670,8 +245618,14 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -406065,6 +411019,359 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.items.listItem.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.items.listItem.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/me/drives/{drive-id}/root/listItem/permissions' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.items.listItem.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.items.listItem.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.items.listItem.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.items.listItem.permissions.GetCount-e3f0 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -408179,6 +413486,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/me/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -413524,6 +418835,359 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.items.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.list.items.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/me/drives/{drive-id}/root/listItem/permissions' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.items.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.list.items.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.list.items.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.list.items.permissions.GetCount-02b5 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -414657,6 +420321,304 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/me/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.list.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.list.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.list.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.list.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.list.permissions.GetCount-8386 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -418305,6 +424267,310 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/me/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.root.listItem.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.root.listItem.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.root.listItem.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.root.listItem.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.root.listItem.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.root.listItem.permissions.GetCount-eae2 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -420167,7 +426433,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/me/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -552766,6 +559036,355 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.items.ListPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.list + summary: Create new navigation property to permissions for shares + operationId: shares.list.items.CreatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/listItem/permissions' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.items.GetPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property permissions in shares + operationId: shares.list.items.UpdatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property permissions for shares + operationId: shares.list.items.DeletePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.list + summary: Get the number of the resource + operationId: shares.list.items.permissions.GetCount-6dda + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -553811,6 +560430,302 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/shares/{sharedDriveItem-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.ListPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.list + summary: Create new navigation property to permissions for shares + operationId: shares.list.CreatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.GetPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property permissions in shares + operationId: shares.list.UpdatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property permissions for shares + operationId: shares.list.DeletePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.list + summary: Get the number of the resource + operationId: shares.list.permissions.GetCount-ca68 + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/shares/{sharedDriveItem-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -555470,6 +562385,306 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + '/shares/{sharedDriveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.listItem + summary: Get permissions from shares + operationId: shares.listItem.ListPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.listItem + summary: Create new navigation property to permissions for shares + operationId: shares.listItem.CreatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.listItem + summary: Get permissions from shares + operationId: shares.listItem.GetPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.listItem + summary: Update the navigation property permissions in shares + operationId: shares.listItem.UpdatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.listItem + summary: Delete navigation property permissions for shares + operationId: shares.listItem.DeletePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.listItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.listItem.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.listItem + summary: Get the number of the resource + operationId: shares.listItem.permissions.GetCount-9bfb + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/shares/{sharedDriveItem-id}/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -556012,6 +563227,10 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' '/shares/{sharedDriveItem-id}/root': description: Provides operations to manage the root property of the microsoft.graph.sharedDriveItem entity. get: @@ -564593,6 +571812,399 @@ paths: - '/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.items.ListPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to permissions for sites + operationId: sites.lists.items.CreatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.items.GetPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property permissions in sites + operationId: sites.lists.items.UpdatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property permissions for sites + operationId: sites.lists.items.DeletePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.grant + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - sites.list + summary: Get the number of the resource + operationId: sites.lists.items.permissions.GetCount-68c2 + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -565801,6 +573413,350 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/sites/{site-id}/lists/{list-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.ListPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to permissions for sites + operationId: sites.lists.CreatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.GetPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property permissions in sites + operationId: sites.lists.UpdatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property permissions for sites + operationId: sites.lists.DeletePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.permissions.permission.grant + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - sites.list + summary: Get the number of the resource + operationId: sites.lists.permissions.GetCount-81fd + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/sites/{site-id}/lists/{list-id}/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -579820,6 +587776,9 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' '/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -697180,14 +705139,13 @@ paths: - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Get versions from users - description: The list of previous versions of the list item. - operationId: users.drives.items.listItem.ListVersions + summary: Get permissions from users + operationId: users.drives.items.listItem.ListPermissions parameters: - name: user-id in: path @@ -697247,7 +705205,7 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -697257,8 +705215,8 @@ paths: post: tags: - users.drive - summary: Create new navigation property to versions for users - operationId: users.drives.items.listItem.CreateVersions + summary: Create new navigation property to permissions for users + operationId: users.drives.items.listItem.CreatePermissions parameters: - name: user-id in: path @@ -697286,7 +705244,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -697294,21 +705252,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Get versions from users - description: The list of previous versions of the list item. - operationId: users.drives.items.listItem.GetVersions + summary: Get permissions from users + operationId: users.drives.items.listItem.GetPermissions parameters: - name: user-id in: path @@ -697331,13 +705288,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -697364,15 +705321,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.drive - summary: Update the navigation property versions in users - operationId: users.drives.items.listItem.UpdateVersions + summary: Update the navigation property permissions in users + operationId: users.drives.items.listItem.UpdatePermissions parameters: - name: user-id in: path @@ -697395,19 +705352,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -697418,8 +705375,8 @@ paths: delete: tags: - users.drive - summary: Delete navigation property versions for users - operationId: users.drives.items.listItem.DeleteVersions + summary: Delete navigation property permissions for users + operationId: users.drives.items.listItem.DeletePermissions parameters: - name: user-id in: path @@ -697442,13 +705399,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -697461,80 +705418,19 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. - get: - tags: - - users.drive - summary: Get fields from users - description: A collection of the fields and values for this version of the list item. - operationId: users.drives.items.listItem.versions.GetFields - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Update the navigation property fields in users - operationId: users.drives.items.listItem.versions.UpdateFields + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant parameters: - name: user-id in: path @@ -697557,88 +705453,65 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.drive - summary: Delete navigation property fields for users - operationId: users.drives.items.listItem.versions.DeleteFields - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' - - '/users/{user-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': - description: Provides operations to call the restoreVersion method. - post: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - users.drive - summary: Invoke action restoreVersion - description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 - operationId: users.user.drives.drive.items.driveItem.listItem.versions.listItemVersion.restoreVersion + summary: Get the number of the resource + operationId: users.drives.items.listItem.permissions.GetCount-73f7 parameters: - name: user-id in: path @@ -697661,31 +705534,519 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '204': - description: Success + '200': + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/users/{user-id}/drives/{drive-id}/root/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/$count': - description: Provides operations to count the resources in the collection. + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Get the number of the resource - operationId: users.drives.items.listItem.versions.GetCount-ddf2 + summary: Get versions from users + description: The list of previous versions of the list item. + operationId: users.drives.items.listItem.ListVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to versions for users + operationId: users.drives.items.listItem.CreateVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get versions from users + description: The list of previous versions of the list item. + operationId: users.drives.items.listItem.GetVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property versions in users + operationId: users.drives.items.listItem.UpdateVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property versions for users + operationId: users.drives.items.listItem.DeleteVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - users.drive + summary: Get fields from users + description: A collection of the fields and values for this version of the list item. + operationId: users.drives.items.listItem.versions.GetFields + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property fields in users + operationId: users.drives.items.listItem.versions.UpdateFields + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property fields for users + operationId: users.drives.items.listItem.versions.DeleteFields + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' + - '/users/{user-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': + description: Provides operations to call the restoreVersion method. + post: + tags: + - users.drive + summary: Invoke action restoreVersion + description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.versions.listItemVersion.restoreVersion + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/users/{user-id}/drives/{drive-id}/root/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.items.listItem.versions.GetCount-ddf2 parameters: - name: user-id in: path @@ -699550,6 +707911,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -705728,6 +714093,408 @@ paths: - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.items.ListPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to permissions for users + operationId: users.drives.list.items.CreatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.items.GetPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.list.items.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.list.items.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.list.items.permissions.GetCount-8844 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -707026,6 +715793,353 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/users/{user-id}/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.ListPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to permissions for users + operationId: users.drives.list.CreatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.GetPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.list.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.list.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.list.permissions.GetCount-f27b + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/users/{user-id}/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -710979,19 +720093,487 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.serviceProvisioningErrorCollectionResponse' + $ref: '#/components/responses/microsoft.graph.serviceProvisioningErrorCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + '/users/{user-id}/drives/{drive-id}/root/listItem/lastModifiedByUser/serviceProvisioningErrors/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.root.listItem.lastModifiedByUser.ServiceProvisioningErrors.GetCount-2c1d + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.createLink': + description: Provides operations to call the createLink method. + post: + tags: + - users.drive + summary: Invoke action createLink + operationId: users.user.drives.drive.root.listItem.createLink + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + type: + type: string + nullable: true + scope: + type: string + nullable: true + expirationDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + password: + type: string + nullable: true + message: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + retainInheritedPermissions: + type: boolean + default: false + nullable: true + sendNotification: + type: boolean + default: false + nullable: true + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.createLink' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.createLink' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.createLink' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.createLink' + '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()': + description: Provides operations to call the getActivitiesByInterval method. + get: + tags: + - users.drive + summary: Invoke function getActivitiesByInterval + operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-96b0 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of itemActivityStat + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')': + description: Provides operations to call the getActivitiesByInterval method. + get: + tags: + - users.drive + summary: Invoke function getActivitiesByInterval + operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-9468 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: startDateTime + in: path + description: 'Usage: startDateTime=''{startDateTime}''' + required: true + schema: + type: string + nullable: true + - name: endDateTime + in: path + description: 'Usage: endDateTime=''{endDateTime}''' + required: true + schema: + type: string + nullable: true + - name: interval + in: path + description: 'Usage: interval=''{interval}''' + required: true + schema: + type: string + nullable: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of itemActivityStat + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.root.listItem.ListPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to permissions for users + operationId: users.drives.root.listItem.CreatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.root.listItem.GetPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - '/users/{user-id}/drives/{drive-id}/root/listItem/lastModifiedByUser/serviceProvisioningErrors/$count': - description: Provides operations to count the resources in the collection. - get: + x-ms-docs-operation-type: operation + patch: tags: - users.drive - summary: Get the number of the resource - operationId: users.drives.root.listItem.lastModifiedByUser.ServiceProvisioningErrors.GetCount-2c1d + summary: Update the navigation property permissions in users + operationId: users.drives.root.listItem.UpdatePermissions parameters: - name: user-id in: path @@ -711007,20 +720589,31 @@ paths: schema: type: string x-ms-docs-key-type: drive - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true responses: - '200': - $ref: '#/components/responses/ODataCountResponse' + '204': + description: Success default: $ref: '#/components/responses/error' - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.createLink': - description: Provides operations to call the createLink method. - post: + x-ms-docs-operation-type: operation + delete: tags: - users.drive - summary: Invoke action createLink - operationId: users.user.drives.drive.root.listItem.createLink + summary: Delete navigation property permissions for users + operationId: users.drives.root.listItem.DeletePermissions parameters: - name: user-id in: path @@ -711036,68 +720629,38 @@ paths: schema: type: string x-ms-docs-key-type: drive - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - type: - type: string - nullable: true - scope: - type: string - nullable: true - expirationDateTime: - pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' - type: string - format: date-time - nullable: true - password: - type: string - nullable: true - message: - type: string - nullable: true - recipients: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.driveRecipient' - retainInheritedPermissions: - type: boolean - default: false - nullable: true - sendNotification: - type: boolean - default: false - nullable: true - required: true + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string responses: - '200': + '204': description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/microsoft.graph.permission' - - type: object - nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.createLink' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.createLink' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.createLink' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.createLink' - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()': - description: Provides operations to call the getActivitiesByInterval method. - get: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Invoke function getActivitiesByInterval - operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-96b0 + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.listItem.permissions.permission.grant parameters: - name: user-id in: path @@ -711113,48 +720676,37 @@ paths: schema: type: string x-ms-docs-key-type: drive - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + - name: permission-id + in: path + description: The unique identifier of permission + required: true schema: - uniqueItems: true - type: array - items: - type: string + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: '200': description: Success content: application/json: schema: - title: Collection of itemActivityStat + title: Collection of permission type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' @@ -711163,30 +720715,26 @@ paths: value: type: array items: - $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')': - description: Provides operations to call the getActivitiesByInterval method. + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - users.drive - summary: Invoke function getActivitiesByInterval - operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-9468 + summary: Get the number of the resource + operationId: users.drives.root.listItem.permissions.GetCount-ad29 parameters: - name: user-id in: path @@ -711202,94 +720750,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: startDateTime - in: path - description: 'Usage: startDateTime=''{startDateTime}''' - required: true - schema: - type: string - nullable: true - - name: endDateTime - in: path - description: 'Usage: endDateTime=''{endDateTime}''' - required: true - schema: - type: string - nullable: true - - name: interval - in: path - description: 'Usage: interval=''{interval}''' - required: true - schema: - type: string - nullable: true - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string responses: '200': - description: Success - content: - application/json: - schema: - title: Collection of itemActivityStat - type: object - allOf: - - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' '/users/{user-id}/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -713408,7 +722875,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/users/{user-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -780078,6 +789549,33 @@ components: - $ref: '#/components/schemas/microsoft.graph.entity' - title: cloudPcReport type: object + microsoft.graph.cloudPcServicePlan: + allOf: + - $ref: '#/components/schemas/microsoft.graph.entity' + - title: cloudPcServicePlan + type: object + properties: + displayName: + type: string + description: The name for the service plan. Read-only. + ramInGB: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The size of the RAM in GB. Read-only. + format: int32 + storageInGB: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The size of the operating system disk in GB. Read-only. + format: int32 + vCpuCount: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The number of vCPUs. Read-only. + format: int32 microsoft.graph.cloudPcUserSetting: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -782291,6 +791789,11 @@ components: - type: object nullable: true description: 'The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable.' + servicePlans: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfo' + description: The service plans associated with the desk. microsoft.graph.detectedApp: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -790724,6 +800227,11 @@ components: $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' description: The collection of long-running operations on the list. x-ms-navigationProperty: true + permissions: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + x-ms-navigationProperty: true subscriptions: type: array items: @@ -790781,6 +800289,11 @@ components: nullable: true description: The values of the columns set on this list item. x-ms-navigationProperty: true + permissions: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + x-ms-navigationProperty: true versions: type: array items: @@ -795673,6 +805186,10 @@ components: type: string description: The phone number of the place. nullable: true + placeId: + type: string + description: A stable service-level identifier for the place object used by Places workloads. + nullable: true tags: type: array items: @@ -798983,10 +808500,6 @@ components: nickname: type: string description: 'Specifies a nickname for the room, for example, ''conf room''.' - placeId: - type: string - description: An alternative immutable unique identifier of the room. Read-only. - nullable: true teamsEnabledState: $ref: '#/components/schemas/microsoft.graph.placeFeatureEnablement' videoDeviceName: @@ -807214,6 +816727,12 @@ components: nullable: true description: Cloud PC-related reports. Read-only. x-ms-navigationProperty: true + servicePlans: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + description: A collection of Cloud PC service plans. + x-ms-navigationProperty: true userSettings: type: array items: @@ -811672,10 +821191,6 @@ components: nickname: type: string description: 'A short, friendly name for the workspace, often used for easier identification or display in the UI.' - placeId: - type: string - description: An alternative immutable unique identifier of the workspace. Read-only. - nullable: true microsoft.graph.x509CertificateAuthenticationMethodConfiguration: allOf: - $ref: '#/components/schemas/microsoft.graph.authenticationMethodConfiguration' @@ -824759,6 +834274,14 @@ components: microsoft.graph.placeMode: title: placeMode type: object + microsoft.graph.placeServicePlanInfo: + title: placeServicePlanInfo + type: object + properties: + servicePlanId: + type: string + description: The service plan identifier. + nullable: true microsoft.graph.plannerAppliedCategories: title: plannerAppliedCategories type: object @@ -865320,6 +874843,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicy' + microsoft.graph.cloudPcServicePlanCollectionResponse: + title: Collection of cloudPcServicePlan + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' microsoft.graph.cloudPcUserSettingCollectionResponse: title: Collection of cloudPcUserSetting type: object @@ -870050,6 +879584,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' + microsoft.graph.placeServicePlanInfoCollectionResponse: + title: Collection of microsoft.graph.placeServicePlanInfo + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfo' microsoft.graph.alternativeSecurityIdCollectionResponse: title: Collection of microsoft.graph.alternativeSecurityId type: object @@ -876197,6 +885742,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicyCollectionResponse' + microsoft.graph.cloudPcServicePlanCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlanCollectionResponse' microsoft.graph.cloudPcUserSettingCollectionResponse: description: Retrieved collection content: @@ -878777,6 +888328,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.keyValuePairCollectionResponse' + microsoft.graph.placeServicePlanInfoCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfoCollectionResponse' microsoft.graph.alternativeSecurityIdCollectionResponse: description: Retrieved collection content: @@ -882593,6 +892150,12 @@ components: '@odata.type': microsoft.graph.cloudPcManagementAssignmentTarget microsoft.graph.cloudPcReport: value: { } + microsoft.graph.cloudPcServicePlan: + value: + displayName: String + ramInGB: '0' + storageInGB: '0' + vCpuCount: '0' microsoft.graph.cloudPcUserSetting: value: assignments: @@ -883303,6 +892866,8 @@ components: '@odata.type': microsoft.graph.mailboxDetails mode: '@odata.type': microsoft.graph.placeMode + servicePlans: + - '@odata.type': microsoft.graph.placeServicePlanInfo microsoft.graph.detectedApp: value: deviceCount: '0' @@ -885861,6 +895426,8 @@ components: '@odata.type': microsoft.graph.listInfo operations: - '@odata.type': microsoft.graph.richLongRunningOperation + permissions: + - '@odata.type': microsoft.graph.permission sharepointIds: '@odata.type': microsoft.graph.sharepointIds subscriptions: @@ -885881,6 +895448,8 @@ components: '@odata.type': microsoft.graph.driveItem fields: '@odata.type': microsoft.graph.fieldValueSet + permissions: + - '@odata.type': microsoft.graph.permission sharepointIds: '@odata.type': microsoft.graph.sharepointIds versions: @@ -887341,6 +896910,7 @@ components: label: String parentId: String phone: String + placeId: String tags: - String microsoft.graph.planner: @@ -888326,7 +897896,6 @@ components: floorLabel: String floorNumber: '0' nickname: String - placeId: String teamsEnabledState: '@odata.type': microsoft.graph.placeFeatureEnablement videoDeviceName: String @@ -890685,6 +900254,8 @@ components: - '@odata.type': microsoft.graph.cloudPcProvisioningPolicy report: '@odata.type': microsoft.graph.cloudPcReport + servicePlans: + - '@odata.type': microsoft.graph.cloudPcServicePlan userSettings: - '@odata.type': microsoft.graph.cloudPcUserSetting microsoft.graph.virtualEvent: @@ -892046,7 +901617,6 @@ components: mode: '@odata.type': microsoft.graph.placeMode nickname: String - placeId: String microsoft.graph.x509CertificateAuthenticationMethodConfiguration: value: authenticationModeConfiguration: @@ -896361,6 +905931,9 @@ components: thumbprint: String microsoft.graph.placeMode: value: { } + microsoft.graph.placeServicePlanInfo: + value: + servicePlanId: String microsoft.graph.plannerAppliedCategories: value: { } microsoft.graph.plannerAssignment: diff --git a/openapi/v1.0/graphexplorer.yaml b/openapi/v1.0/graphexplorer.yaml index a042e52a..20c03a31 100644 --- a/openapi/v1.0/graphexplorer.yaml +++ b/openapi/v1.0/graphexplorer.yaml @@ -102801,6 +102801,7 @@ paths: - onPremisesConnections - provisioningPolicies - report + - servicePlans - userSettings type: string - name: $expand @@ -102821,6 +102822,7 @@ paths: - onPremisesConnections - provisioningPolicies - report + - servicePlans - userSettings type: string responses: @@ -106483,6 +106485,150 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /deviceManagement/virtualEndpoint/servicePlans: + description: Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. + get: + tags: + - deviceManagement.virtualEndpoint + summary: List servicePlans + description: 'List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, the Microsoft Graph API is available for Windows 365 Enterprise.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/virtualendpoint-list-serviceplans?view=graph-rest-1.0 + operationId: deviceManagement.virtualEndpoint.ListServicePlans + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - displayName + - displayName desc + - ramInGB + - ramInGB desc + - storageInGB + - storageInGB desc + - vCpuCount + - vCpuCount desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - displayName + - ramInGB + - storageInGB + - vCpuCount + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.cloudPcServicePlanCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/deviceManagement/virtualEndpoint/servicePlans/{cloudPcServicePlan-id}': + description: Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. + get: + tags: + - deviceManagement.virtualEndpoint + summary: Get servicePlans from deviceManagement + description: A collection of Cloud PC service plans. + operationId: deviceManagement.virtualEndpoint.GetServicePlans + parameters: + - name: cloudPcServicePlan-id + in: path + description: The unique identifier of cloudPcServicePlan + required: true + schema: + type: string + x-ms-docs-key-type: cloudPcServicePlan + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - displayName + - ramInGB + - storageInGB + - vCpuCount + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /deviceManagement/virtualEndpoint/servicePlans/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - deviceManagement.virtualEndpoint + summary: Get the number of the resource + operationId: deviceManagement.virtualEndpoint.servicePlans.GetCount-3a18 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /deviceManagement/virtualEndpoint/userSettings: description: Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. get: @@ -128717,6 +128863,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -128736,6 +128883,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -130767,14 +130915,13 @@ paths: - '/drive/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drive/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drive/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.driveItem - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.items.listItem.ListVersions + summary: Get permissions from drive + operationId: drive.items.listItem.ListPermissions parameters: - name: driveItem-id in: path @@ -130800,12 +130947,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -130818,10 +130981,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -130834,11 +131004,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -130848,8 +131017,8 @@ paths: post: tags: - drive.driveItem - summary: Create new navigation property to versions for drive - operationId: drive.items.listItem.CreateVersions + summary: Create new navigation property to permissions for drive + operationId: drive.items.listItem.CreatePermissions parameters: - name: driveItem-id in: path @@ -130863,7 +131032,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -130871,21 +131040,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/list/items/{listItem-id}/versions' - - /drive/root/listItem/versions - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drive/list/items/{listItem-id}/permissions' + - /drive/root/listItem/permissions + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.driveItem - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.items.listItem.GetVersions + summary: Get permissions from drive + operationId: drive.items.listItem.GetPermissions parameters: - name: driveItem-id in: path @@ -130894,13 +131062,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -130912,10 +131080,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -130928,7 +131103,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -130936,15 +131110,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drive.driveItem - summary: Update the navigation property versions in drive - operationId: drive.items.listItem.UpdateVersions + summary: Update the navigation property permissions in drive + operationId: drive.items.listItem.UpdatePermissions parameters: - name: driveItem-id in: path @@ -130953,19 +131127,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -130976,8 +131150,8 @@ paths: delete: tags: - drive.driveItem - summary: Delete navigation property versions for drive - operationId: drive.items.listItem.DeleteVersions + summary: Delete navigation property permissions for drive + operationId: drive.items.listItem.DeletePermissions parameters: - name: driveItem-id in: path @@ -130986,13 +131160,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -131005,16 +131179,220 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/drive/root/listItem/versions/{listItemVersion-id}' - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/drive/list/items/{listItem-id}/permissions/{permission-id}' + - '/drive/root/listItem/permissions/{permission-id}' + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drive.driveItem - summary: Get fields from drive - description: A collection of the fields and values for this version of the list item. - operationId: drive.items.listItem.versions.GetFields + summary: Get the number of the resource + operationId: drive.items.listItem.permissions.GetCount-58b1 + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drive/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.items.listItem.ListVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.driveItem + summary: Create new navigation property to versions for drive + operationId: drive.items.listItem.CreateVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/list/items/{listItem-id}/versions' + - /drive/root/listItem/versions + '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.items.listItem.GetVersions parameters: - name: driveItem-id in: path @@ -131041,6 +131419,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -131053,6 +131435,7 @@ paths: items: enum: - '*' + - fields type: string responses: '200': @@ -131060,15 +131443,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drive.driveItem - summary: Update the navigation property fields in drive - operationId: drive.items.listItem.versions.UpdateFields + summary: Update the navigation property versions in drive + operationId: drive.items.listItem.UpdateVersions parameters: - name: driveItem-id in: path @@ -131089,7 +131472,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' required: true responses: '204': @@ -131100,8 +131483,132 @@ paths: delete: tags: - drive.driveItem - summary: Delete navigation property fields for drive - operationId: drive.items.listItem.versions.DeleteFields + summary: Delete navigation property versions for drive + operationId: drive.items.listItem.DeleteVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/drive/root/listItem/versions/{listItemVersion-id}' + '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drive.driveItem + summary: Get fields from drive + description: A collection of the fields and values for this version of the list item. + operationId: drive.items.listItem.versions.GetFields + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.driveItem + summary: Update the navigation property fields in drive + operationId: drive.items.listItem.versions.UpdateFields + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.driveItem + summary: Delete navigation property fields for drive + operationId: drive.items.listItem.versions.DeleteFields parameters: - name: driveItem-id in: path @@ -133064,6 +133571,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' '/drive/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -134628,6 +135139,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -134648,6 +135160,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -137548,6 +138061,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -137567,6 +138081,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -137645,6 +138160,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -137664,6 +138180,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -139693,14 +140210,13 @@ paths: - '/drive/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drive/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drive/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.list - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.list.items.ListVersions + summary: Get permissions from drive + operationId: drive.list.items.ListPermissions parameters: - name: listItem-id in: path @@ -139726,12 +140242,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -139744,10 +140276,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -139760,11 +140299,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -139774,8 +140312,8 @@ paths: post: tags: - drive.list - summary: Create new navigation property to versions for drive - operationId: drive.list.items.CreateVersions + summary: Create new navigation property to permissions for drive + operationId: drive.list.items.CreatePermissions parameters: - name: listItem-id in: path @@ -139789,7 +140327,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -139797,21 +140335,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/items/{driveItem-id}/listItem/versions' - - /drive/root/listItem/versions - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drive/items/{driveItem-id}/listItem/permissions' + - /drive/root/listItem/permissions + '/drive/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.list - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.list.items.GetVersions + summary: Get permissions from drive + operationId: drive.list.items.GetPermissions parameters: - name: listItem-id in: path @@ -139820,13 +140357,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -139838,10 +140375,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -139854,7 +140398,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -139862,15 +140405,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drive.list - summary: Update the navigation property versions in drive - operationId: drive.list.items.UpdateVersions + summary: Update the navigation property permissions in drive + operationId: drive.list.items.UpdatePermissions parameters: - name: listItem-id in: path @@ -139879,19 +140422,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -139902,8 +140445,8 @@ paths: delete: tags: - drive.list - summary: Delete navigation property versions for drive - operationId: drive.list.items.DeleteVersions + summary: Delete navigation property permissions for drive + operationId: drive.list.items.DeletePermissions parameters: - name: listItem-id in: path @@ -139912,13 +140455,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -139931,16 +140474,220 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/drive/root/listItem/versions/{listItemVersion-id}' - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drive/root/listItem/permissions/{permission-id}' + '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.list.items.listItem.permissions.permission.grant + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drive.list - summary: Get fields from drive - description: A collection of the fields and values for this version of the list item. - operationId: drive.list.items.versions.GetFields + summary: Get the number of the resource + operationId: drive.list.items.permissions.GetCount-775c + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drive/list/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.list + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.list.items.ListVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.list + summary: Create new navigation property to versions for drive + operationId: drive.list.items.CreateVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/versions' + - /drive/root/listItem/versions + '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.list + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.list.items.GetVersions parameters: - name: listItem-id in: path @@ -139967,6 +140714,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -139979,6 +140730,7 @@ paths: items: enum: - '*' + - fields type: string responses: '200': @@ -139986,15 +140738,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drive.list - summary: Update the navigation property fields in drive - operationId: drive.list.items.versions.UpdateFields + summary: Update the navigation property versions in drive + operationId: drive.list.items.UpdateVersions parameters: - name: listItem-id in: path @@ -140015,7 +140767,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' required: true responses: '204': @@ -140026,8 +140778,132 @@ paths: delete: tags: - drive.list - summary: Delete navigation property fields for drive - operationId: drive.list.items.versions.DeleteFields + summary: Delete navigation property versions for drive + operationId: drive.list.items.DeleteVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/drive/root/listItem/versions/{listItemVersion-id}' + '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drive.list + summary: Get fields from drive + description: A collection of the fields and values for this version of the list item. + operationId: drive.list.items.versions.GetFields + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.list + summary: Update the navigation property fields in drive + operationId: drive.list.items.versions.UpdateFields + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.list + summary: Delete navigation property fields for drive + operationId: drive.list.items.versions.DeleteFields parameters: - name: listItem-id in: path @@ -140165,6 +141041,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -140221,6 +141098,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -140300,6 +141178,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -140356,6 +141235,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -141004,6 +141884,309 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + /drive/list/permissions: + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drive.list + summary: Get permissions from drive + operationId: drive.list.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.list + summary: Create new navigation property to permissions for drive + operationId: drive.list.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drive/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drive.list + summary: Get permissions from drive + operationId: drive.list.GetPermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.list + summary: Update the navigation property permissions in drive + operationId: drive.list.UpdatePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.list + summary: Delete navigation property permissions for drive + operationId: drive.list.DeletePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drive/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.list.permissions.permission.grant + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + /drive/list/permissions/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - drive.list + summary: Get the number of the resource + operationId: drive.list.permissions.GetCount-ce39 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /drive/list/subscriptions: description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -144181,6 +145364,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -144200,6 +145384,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -145993,6 +147178,315 @@ paths: - /drive/root/listItem/microsoft.graph.getActivitiesByInterval() - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + /drive/root/listItem/permissions: + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get permissions from drive + operationId: drive.root.listItem.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.driveItem + summary: Create new navigation property to permissions for drive + operationId: drive.root.listItem.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions' + - '/drive/list/items/{listItem-id}/permissions' + '/drive/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get permissions from drive + operationId: drive.root.listItem.GetPermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.driveItem + summary: Update the navigation property permissions in drive + operationId: drive.root.listItem.UpdatePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.driveItem + summary: Delete navigation property permissions for drive + operationId: drive.root.listItem.DeletePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}' + '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.root.listItem.permissions.permission.grant + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + /drive/root/listItem/permissions/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - drive.driveItem + summary: Get the number of the resource + operationId: drive.root.listItem.permissions.GetCount-61a6 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /drive/root/listItem/versions: description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -148021,7 +149515,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' /drive/root/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -154090,6 +155588,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -154109,6 +155608,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -156371,14 +157871,13 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.driveItem - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.items.listItem.ListVersions + summary: Get permissions from drives + operationId: drives.items.listItem.ListPermissions parameters: - name: drive-id in: path @@ -156411,12 +157910,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -156429,10 +157944,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -156445,11 +157967,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -156459,8 +157980,8 @@ paths: post: tags: - drives.driveItem - summary: Create new navigation property to versions for drives - operationId: drives.items.listItem.CreateVersions + summary: Create new navigation property to permissions for drives + operationId: drives.items.listItem.CreatePermissions parameters: - name: drive-id in: path @@ -156481,7 +158002,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -156489,21 +158010,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/drives/{drive-id}/root/listItem/versions' - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/drives/{drive-id}/root/listItem/permissions' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.driveItem - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.items.listItem.GetVersions + summary: Get permissions from drives + operationId: drives.items.listItem.GetPermissions parameters: - name: drive-id in: path @@ -156519,13 +158039,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -156537,10 +158057,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -156553,7 +158080,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -156561,15 +158087,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drives.driveItem - summary: Update the navigation property versions in drives - operationId: drives.items.listItem.UpdateVersions + summary: Update the navigation property permissions in drives + operationId: drives.items.listItem.UpdatePermissions parameters: - name: drive-id in: path @@ -156585,19 +158111,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -156608,8 +158134,8 @@ paths: delete: tags: - drives.driveItem - summary: Delete navigation property versions for drives - operationId: drives.items.listItem.DeleteVersions + summary: Delete navigation property permissions for drives + operationId: drives.items.listItem.DeletePermissions parameters: - name: drive-id in: path @@ -156625,13 +158151,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -156644,16 +158170,93 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drives.driveItem - summary: Get fields from drives - description: A collection of the fields and values for this version of the list item. - operationId: drives.items.listItem.versions.GetFields + summary: Get the number of the resource + operationId: drives.items.listItem.permissions.GetCount-6011 parameters: - name: drive-id in: path @@ -156669,13 +158272,60 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drives/{drive-id}/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.items.listItem.ListVersions + parameters: + - name: drive-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of drive required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string - name: $select in: query description: Select properties to be returned @@ -156687,6 +158337,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -156699,22 +158353,22 @@ paths: items: enum: - '*' + - fields type: string responses: '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' default: $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-operation-type: operation - patch: + post: tags: - drives.driveItem - summary: Update the navigation property fields in drives - operationId: drives.items.listItem.versions.UpdateFields + summary: Create new navigation property to versions for drives + operationId: drives.items.listItem.CreateVersions parameters: - name: drive-id in: path @@ -156730,31 +158384,285 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion requestBody: - description: New navigation property values + description: New navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' required: true responses: - '204': - description: Success + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - delete: + x-ms-docs-grouped-path: + - '/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/drives/{drive-id}/root/listItem/versions' + '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - drives.driveItem - summary: Delete navigation property fields for drives - operationId: drives.items.listItem.versions.DeleteFields + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.items.listItem.GetVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.driveItem + summary: Update the navigation property versions in drives + operationId: drives.items.listItem.UpdateVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.driveItem + summary: Delete navigation property versions for drives + operationId: drives.items.listItem.DeleteVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drives.driveItem + summary: Get fields from drives + description: A collection of the fields and values for this version of the list item. + operationId: drives.items.listItem.versions.GetFields + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.driveItem + summary: Update the navigation property fields in drives + operationId: drives.items.listItem.versions.UpdateFields + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.driveItem + summary: Delete navigation property fields for drives + operationId: drives.items.listItem.versions.DeleteFields parameters: - name: drive-id in: path @@ -158920,6 +160828,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -160734,6 +162646,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -160754,6 +162667,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -164010,6 +165924,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -164029,6 +165944,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -164122,6 +166038,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -164141,6 +166058,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -166401,6 +168319,414 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.items.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.list + summary: Create new navigation property to permissions for drives + operationId: drives.list.items.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/drives/{drive-id}/root/listItem/permissions' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.items.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.list + summary: Update the navigation property permissions in drives + operationId: drives.list.items.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.list + summary: Delete navigation property permissions for drives + operationId: drives.list.items.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.list + summary: Get the number of the resource + operationId: drives.list.items.permissions.GetCount-846d + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -166972,6 +169298,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -167028,6 +169355,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -167114,6 +169442,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -167170,6 +169499,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -167897,6 +170227,359 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.list + summary: Create new navigation property to permissions for drives + operationId: drives.list.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.list + summary: Update the navigation property permissions in drives + operationId: drives.list.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.list + summary: Delete navigation property permissions for drives + operationId: drives.list.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.list.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.list + summary: Get the number of the resource + operationId: drives.list.permissions.GetCount-1e72 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -171467,6 +174150,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -171486,6 +174170,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -173517,14 +176202,13 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/root/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.driveItem - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.root.listItem.ListVersions + summary: Get permissions from drives + operationId: drives.root.listItem.ListPermissions parameters: - name: drive-id in: path @@ -173550,12 +176234,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -173568,10 +176268,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -173584,11 +176291,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -173598,8 +176304,8 @@ paths: post: tags: - drives.driveItem - summary: Create new navigation property to versions for drives - operationId: drives.root.listItem.CreateVersions + summary: Create new navigation property to permissions for drives + operationId: drives.root.listItem.CreatePermissions parameters: - name: drive-id in: path @@ -173613,7 +176319,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -173621,21 +176327,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/drives/{drive-id}/list/items/{listItem-id}/versions' - '/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.driveItem - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.root.listItem.GetVersions + summary: Get permissions from drives + operationId: drives.root.listItem.GetPermissions parameters: - name: drive-id in: path @@ -173644,13 +176349,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -173662,10 +176367,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -173678,7 +176390,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -173686,15 +176397,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drives.driveItem - summary: Update the navigation property versions in drives - operationId: drives.root.listItem.UpdateVersions + summary: Update the navigation property permissions in drives + operationId: drives.root.listItem.UpdatePermissions parameters: - name: drive-id in: path @@ -173703,19 +176414,19 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -173726,8 +176437,8 @@ paths: delete: tags: - drives.driveItem - summary: Delete navigation property versions for drives - operationId: drives.root.listItem.DeleteVersions + summary: Delete navigation property permissions for drives + operationId: drives.root.listItem.DeletePermissions parameters: - name: drive-id in: path @@ -173736,13 +176447,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -173755,16 +176466,220 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - '/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drives.driveItem - summary: Get fields from drives - description: A collection of the fields and values for this version of the list item. - operationId: drives.root.listItem.versions.GetFields + summary: Get the number of the resource + operationId: drives.root.listItem.permissions.GetCount-a6dd + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drives/{drive-id}/root/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.root.listItem.ListVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.driveItem + summary: Create new navigation property to versions for drives + operationId: drives.root.listItem.CreateVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/drives/{drive-id}/list/items/{listItem-id}/versions' + '/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.root.listItem.GetVersions parameters: - name: drive-id in: path @@ -173791,6 +176706,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -173803,6 +176722,7 @@ paths: items: enum: - '*' + - fields type: string responses: '200': @@ -173810,15 +176730,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drives.driveItem - summary: Update the navigation property fields in drives - operationId: drives.root.listItem.versions.UpdateFields + summary: Update the navigation property versions in drives + operationId: drives.root.listItem.UpdateVersions parameters: - name: drive-id in: path @@ -173839,7 +176759,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' required: true responses: '204': @@ -173850,8 +176770,132 @@ paths: delete: tags: - drives.driveItem - summary: Delete navigation property fields for drives - operationId: drives.root.listItem.versions.DeleteFields + summary: Delete navigation property versions for drives + operationId: drives.root.listItem.DeleteVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + '/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drives.driveItem + summary: Get fields from drives + description: A collection of the fields and values for this version of the list item. + operationId: drives.root.listItem.versions.GetFields + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.driveItem + summary: Update the navigation property fields in drives + operationId: drives.root.listItem.versions.UpdateFields + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.driveItem + summary: Delete navigation property fields for drives + operationId: drives.root.listItem.versions.DeleteFields parameters: - name: drive-id in: path @@ -175814,7 +178858,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -220159,6 +223207,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -220178,6 +223227,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -222705,14 +225755,13 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.items.listItem.ListVersions + summary: Get permissions from groups + operationId: groups.drives.items.listItem.ListPermissions parameters: - name: group-id in: path @@ -222752,12 +225801,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -222770,10 +225835,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -222786,11 +225858,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -222800,8 +225871,8 @@ paths: post: tags: - groups.drive - summary: Create new navigation property to versions for groups - operationId: groups.drives.items.listItem.CreateVersions + summary: Create new navigation property to permissions for groups + operationId: groups.drives.items.listItem.CreatePermissions parameters: - name: group-id in: path @@ -222829,7 +225900,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -222837,22 +225908,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.items.listItem.GetVersions + summary: Get permissions from groups + operationId: groups.drives.items.listItem.GetPermissions parameters: - name: group-id in: path @@ -222875,13 +225945,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -222893,10 +225963,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -222909,7 +225986,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -222917,15 +225993,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.drive - summary: Update the navigation property versions in groups - operationId: groups.drives.items.listItem.UpdateVersions + summary: Update the navigation property permissions in groups + operationId: groups.drives.items.listItem.UpdatePermissions parameters: - name: group-id in: path @@ -222948,19 +226024,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -222971,8 +226047,8 @@ paths: delete: tags: - groups.drive - summary: Delete navigation property versions for groups - operationId: groups.drives.items.listItem.DeleteVersions + summary: Delete navigation property permissions for groups + operationId: groups.drives.items.listItem.DeletePermissions parameters: - name: group-id in: path @@ -222995,13 +226071,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -223014,17 +226090,20 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. - get: + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - groups.drive - summary: Get fields from groups - description: A collection of the fields and values for this version of the list item. - operationId: groups.drives.items.listItem.versions.GetFields + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.listItem.permissions.permission.grant parameters: - name: group-id in: path @@ -223047,52 +226126,485 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: '200': - description: Retrieved navigation property + description: Success content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.drive - summary: Update the navigation property fields in groups - operationId: groups.drives.items.listItem.versions.UpdateFields + summary: Get the number of the resource + operationId: groups.drives.items.listItem.permissions.GetCount-7486 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.items.listItem.ListVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to versions for groups + operationId: groups.drives.items.listItem.CreateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.items.listItem.GetVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property versions in groups + operationId: groups.drives.items.listItem.UpdateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property versions for groups + operationId: groups.drives.items.listItem.DeleteVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - groups.drive + summary: Get fields from groups + description: A collection of the fields and values for this version of the list item. + operationId: groups.drives.items.listItem.versions.GetFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property fields in groups + operationId: groups.drives.items.listItem.versions.UpdateFields parameters: - name: group-id in: path @@ -225575,7 +229087,13 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -227625,6 +231143,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -227645,6 +231164,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -231326,6 +234846,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -231345,6 +234866,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -231454,6 +234976,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -231473,6 +234996,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -234000,14 +237524,13 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.list.items.ListVersions + summary: Get permissions from groups + operationId: groups.drives.list.items.ListPermissions parameters: - name: group-id in: path @@ -234047,12 +237570,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -234065,10 +237604,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -234081,11 +237627,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -234095,8 +237640,8 @@ paths: post: tags: - groups.drive - summary: Create new navigation property to versions for groups - operationId: groups.drives.list.items.CreateVersions + summary: Create new navigation property to permissions for groups + operationId: groups.drives.list.items.CreatePermissions parameters: - name: group-id in: path @@ -234124,7 +237669,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -234132,22 +237677,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.list.items.GetVersions + summary: Get permissions from groups + operationId: groups.drives.list.items.GetPermissions parameters: - name: group-id in: path @@ -234170,13 +237714,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -234188,10 +237732,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -234204,7 +237755,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -234212,15 +237762,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.drive - summary: Update the navigation property versions in groups - operationId: groups.drives.list.items.UpdateVersions + summary: Update the navigation property permissions in groups + operationId: groups.drives.list.items.UpdatePermissions parameters: - name: group-id in: path @@ -234243,19 +237793,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -234266,8 +237816,8 @@ paths: delete: tags: - groups.drive - summary: Delete navigation property versions for groups - operationId: groups.drives.list.items.DeleteVersions + summary: Delete navigation property permissions for groups + operationId: groups.drives.list.items.DeletePermissions parameters: - name: group-id in: path @@ -234290,13 +237840,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -234309,17 +237859,104 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - groups.drive - summary: Get fields from groups - description: A collection of the fields and values for this version of the list item. - operationId: groups.drives.list.items.versions.GetFields + summary: Get the number of the resource + operationId: groups.drives.list.items.permissions.GetCount-d4e2 parameters: - name: group-id in: path @@ -234342,13 +237979,67 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.list.items.ListVersions + parameters: + - name: group-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of group required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string - name: $select in: query description: Select properties to be returned @@ -234360,6 +238051,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -234372,22 +238067,313 @@ paths: items: enum: - '*' + - fields type: string responses: '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' default: $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-operation-type: operation - patch: + post: tags: - groups.drive - summary: Update the navigation property fields in groups - operationId: groups.drives.list.items.versions.UpdateFields + summary: Create new navigation property to versions for groups + operationId: groups.drives.list.items.CreateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.list.items.GetVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property versions in groups + operationId: groups.drives.list.items.UpdateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property versions for groups + operationId: groups.drives.list.items.DeleteVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - groups.drive + summary: Get fields from groups + description: A collection of the fields and values for this version of the list item. + operationId: groups.drives.list.items.versions.GetFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property fields in groups + operationId: groups.drives.list.items.versions.UpdateFields parameters: - name: group-id in: path @@ -234631,6 +238617,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -234687,6 +238674,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -234795,6 +238783,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -234851,6 +238840,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -235680,6 +239670,415 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/groups/{group-id}/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.list.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.list.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.list.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.list.permissions.GetCount-66b3 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -239659,6 +244058,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -239678,6 +244078,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -241974,14 +246375,13 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.root.listItem.ListVersions + summary: Get permissions from groups + operationId: groups.drives.root.listItem.ListPermissions parameters: - name: group-id in: path @@ -242014,12 +246414,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -242032,10 +246448,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -242048,11 +246471,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -242062,8 +246484,8 @@ paths: post: tags: - groups.drive - summary: Create new navigation property to versions for groups - operationId: groups.drives.root.listItem.CreateVersions + summary: Create new navigation property to permissions for groups + operationId: groups.drives.root.listItem.CreatePermissions parameters: - name: group-id in: path @@ -242084,7 +246506,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -242092,22 +246514,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.root.listItem.GetVersions + summary: Get permissions from groups + operationId: groups.drives.root.listItem.GetPermissions parameters: - name: group-id in: path @@ -242123,13 +246544,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -242141,10 +246562,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -242157,7 +246585,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -242165,15 +246592,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.drive - summary: Update the navigation property versions in groups - operationId: groups.drives.root.listItem.UpdateVersions + summary: Update the navigation property permissions in groups + operationId: groups.drives.root.listItem.UpdatePermissions parameters: - name: group-id in: path @@ -242189,19 +246616,19 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -242212,8 +246639,8 @@ paths: delete: tags: - groups.drive - summary: Delete navigation property versions for groups - operationId: groups.drives.root.listItem.DeleteVersions + summary: Delete navigation property permissions for groups + operationId: groups.drives.root.listItem.DeletePermissions parameters: - name: group-id in: path @@ -242229,13 +246656,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -242248,17 +246675,97 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}' - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - groups.drive - summary: Get fields from groups - description: A collection of the fields and values for this version of the list item. - operationId: groups.drives.root.listItem.versions.GetFields + summary: Get the number of the resource + operationId: groups.drives.root.listItem.permissions.GetCount-6242 parameters: - name: group-id in: path @@ -242274,13 +246781,60 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/groups/{group-id}/drives/{drive-id}/root/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.root.listItem.ListVersions + parameters: + - name: group-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of group required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string - name: $select in: query description: Select properties to be returned @@ -242292,6 +246846,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -242304,22 +246862,22 @@ paths: items: enum: - '*' + - fields type: string responses: '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' default: $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-operation-type: operation - patch: + post: tags: - groups.drive - summary: Update the navigation property fields in groups - operationId: groups.drives.root.listItem.versions.UpdateFields + summary: Create new navigation property to versions for groups + operationId: groups.drives.root.listItem.CreateVersions parameters: - name: group-id in: path @@ -242335,31 +246893,287 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion requestBody: - description: New navigation property values + description: New navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' required: true responses: - '204': - description: Success + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - delete: + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' + '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - groups.drive - summary: Delete navigation property fields for groups - operationId: groups.drives.root.listItem.versions.DeleteFields + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.root.listItem.GetVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property versions in groups + operationId: groups.drives.root.listItem.UpdateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property versions for groups + operationId: groups.drives.root.listItem.DeleteVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}' + '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - groups.drive + summary: Get fields from groups + description: A collection of the fields and values for this version of the list item. + operationId: groups.drives.root.listItem.versions.GetFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property fields in groups + operationId: groups.drives.root.listItem.versions.UpdateFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property fields for groups + operationId: groups.drives.root.listItem.versions.DeleteFields parameters: - name: group-id in: path @@ -244592,7 +249406,13 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. @@ -274517,6 +279337,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -274537,6 +279358,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -274648,6 +279470,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -274668,6 +279491,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -278699,6 +283523,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -278718,6 +283543,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -278841,6 +283667,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -278860,6 +283687,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -281618,14 +286446,13 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.site - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.sites.lists.items.ListVersions + summary: Get permissions from groups + operationId: groups.sites.lists.items.ListPermissions parameters: - name: group-id in: path @@ -281672,12 +286499,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -281690,10 +286533,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -281706,11 +286556,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -281720,8 +286569,8 @@ paths: post: tags: - groups.site - summary: Create new navigation property to versions for groups - operationId: groups.sites.lists.items.CreateVersions + summary: Create new navigation property to permissions for groups + operationId: groups.sites.lists.items.CreatePermissions parameters: - name: group-id in: path @@ -281756,7 +286605,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -281764,22 +286613,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.site - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.sites.lists.items.GetVersions + summary: Get permissions from groups + operationId: groups.sites.lists.items.GetPermissions parameters: - name: group-id in: path @@ -281809,13 +286657,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -281827,10 +286675,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -281843,7 +286698,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -281851,15 +286705,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.site - summary: Update the navigation property versions in groups - operationId: groups.sites.lists.items.UpdateVersions + summary: Update the navigation property permissions in groups + operationId: groups.sites.lists.items.UpdatePermissions parameters: - name: group-id in: path @@ -281889,19 +286743,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -281912,8 +286766,8 @@ paths: delete: tags: - groups.site - summary: Delete navigation property versions for groups - operationId: groups.sites.lists.items.DeleteVersions + summary: Delete navigation property permissions for groups + operationId: groups.sites.lists.items.DeletePermissions parameters: - name: group-id in: path @@ -281943,13 +286797,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -281962,92 +286816,20 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. - get: - tags: - - groups.site - summary: Get fields from groups - description: A collection of the fields and values for this version of the list item. - operationId: groups.sites.lists.items.versions.GetFields - parameters: - - name: group-id - in: path - description: The unique identifier of group - required: true - schema: - type: string - x-ms-docs-key-type: group - - name: site-id - in: path - description: The unique identifier of site - required: true - schema: - type: string - x-ms-docs-key-type: site - - name: list-id - in: path - description: The unique identifier of list - required: true - schema: - type: string - x-ms-docs-key-type: list - - name: listItem-id - in: path - description: The unique identifier of listItem - required: true - schema: - type: string - x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - type: string - responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - groups.site - summary: Update the navigation property fields in groups - operationId: groups.sites.lists.items.versions.UpdateFields + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.permissions.permission.grant parameters: - name: group-id in: path @@ -282077,31 +286859,68 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.site - summary: Delete navigation property fields for groups - operationId: groups.sites.lists.items.versions.DeleteFields + summary: Get the number of the resource + operationId: groups.sites.lists.items.permissions.GetCount-4a70 parameters: - name: group-id in: path @@ -282131,43 +286950,563 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag - schema: - type: string + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '204': - description: Success + '200': + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': - description: Provides operations to call the restoreVersion method. - post: + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - groups.site - summary: Invoke action restoreVersion - description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 - operationId: groups.group.sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.sites.lists.items.ListVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.site + summary: Create new navigation property to versions for groups + operationId: groups.sites.lists.items.CreateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.site + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.sites.lists.items.GetVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property versions in groups + operationId: groups.sites.lists.items.UpdateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property versions for groups + operationId: groups.sites.lists.items.DeleteVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - groups.site + summary: Get fields from groups + description: A collection of the fields and values for this version of the list item. + operationId: groups.sites.lists.items.versions.GetFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property fields in groups + operationId: groups.sites.lists.items.versions.UpdateFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property fields for groups + operationId: groups.sites.lists.items.versions.DeleteFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': + description: Provides operations to call the restoreVersion method. + post: + tags: + - groups.site + summary: Invoke action restoreVersion + description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion parameters: - name: group-id in: path @@ -282326,6 +287665,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -282382,6 +287722,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -282497,6 +287838,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -282553,6 +287895,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -283459,6 +288802,464 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.site + summary: Get permissions from groups + operationId: groups.sites.lists.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.site + summary: Create new navigation property to permissions for groups + operationId: groups.sites.lists.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/permissions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.site + summary: Get permissions from groups + operationId: groups.sites.lists.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property permissions in groups + operationId: groups.sites.lists.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property permissions for groups + operationId: groups.sites.lists.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.site + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.site + summary: Get the number of the resource + operationId: groups.sites.lists.permissions.GetCount-dd2e + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -286115,6 +291916,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -286135,6 +291937,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -304050,8 +309853,14 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -503008,6 +508817,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -503027,6 +508837,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -505291,14 +511102,13 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - me.drive - summary: Get versions from me - description: The list of previous versions of the list item. - operationId: me.drives.items.listItem.ListVersions + summary: Get permissions from me + operationId: me.drives.items.listItem.ListPermissions parameters: - name: drive-id in: path @@ -505331,12 +511141,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -505349,10 +511175,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -505365,11 +511198,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -505379,8 +511211,8 @@ paths: post: tags: - me.drive - summary: Create new navigation property to versions for me - operationId: me.drives.items.listItem.CreateVersions + summary: Create new navigation property to permissions for me + operationId: me.drives.items.listItem.CreatePermissions parameters: - name: drive-id in: path @@ -505401,7 +511233,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -505409,21 +511241,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/me/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/me/drives/{drive-id}/root/listItem/versions' - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/me/drives/{drive-id}/root/listItem/permissions' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - me.drive - summary: Get versions from me - description: The list of previous versions of the list item. - operationId: me.drives.items.listItem.GetVersions + summary: Get permissions from me + operationId: me.drives.items.listItem.GetPermissions parameters: - name: drive-id in: path @@ -505439,13 +511270,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -505457,10 +511288,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -505473,7 +511311,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -505481,15 +511318,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - me.drive - summary: Update the navigation property versions in me - operationId: me.drives.items.listItem.UpdateVersions + summary: Update the navigation property permissions in me + operationId: me.drives.items.listItem.UpdatePermissions parameters: - name: drive-id in: path @@ -505505,19 +511342,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -505528,8 +511365,8 @@ paths: delete: tags: - me.drive - summary: Delete navigation property versions for me - operationId: me.drives.items.listItem.DeleteVersions + summary: Delete navigation property permissions for me + operationId: me.drives.items.listItem.DeletePermissions parameters: - name: drive-id in: path @@ -505545,13 +511382,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -505564,16 +511401,93 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/me/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/me/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - me.drive - summary: Get fields from me - description: A collection of the fields and values for this version of the list item. - operationId: me.drives.items.listItem.versions.GetFields + summary: Get the number of the resource + operationId: me.drives.items.listItem.permissions.GetCount-e3f0 parameters: - name: drive-id in: path @@ -505589,13 +511503,60 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get versions from me + description: The list of previous versions of the list item. + operationId: me.drives.items.listItem.ListVersions + parameters: + - name: drive-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of drive required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string - name: $select in: query description: Select properties to be returned @@ -505607,6 +511568,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -505619,22 +511584,22 @@ paths: items: enum: - '*' + - fields type: string responses: '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' default: $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-operation-type: operation - patch: + post: tags: - me.drive - summary: Update the navigation property fields in me - operationId: me.drives.items.listItem.versions.UpdateFields + summary: Create new navigation property to versions for me + operationId: me.drives.items.listItem.CreateVersions parameters: - name: drive-id in: path @@ -505650,31 +511615,285 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion requestBody: - description: New navigation property values + description: New navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' required: true responses: - '204': - description: Success + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - delete: + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/me/drives/{drive-id}/root/listItem/versions' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - me.drive - summary: Delete navigation property fields for me - operationId: me.drives.items.listItem.versions.DeleteFields + summary: Get versions from me + description: The list of previous versions of the list item. + operationId: me.drives.items.listItem.GetVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property versions in me + operationId: me.drives.items.listItem.UpdateVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property versions for me + operationId: me.drives.items.listItem.DeleteVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/me/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - me.drive + summary: Get fields from me + description: A collection of the fields and values for this version of the list item. + operationId: me.drives.items.listItem.versions.GetFields + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property fields in me + operationId: me.drives.items.listItem.versions.UpdateFields + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property fields for me + operationId: me.drives.items.listItem.versions.DeleteFields parameters: - name: drive-id in: path @@ -507947,6 +514166,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/me/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -509750,6 +515973,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -509770,6 +515994,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -513026,6 +519251,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -513045,6 +519271,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -513138,6 +519365,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -513157,6 +519385,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -515419,6 +521648,414 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.items.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.list.items.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/me/drives/{drive-id}/root/listItem/permissions' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.items.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.list.items.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.list.items.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.list.items.permissions.GetCount-02b5 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -515968,6 +522605,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -516024,6 +522662,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -516145,6 +522784,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -516201,6 +522841,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -516963,6 +523604,359 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/me/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.list.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.list.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.list.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.list.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.list.permissions.GetCount-8386 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -520535,6 +527529,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -520554,6 +527549,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -522587,14 +529583,13 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/me/drives/{drive-id}/root/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/me/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - me.drive - summary: Get versions from me - description: The list of previous versions of the list item. - operationId: me.drives.root.listItem.ListVersions + summary: Get permissions from me + operationId: me.drives.root.listItem.ListPermissions parameters: - name: drive-id in: path @@ -522620,12 +529615,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -522638,10 +529649,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -522654,11 +529672,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -522668,8 +529685,8 @@ paths: post: tags: - me.drive - summary: Create new navigation property to versions for me - operationId: me.drives.root.listItem.CreateVersions + summary: Create new navigation property to permissions for me + operationId: me.drives.root.listItem.CreatePermissions parameters: - name: drive-id in: path @@ -522683,7 +529700,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -522691,21 +529708,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/me/drives/{drive-id}/list/items/{listItem-id}/versions' - '/me/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - me.drive - summary: Get versions from me - description: The list of previous versions of the list item. - operationId: me.drives.root.listItem.GetVersions + summary: Get permissions from me + operationId: me.drives.root.listItem.GetPermissions parameters: - name: drive-id in: path @@ -522714,13 +529730,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -522732,10 +529748,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -522748,7 +529771,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -522756,15 +529778,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - me.drive - summary: Update the navigation property versions in me - operationId: me.drives.root.listItem.UpdateVersions + summary: Update the navigation property permissions in me + operationId: me.drives.root.listItem.UpdatePermissions parameters: - name: drive-id in: path @@ -522773,19 +529795,19 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -522796,8 +529818,8 @@ paths: delete: tags: - me.drive - summary: Delete navigation property versions for me - operationId: me.drives.root.listItem.DeleteVersions + summary: Delete navigation property permissions for me + operationId: me.drives.root.listItem.DeletePermissions parameters: - name: drive-id in: path @@ -522806,13 +529828,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -522825,16 +529847,220 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/me/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - '/me/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - me.drive - summary: Get fields from me - description: A collection of the fields and values for this version of the list item. - operationId: me.drives.root.listItem.versions.GetFields + summary: Get the number of the resource + operationId: me.drives.root.listItem.permissions.GetCount-eae2 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/me/drives/{drive-id}/root/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get versions from me + description: The list of previous versions of the list item. + operationId: me.drives.root.listItem.ListVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to versions for me + operationId: me.drives.root.listItem.CreateVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/me/drives/{drive-id}/list/items/{listItem-id}/versions' + '/me/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get versions from me + description: The list of previous versions of the list item. + operationId: me.drives.root.listItem.GetVersions parameters: - name: drive-id in: path @@ -522861,6 +530087,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -522873,6 +530103,7 @@ paths: items: enum: - '*' + - fields type: string responses: '200': @@ -522880,15 +530111,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - me.drive - summary: Update the navigation property fields in me - operationId: me.drives.root.listItem.versions.UpdateFields + summary: Update the navigation property versions in me + operationId: me.drives.root.listItem.UpdateVersions parameters: - name: drive-id in: path @@ -522909,7 +530140,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' required: true responses: '204': @@ -522920,8 +530151,132 @@ paths: delete: tags: - me.drive - summary: Delete navigation property fields for me - operationId: me.drives.root.listItem.versions.DeleteFields + summary: Delete navigation property versions for me + operationId: me.drives.root.listItem.DeleteVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/me/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + '/me/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - me.drive + summary: Get fields from me + description: A collection of the fields and values for this version of the list item. + operationId: me.drives.root.listItem.versions.GetFields + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property fields in me + operationId: me.drives.root.listItem.versions.UpdateFields + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property fields for me + operationId: me.drives.root.listItem.versions.DeleteFields parameters: - name: drive-id in: path @@ -524991,7 +532346,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/me/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -591800,6 +599159,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -593649,6 +601009,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -593678,6 +601039,8 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc - tags - tags desc type: string @@ -593753,6 +601116,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -594083,6 +601447,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -594413,6 +601778,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -594743,6 +602109,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -595082,6 +602449,8 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc - tags - tags desc - audioDeviceName @@ -595102,8 +602471,6 @@ paths: - floorNumber desc - nickname - nickname desc - - placeId - - placeId desc - teamsEnabledState - teamsEnabledState desc - videoDeviceName @@ -595127,6 +602494,7 @@ paths: - label - parentId - phone + - placeId - tags - audioDeviceName - bookingType @@ -595137,7 +602505,6 @@ paths: - floorLabel - floorNumber - nickname - - placeId - teamsEnabledState - videoDeviceName - checkIns @@ -595234,6 +602601,7 @@ paths: - label - parentId - phone + - placeId - tags - audioDeviceName - bookingType @@ -595244,7 +602612,6 @@ paths: - floorLabel - floorNumber - nickname - - placeId - teamsEnabledState - videoDeviceName - checkIns @@ -595714,6 +603081,8 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc - tags - tags desc - capacity @@ -595726,8 +603095,6 @@ paths: - mode desc - nickname - nickname desc - - placeId - - placeId desc type: string - name: $select in: query @@ -595747,13 +603114,13 @@ paths: - label - parentId - phone + - placeId - tags - capacity - displayDeviceName - emailAddress - mode - nickname - - placeId - checkIns type: string - name: $expand @@ -595848,13 +603215,13 @@ paths: - label - parentId - phone + - placeId - tags - capacity - displayDeviceName - emailAddress - mode - nickname - - placeId - checkIns type: string - name: $expand @@ -596313,6 +603680,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -596643,6 +604011,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -596994,6 +604363,8 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc - tags - tags desc type: string @@ -597015,6 +604386,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -597097,6 +604469,8 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc - tags - tags desc type: string @@ -597118,6 +604492,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -597200,6 +604575,8 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc - tags - tags desc type: string @@ -597221,6 +604598,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -597303,6 +604681,114 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc + - tags + - tags desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - address + - displayName + - geoCoordinates + - isWheelChairAccessible + - label + - parentId + - phone + - placeId + - tags + - checkIns + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - checkIns + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.roomCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + /places/microsoft.graph.room/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - places.place + summary: Get the number of the resource + operationId: places.place.Place.GetCount.AsRoom-56fc + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /places/microsoft.graph.roomList: + description: Casts the previous resource to roomList. + get: + tags: + - places.place + summary: Get place + description: 'Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/place-get?view=graph-rest-1.0 + operationId: places.place.ListPlace.AsRoomList + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - address + - address desc + - displayName + - displayName desc + - geoCoordinates + - geoCoordinates desc + - isWheelChairAccessible + - isWheelChairAccessible desc + - label + - label desc + - parentId + - parentId desc + - phone + - phone desc + - placeId + - placeId desc - tags - tags desc type: string @@ -597324,109 +604810,7 @@ paths: - label - parentId - phone - - tags - - checkIns - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - checkIns - type: string - responses: - '200': - $ref: '#/components/responses/microsoft.graph.roomCollectionResponse' - default: - $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - /places/microsoft.graph.room/$count: - description: Provides operations to count the resources in the collection. - get: - tags: - - places.place - summary: Get the number of the resource - operationId: places.place.Place.GetCount.AsRoom-56fc - parameters: - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - '200': - $ref: '#/components/responses/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /places/microsoft.graph.roomList: - description: Casts the previous resource to roomList. - get: - tags: - - places.place - summary: Get place - description: 'Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/place-get?view=graph-rest-1.0 - operationId: places.place.ListPlace.AsRoomList - parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - id desc - - address - - address desc - - displayName - - displayName desc - - geoCoordinates - - geoCoordinates desc - - isWheelChairAccessible - - isWheelChairAccessible desc - - label - - label desc - - parentId - - parentId desc - - phone - - phone desc - - tags - - tags desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - address - - displayName - - geoCoordinates - - isWheelChairAccessible - - label - - parentId - - phone + - placeId - tags - checkIns type: string @@ -597509,6 +604893,8 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc - tags - tags desc type: string @@ -597530,6 +604916,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -597612,6 +604999,8 @@ paths: - parentId desc - phone - phone desc + - placeId + - placeId desc - tags - tags desc type: string @@ -597633,6 +605022,7 @@ paths: - label - parentId - phone + - placeId - tags - checkIns type: string @@ -683238,6 +690628,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -683258,6 +690649,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -686511,6 +693903,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -686530,6 +693923,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -686623,6 +694017,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -686642,6 +694037,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -688871,14 +696267,13 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - shares.list - summary: Get versions from shares - description: The list of previous versions of the list item. - operationId: shares.list.items.ListVersions + summary: Get permissions from shares + operationId: shares.list.items.ListPermissions parameters: - name: sharedDriveItem-id in: path @@ -688911,12 +696306,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -688929,10 +696340,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -688945,11 +696363,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -688959,8 +696376,8 @@ paths: post: tags: - shares.list - summary: Create new navigation property to versions for shares - operationId: shares.list.items.CreateVersions + summary: Create new navigation property to permissions for shares + operationId: shares.list.items.CreatePermissions parameters: - name: sharedDriveItem-id in: path @@ -688981,7 +696398,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -688989,20 +696406,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/shares/{sharedDriveItem-id}/listItem/versions' - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/shares/{sharedDriveItem-id}/listItem/permissions' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - shares.list - summary: Get versions from shares - description: The list of previous versions of the list item. - operationId: shares.list.items.GetVersions + summary: Get permissions from shares + operationId: shares.list.items.GetPermissions parameters: - name: sharedDriveItem-id in: path @@ -689018,13 +696434,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -689036,10 +696452,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -689052,7 +696475,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -689060,15 +696482,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - shares.list - summary: Update the navigation property versions in shares - operationId: shares.list.items.UpdateVersions + summary: Update the navigation property permissions in shares + operationId: shares.list.items.UpdatePermissions parameters: - name: sharedDriveItem-id in: path @@ -689084,19 +696506,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -689107,8 +696529,8 @@ paths: delete: tags: - shares.list - summary: Delete navigation property versions for shares - operationId: shares.list.items.DeleteVersions + summary: Delete navigation property permissions for shares + operationId: shares.list.items.DeletePermissions parameters: - name: sharedDriveItem-id in: path @@ -689124,13 +696546,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -689143,15 +696565,90 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/shares/{sharedDriveItem-id}/listItem/versions/{listItemVersion-id}' - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - shares.list - summary: Get fields from shares - description: A collection of the fields and values for this version of the list item. - operationId: shares.list.items.versions.GetFields + summary: Get the number of the resource + operationId: shares.list.items.permissions.GetCount-6dda parameters: - name: sharedDriveItem-id in: path @@ -689167,13 +696664,60 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.list + summary: Get versions from shares + description: The list of previous versions of the list item. + operationId: shares.list.items.ListVersions + parameters: + - name: sharedDriveItem-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of sharedDriveItem required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string - name: $select in: query description: Select properties to be returned @@ -689185,6 +696729,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -689197,22 +696745,22 @@ paths: items: enum: - '*' + - fields type: string responses: '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' default: $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-operation-type: operation - patch: + post: tags: - shares.list - summary: Update the navigation property fields in shares - operationId: shares.list.items.versions.UpdateFields + summary: Create new navigation property to versions for shares + operationId: shares.list.items.CreateVersions parameters: - name: sharedDriveItem-id in: path @@ -689228,31 +696776,283 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion requestBody: - description: New navigation property values + description: New navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/schemas/microsoft.graph.listItemVersion' required: true responses: - '204': - description: Success + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - delete: + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/listItem/versions' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - shares.list - summary: Delete navigation property fields for shares - operationId: shares.list.items.versions.DeleteFields + summary: Get versions from shares + description: The list of previous versions of the list item. + operationId: shares.list.items.GetVersions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property versions in shares + operationId: shares.list.items.UpdateVersions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property versions for shares + operationId: shares.list.items.DeleteVersions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/listItem/versions/{listItemVersion-id}' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - shares.list + summary: Get fields from shares + description: A collection of the fields and values for this version of the list item. + operationId: shares.list.items.versions.GetFields + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property fields in shares + operationId: shares.list.items.versions.UpdateFields + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property fields for shares + operationId: shares.list.items.versions.DeleteFields parameters: - name: sharedDriveItem-id in: path @@ -689413,6 +697213,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -689469,6 +697270,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -689551,6 +697353,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -689607,6 +697410,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -690327,14 +698131,365 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - '/shares/{sharedDriveItem-id}/list/subscriptions': - description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + '/shares/{sharedDriveItem-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. get: tags: - shares.list - summary: Get subscriptions from shares - description: The set of subscriptions on the list. - operationId: shares.list.ListSubscriptions + summary: Get permissions from shares + operationId: shares.list.ListPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.list + summary: Create new navigation property to permissions for shares + operationId: shares.list.CreatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.GetPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property permissions in shares + operationId: shares.list.UpdatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property permissions for shares + operationId: shares.list.DeletePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.list + summary: Get the number of the resource + operationId: shares.list.permissions.GetCount-ca68 + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/shares/{sharedDriveItem-id}/list/subscriptions': + description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + get: + tags: + - shares.list + summary: Get subscriptions from shares + description: The set of subscriptions on the list. + operationId: shares.list.ListSubscriptions parameters: - name: sharedDriveItem-id in: path @@ -690700,6 +698855,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -690719,6 +698875,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -692717,6 +700874,361 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + '/shares/{sharedDriveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.listItem + summary: Get permissions from shares + operationId: shares.listItem.ListPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.listItem + summary: Create new navigation property to permissions for shares + operationId: shares.listItem.CreatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.listItem + summary: Get permissions from shares + operationId: shares.listItem.GetPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.listItem + summary: Update the navigation property permissions in shares + operationId: shares.listItem.UpdatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.listItem + summary: Delete navigation property permissions for shares + operationId: shares.listItem.DeletePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.listItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.listItem.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.listItem + summary: Get the number of the resource + operationId: shares.listItem.permissions.GetCount-9bfb + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/shares/{sharedDriveItem-id}/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -693305,6 +701817,10 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' '/shares/{sharedDriveItem-id}/root': description: Provides operations to manage the root property of the microsoft.graph.sharedDriveItem entity. get: @@ -699294,6 +707810,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -699314,6 +707831,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -699418,6 +707936,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -699438,6 +707957,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -703094,6 +711614,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -703113,6 +711634,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -703227,6 +711749,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -703246,6 +711769,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -705682,17 +714206,13 @@ paths: - '/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - sites.list - summary: Listing versions of a ListItem - description: SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/listitem-list-versions?view=graph-rest-1.0 - operationId: sites.lists.items.ListVersions + summary: Get permissions from sites + operationId: sites.lists.items.ListPermissions parameters: - name: site-id in: path @@ -705732,12 +714252,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -705750,10 +714286,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -705766,11 +714309,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -705780,8 +714322,8 @@ paths: post: tags: - sites.list - summary: Create new navigation property to versions for sites - operationId: sites.lists.items.CreateVersions + summary: Create new navigation property to permissions for sites + operationId: sites.lists.items.CreatePermissions parameters: - name: site-id in: path @@ -705809,7 +714351,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -705817,21 +714359,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - sites.list - summary: Get a ListItemVersion resource - description: Retrieve the metadata for a specific version of a ListItem. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/listitemversion-get?view=graph-rest-1.0 - operationId: sites.lists.items.GetVersions + summary: Get permissions from sites + operationId: sites.lists.items.GetPermissions parameters: - name: site-id in: path @@ -705854,13 +714392,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -705872,10 +714410,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -705888,7 +714433,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -705896,15 +714440,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - sites.list - summary: Update the navigation property versions in sites - operationId: sites.lists.items.UpdateVersions + summary: Update the navigation property permissions in sites + operationId: sites.lists.items.UpdatePermissions parameters: - name: site-id in: path @@ -705927,19 +714471,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -705950,8 +714494,8 @@ paths: delete: tags: - sites.list - summary: Delete navigation property versions for sites - operationId: sites.lists.items.DeleteVersions + summary: Delete navigation property permissions for sites + operationId: sites.lists.items.DeletePermissions parameters: - name: site-id in: path @@ -705974,13 +714518,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -705992,82 +714536,17 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. - get: - tags: - - sites.list - summary: Get fields from sites - description: A collection of the fields and values for this version of the list item. - operationId: sites.lists.items.versions.GetFields - parameters: - - name: site-id - in: path - description: The unique identifier of site - required: true - schema: - type: string - x-ms-docs-key-type: site - - name: list-id - in: path - description: The unique identifier of list - required: true - schema: - type: string - x-ms-docs-key-type: list - - name: listItem-id - in: path - description: The unique identifier of listItem - required: true - schema: - type: string - x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - type: string - responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - sites.list - summary: Update the navigation property fields in sites - operationId: sites.lists.items.versions.UpdateFields + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.grant parameters: - name: site-id in: path @@ -706090,31 +714569,62 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - sites.list - summary: Delete navigation property fields for sites - operationId: sites.lists.items.versions.DeleteFields + summary: Get the number of the resource + operationId: sites.lists.items.permissions.GetCount-68c2 parameters: - name: site-id in: path @@ -706137,37 +714647,499 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag - schema: - type: string + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '204': - description: Success + '200': + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': - description: Provides operations to call the restoreVersion method. - post: + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - sites.list - summary: Invoke action restoreVersion - description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' + summary: Listing versions of a ListItem + description: SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 - operationId: sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion + url: https://learn.microsoft.com/graph/api/listitem-list-versions?view=graph-rest-1.0 + operationId: sites.lists.items.ListVersions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to versions for sites + operationId: sites.lists.items.CreateVersions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Get a ListItemVersion resource + description: Retrieve the metadata for a specific version of a ListItem. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitemversion-get?view=graph-rest-1.0 + operationId: sites.lists.items.GetVersions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property versions in sites + operationId: sites.lists.items.UpdateVersions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property versions for sites + operationId: sites.lists.items.DeleteVersions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - sites.list + summary: Get fields from sites + description: A collection of the fields and values for this version of the list item. + operationId: sites.lists.items.versions.GetFields + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property fields in sites + operationId: sites.lists.items.versions.UpdateFields + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property fields for sites + operationId: sites.lists.items.versions.DeleteFields + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': + description: Provides operations to call the restoreVersion method. + post: + tags: + - sites.list + summary: Invoke action restoreVersion + description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion parameters: - name: site-id in: path @@ -706299,6 +715271,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -706355,6 +715328,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -706445,6 +715419,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -706501,6 +715476,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -707301,6 +716277,405 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/sites/{site-id}/lists/{list-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.ListPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to permissions for sites + operationId: sites.lists.CreatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.GetPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property permissions in sites + operationId: sites.lists.UpdatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property permissions for sites + operationId: sites.lists.DeletePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.permissions.permission.grant + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - sites.list + summary: Get the number of the resource + operationId: sites.lists.permissions.GetCount-81fd + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/sites/{site-id}/lists/{list-id}/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -709733,6 +719108,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -709753,6 +719129,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -725328,6 +734705,9 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' '/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -866423,6 +875803,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -866442,6 +875823,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -868937,14 +878319,13 @@ paths: - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Get versions from users - description: The list of previous versions of the list item. - operationId: users.drives.items.listItem.ListVersions + summary: Get permissions from users + operationId: users.drives.items.listItem.ListPermissions parameters: - name: user-id in: path @@ -868984,12 +878365,28 @@ paths: enum: - id - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -869002,10 +878399,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -869018,11 +878422,10 @@ paths: items: enum: - '*' - - fields type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -869032,8 +878435,8 @@ paths: post: tags: - users.drive - summary: Create new navigation property to versions for users - operationId: users.drives.items.listItem.CreateVersions + summary: Create new navigation property to permissions for users + operationId: users.drives.items.listItem.CreatePermissions parameters: - name: user-id in: path @@ -869061,7 +878464,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -869069,21 +878472,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Get versions from users - description: The list of previous versions of the list item. - operationId: users.drives.items.listItem.GetVersions + summary: Get permissions from users + operationId: users.drives.items.listItem.GetPermissions parameters: - name: user-id in: path @@ -869106,13 +878508,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -869124,10 +878526,17 @@ paths: items: enum: - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -869140,7 +878549,6 @@ paths: items: enum: - '*' - - fields type: string responses: '200': @@ -869148,15 +878556,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.drive - summary: Update the navigation property versions in users - operationId: users.drives.items.listItem.UpdateVersions + summary: Update the navigation property permissions in users + operationId: users.drives.items.listItem.UpdatePermissions parameters: - name: user-id in: path @@ -869179,19 +878587,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -869202,8 +878610,8 @@ paths: delete: tags: - users.drive - summary: Delete navigation property versions for users - operationId: users.drives.items.listItem.DeleteVersions + summary: Delete navigation property permissions for users + operationId: users.drives.items.listItem.DeletePermissions parameters: - name: user-id in: path @@ -869226,13 +878634,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -869245,16 +878653,100 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - users.drive - summary: Get fields from users - description: A collection of the fields and values for this version of the list item. - operationId: users.drives.items.listItem.versions.GetFields + summary: Get the number of the resource + operationId: users.drives.items.listItem.permissions.GetCount-73f7 parameters: - name: user-id in: path @@ -869277,13 +878769,67 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get versions from users + description: The list of previous versions of the list item. + operationId: users.drives.items.listItem.ListVersions + parameters: + - name: user-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of user required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string - name: $select in: query description: Select properties to be returned @@ -869295,6 +878841,10 @@ paths: items: enum: - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields type: string - name: $expand in: query @@ -869307,22 +878857,311 @@ paths: items: enum: - '*' + - fields type: string responses: '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' default: $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-operation-type: operation - patch: + post: tags: - users.drive - summary: Update the navigation property fields in users - operationId: users.drives.items.listItem.versions.UpdateFields + summary: Create new navigation property to versions for users + operationId: users.drives.items.listItem.CreateVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get versions from users + description: The list of previous versions of the list item. + operationId: users.drives.items.listItem.GetVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property versions in users + operationId: users.drives.items.listItem.UpdateVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property versions for users + operationId: users.drives.items.listItem.DeleteVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - users.drive + summary: Get fields from users + description: A collection of the fields and values for this version of the list item. + operationId: users.drives.items.listItem.versions.GetFields + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property fields in users + operationId: users.drives.items.listItem.versions.UpdateFields parameters: - name: user-id in: path @@ -871849,6 +881688,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -873890,6 +883733,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string - name: $expand @@ -873910,6 +883754,7 @@ paths: - drive - items - operations + - permissions - subscriptions type: string responses: @@ -877516,6 +887361,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -877535,6 +887381,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -877642,6 +887489,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -877661,6 +887509,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -879898,116 +889747,609 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - access - - create - - delete - - edit - - endDateTime - - incompleteData - - isTrending - - move - - startDateTime - - activities - type: string - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - access + - create + - delete + - edit + - endDateTime + - incompleteData + - isTrending + - move + - startDateTime + - activities + type: string + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - access + - access desc + - create + - create desc + - delete + - delete desc + - edit + - edit desc + - endDateTime + - endDateTime desc + - incompleteData + - incompleteData desc + - isTrending + - isTrending desc + - move + - move desc + - startDateTime + - startDateTime desc + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - activities + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of itemActivityStat + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')': + description: Provides operations to call the getActivitiesByInterval method. + get: + tags: + - users.drive + summary: Invoke function getActivitiesByInterval + operationId: users.user.drives.drive.list.items.listItem.getActivitiesByInterval-9468 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: startDateTime + in: path + description: 'Usage: startDateTime=''{startDateTime}''' + required: true + schema: + type: string + nullable: true + - name: endDateTime + in: path + description: 'Usage: endDateTime=''{endDateTime}''' + required: true + schema: + type: string + nullable: true + - name: interval + in: path + description: 'Usage: interval=''{interval}''' + required: true + schema: + type: string + nullable: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - access + - create + - delete + - edit + - endDateTime + - incompleteData + - isTrending + - move + - startDateTime + - activities + type: string + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - access + - access desc + - create + - create desc + - delete + - delete desc + - edit + - edit desc + - endDateTime + - endDateTime desc + - incompleteData + - incompleteData desc + - isTrending + - isTrending desc + - move + - move desc + - startDateTime + - startDateTime desc + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - activities + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of itemActivityStat + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.items.ListPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to permissions for users + operationId: users.drives.list.items.CreatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.items.GetPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.list.items.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.list.items.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true schema: - uniqueItems: true - type: array - items: - enum: - - id - - id desc - - access - - access desc - - create - - create desc - - delete - - delete desc - - edit - - edit desc - - endDateTime - - endDateTime desc - - incompleteData - - incompleteData desc - - isTrending - - isTrending desc - - move - - move desc - - startDateTime - - startDateTime desc - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - activities - type: string + type: string responses: - '200': + '204': description: Success - content: - application/json: - schema: - title: Collection of itemActivityStat - type: object - allOf: - - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.itemActivityStat' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')': - description: Provides operations to call the getActivitiesByInterval method. - get: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Invoke function getActivitiesByInterval - operationId: users.user.drives.drive.list.items.listItem.getActivitiesByInterval-9468 + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.items.listItem.permissions.permission.grant parameters: - name: user-id in: path @@ -880030,105 +890372,37 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: startDateTime - in: path - description: 'Usage: startDateTime=''{startDateTime}''' - required: true - schema: - type: string - nullable: true - - name: endDateTime - in: path - description: 'Usage: endDateTime=''{endDateTime}''' - required: true - schema: - type: string - nullable: true - - name: interval + - name: permission-id in: path - description: 'Usage: interval=''{interval}''' + description: The unique identifier of permission required: true schema: type: string - nullable: true - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - access - - create - - delete - - edit - - endDateTime - - incompleteData - - isTrending - - move - - startDateTime - - activities - type: string - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - id desc - - access - - access desc - - create - - create desc - - delete - - delete desc - - edit - - edit desc - - endDateTime - - endDateTime desc - - incompleteData - - incompleteData desc - - isTrending - - isTrending desc - - move - - move desc - - startDateTime - - startDateTime desc - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - activities - type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: '200': description: Success content: application/json: schema: - title: Collection of itemActivityStat + title: Collection of permission type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' @@ -880137,23 +890411,55 @@ paths: value: type: array items: - $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.list.items.permissions.GetCount-8844 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -880780,6 +891086,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -880836,6 +891143,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -880966,6 +891274,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $orderby @@ -881022,6 +891331,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -881585,24 +891895,345 @@ paths: enum: - id - id desc - - createdDateTime - - createdDateTime desc - - lastActionDateTime - - lastActionDateTime desc - - resourceLocation - - resourceLocation desc - - status - - status desc - - statusDetail - - statusDetail desc - - error - - error desc - - percentageComplete - - percentageComplete desc - - resourceId - - resourceId desc - - type - - type desc + - createdDateTime + - createdDateTime desc + - lastActionDateTime + - lastActionDateTime desc + - resourceLocation + - resourceLocation desc + - status + - status desc + - statusDetail + - statusDetail desc + - error + - error desc + - percentageComplete + - percentageComplete desc + - resourceId + - resourceId desc + - type + - type desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - createdDateTime + - lastActionDateTime + - resourceLocation + - status + - statusDetail + - error + - percentageComplete + - resourceId + - type + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.richLongRunningOperationCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to operations for users + operationId: users.drives.list.CreateOperations + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/drives/{drive-id}/list/operations/{richLongRunningOperation-id}': + description: Provides operations to manage the operations property of the microsoft.graph.list entity. + get: + tags: + - users.drive + summary: Get operations from users + description: The collection of long-running operations on the list. + operationId: users.drives.list.GetOperations + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: richLongRunningOperation-id + in: path + description: The unique identifier of richLongRunningOperation + required: true + schema: + type: string + x-ms-docs-key-type: richLongRunningOperation + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - createdDateTime + - lastActionDateTime + - resourceLocation + - status + - statusDetail + - error + - percentageComplete + - resourceId + - type + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property operations in users + operationId: users.drives.list.UpdateOperations + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: richLongRunningOperation-id + in: path + description: The unique identifier of richLongRunningOperation + required: true + schema: + type: string + x-ms-docs-key-type: richLongRunningOperation + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property operations for users + operationId: users.drives.list.DeleteOperations + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: richLongRunningOperation-id + in: path + description: The unique identifier of richLongRunningOperation + required: true + schema: + type: string + x-ms-docs-key-type: richLongRunningOperation + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/drives/{drive-id}/list/operations/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.list.operations.GetCount-9ad3 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/users/{user-id}/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.ListPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc type: string - name: $select in: query @@ -881615,15 +892246,17 @@ paths: items: enum: - id - - createdDateTime - - lastActionDateTime - - resourceLocation - - status - - statusDetail - - error - - percentageComplete - - resourceId - - type + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -881639,7 +892272,7 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.richLongRunningOperationCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -881649,8 +892282,8 @@ paths: post: tags: - users.drive - summary: Create new navigation property to operations for users - operationId: users.drives.list.CreateOperations + summary: Create new navigation property to permissions for users + operationId: users.drives.list.CreatePermissions parameters: - name: user-id in: path @@ -881671,7 +892304,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '201': @@ -881679,18 +892312,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/drives/{drive-id}/list/operations/{richLongRunningOperation-id}': - description: Provides operations to manage the operations property of the microsoft.graph.list entity. + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. get: tags: - users.drive - summary: Get operations from users - description: The collection of long-running operations on the list. - operationId: users.drives.list.GetOperations + summary: Get permissions from users + operationId: users.drives.list.GetPermissions parameters: - name: user-id in: path @@ -881706,13 +892338,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: richLongRunningOperation-id + - name: permission-id in: path - description: The unique identifier of richLongRunningOperation + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: richLongRunningOperation + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -881724,15 +892356,17 @@ paths: items: enum: - id - - createdDateTime - - lastActionDateTime - - resourceLocation - - status - - statusDetail - - error - - percentageComplete - - resourceId - - type + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -881752,15 +892386,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.drive - summary: Update the navigation property operations in users - operationId: users.drives.list.UpdateOperations + summary: Update the navigation property permissions in users + operationId: users.drives.list.UpdatePermissions parameters: - name: user-id in: path @@ -881776,19 +892410,19 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: richLongRunningOperation-id + - name: permission-id in: path - description: The unique identifier of richLongRunningOperation + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: richLongRunningOperation + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: '204': @@ -881799,8 +892433,8 @@ paths: delete: tags: - users.drive - summary: Delete navigation property operations for users - operationId: users.drives.list.DeleteOperations + summary: Delete navigation property permissions for users + operationId: users.drives.list.DeletePermissions parameters: - name: user-id in: path @@ -881816,13 +892450,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: richLongRunningOperation-id + - name: permission-id in: path - description: The unique identifier of richLongRunningOperation + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: richLongRunningOperation + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -881834,13 +892468,91 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/drives/{drive-id}/list/operations/$count': + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: tags: - users.drive summary: Get the number of the resource - operationId: users.drives.list.operations.GetCount-9ad3 + operationId: users.drives.list.permissions.GetCount-f27b parameters: - name: user-id in: path @@ -885820,6 +896532,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string - name: $expand @@ -885839,6 +896552,7 @@ paths: - documentSetVersions - driveItem - fields + - permissions - versions type: string responses: @@ -887954,16 +898668,162 @@ paths: - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')': + description: Provides operations to call the getActivitiesByInterval method. + get: + tags: + - users.drive + summary: Invoke function getActivitiesByInterval + operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-9468 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: startDateTime + in: path + description: 'Usage: startDateTime=''{startDateTime}''' + required: true + schema: + type: string + nullable: true + - name: endDateTime + in: path + description: 'Usage: endDateTime=''{endDateTime}''' + required: true + schema: + type: string + nullable: true + - name: interval + in: path + description: 'Usage: interval=''{interval}''' + required: true + schema: + type: string + nullable: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - access + - create + - delete + - edit + - endDateTime + - incompleteData + - isTrending + - move + - startDateTime + - activities + type: string + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - access + - access desc + - create + - create desc + - delete + - delete desc + - edit + - edit desc + - endDateTime + - endDateTime desc + - incompleteData + - incompleteData desc + - isTrending + - isTrending desc + - move + - move desc + - startDateTime + - startDateTime desc + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - activities + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of itemActivityStat + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')': - description: Provides operations to call the getActivitiesByInterval method. + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Invoke function getActivitiesByInterval - operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-9468 + summary: Get permissions from users + operationId: users.drives.root.listItem.ListPermissions parameters: - name: user-id in: path @@ -887979,32 +898839,46 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: startDateTime - in: path - description: 'Usage: startDateTime=''{startDateTime}''' - required: true - schema: - type: string - nullable: true - - name: endDateTime - in: path - description: 'Usage: endDateTime=''{endDateTime}''' - required: true - schema: - type: string - nullable: true - - name: interval - in: path - description: 'Usage: interval=''{interval}''' - required: true - schema: - type: string - nullable: true - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - expirationDateTime + - expirationDateTime desc + - grantedTo + - grantedTo desc + - grantedToIdentities + - grantedToIdentities desc + - grantedToIdentitiesV2 + - grantedToIdentitiesV2 desc + - grantedToV2 + - grantedToV2 desc + - hasPassword + - hasPassword desc + - inheritedFrom + - inheritedFrom desc + - invitation + - invitation desc + - link + - link desc + - roles + - roles desc + - shareId + - shareId desc + type: string - name: $select in: query description: Select properties to be returned @@ -888016,20 +898890,111 @@ paths: items: enum: - id - - access - - create - - delete - - edit - - endDateTime - - incompleteData - - isTrending - - move - - startDateTime - - activities + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - - name: $orderby + - name: $expand in: query - description: Order items by property values + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to permissions for users + operationId: users.drives.root.listItem.CreatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.root.listItem.GetPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned style: form explode: false schema: @@ -888038,25 +899003,17 @@ paths: items: enum: - id - - id desc - - access - - access desc - - create - - create desc - - delete - - delete desc - - edit - - edit desc - - endDateTime - - endDateTime desc - - incompleteData - - incompleteData desc - - isTrending - - isTrending desc - - move - - move desc - - startDateTime - - startDateTime desc + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId type: string - name: $expand in: query @@ -888069,15 +899026,155 @@ paths: items: enum: - '*' - - activities type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.root.listItem.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.root.listItem.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: '200': description: Success content: application/json: schema: - title: Collection of itemActivityStat + title: Collection of permission type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' @@ -888086,23 +899183,48 @@ paths: value: type: array items: - $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.root.listItem.permissions.GetCount-ad29 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/users/{user-id}/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -890763,7 +901885,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/users/{user-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -968320,6 +979446,33 @@ components: - $ref: '#/components/schemas/microsoft.graph.entity' - title: cloudPcReport type: object + microsoft.graph.cloudPcServicePlan: + allOf: + - $ref: '#/components/schemas/microsoft.graph.entity' + - title: cloudPcServicePlan + type: object + properties: + displayName: + type: string + description: The name for the service plan. Read-only. + ramInGB: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The size of the RAM in GB. Read-only. + format: int32 + storageInGB: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The size of the operating system disk in GB. Read-only. + format: int32 + vCpuCount: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The number of vCPUs. Read-only. + format: int32 microsoft.graph.cloudPcUserSetting: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -970533,6 +981686,11 @@ components: - type: object nullable: true description: 'The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable.' + servicePlans: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfo' + description: The service plans associated with the desk. microsoft.graph.detectedApp: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -978966,6 +990124,11 @@ components: $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' description: The collection of long-running operations on the list. x-ms-navigationProperty: true + permissions: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + x-ms-navigationProperty: true subscriptions: type: array items: @@ -979023,6 +990186,11 @@ components: nullable: true description: The values of the columns set on this list item. x-ms-navigationProperty: true + permissions: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + x-ms-navigationProperty: true versions: type: array items: @@ -983915,6 +995083,10 @@ components: type: string description: The phone number of the place. nullable: true + placeId: + type: string + description: A stable service-level identifier for the place object used by Places workloads. + nullable: true tags: type: array items: @@ -987225,10 +998397,6 @@ components: nickname: type: string description: 'Specifies a nickname for the room, for example, ''conf room''.' - placeId: - type: string - description: An alternative immutable unique identifier of the room. Read-only. - nullable: true teamsEnabledState: $ref: '#/components/schemas/microsoft.graph.placeFeatureEnablement' videoDeviceName: @@ -995456,6 +1006624,12 @@ components: nullable: true description: Cloud PC-related reports. Read-only. x-ms-navigationProperty: true + servicePlans: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + description: A collection of Cloud PC service plans. + x-ms-navigationProperty: true userSettings: type: array items: @@ -999914,10 +1011088,6 @@ components: nickname: type: string description: 'A short, friendly name for the workspace, often used for easier identification or display in the UI.' - placeId: - type: string - description: An alternative immutable unique identifier of the workspace. Read-only. - nullable: true microsoft.graph.x509CertificateAuthenticationMethodConfiguration: allOf: - $ref: '#/components/schemas/microsoft.graph.authenticationMethodConfiguration' @@ -1013001,6 +1024171,14 @@ components: microsoft.graph.placeMode: title: placeMode type: object + microsoft.graph.placeServicePlanInfo: + title: placeServicePlanInfo + type: object + properties: + servicePlanId: + type: string + description: The service plan identifier. + nullable: true microsoft.graph.plannerAppliedCategories: title: plannerAppliedCategories type: object @@ -1053562,6 +1064740,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicy' + microsoft.graph.cloudPcServicePlanCollectionResponse: + title: Collection of cloudPcServicePlan + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' microsoft.graph.cloudPcUserSettingCollectionResponse: title: Collection of cloudPcUserSetting type: object @@ -1058292,6 +1069481,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' + microsoft.graph.placeServicePlanInfoCollectionResponse: + title: Collection of microsoft.graph.placeServicePlanInfo + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfo' microsoft.graph.alternativeSecurityIdCollectionResponse: title: Collection of microsoft.graph.alternativeSecurityId type: object @@ -1064439,6 +1075639,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicyCollectionResponse' + microsoft.graph.cloudPcServicePlanCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlanCollectionResponse' microsoft.graph.cloudPcUserSettingCollectionResponse: description: Retrieved collection content: @@ -1067019,6 +1078225,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.keyValuePairCollectionResponse' + microsoft.graph.placeServicePlanInfoCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfoCollectionResponse' microsoft.graph.alternativeSecurityIdCollectionResponse: description: Retrieved collection content: @@ -1070835,6 +1082047,12 @@ components: '@odata.type': microsoft.graph.cloudPcManagementAssignmentTarget microsoft.graph.cloudPcReport: value: { } + microsoft.graph.cloudPcServicePlan: + value: + displayName: String + ramInGB: '0' + storageInGB: '0' + vCpuCount: '0' microsoft.graph.cloudPcUserSetting: value: assignments: @@ -1071545,6 +1082763,8 @@ components: '@odata.type': microsoft.graph.mailboxDetails mode: '@odata.type': microsoft.graph.placeMode + servicePlans: + - '@odata.type': microsoft.graph.placeServicePlanInfo microsoft.graph.detectedApp: value: deviceCount: '0' @@ -1074103,6 +1085323,8 @@ components: '@odata.type': microsoft.graph.listInfo operations: - '@odata.type': microsoft.graph.richLongRunningOperation + permissions: + - '@odata.type': microsoft.graph.permission sharepointIds: '@odata.type': microsoft.graph.sharepointIds subscriptions: @@ -1074123,6 +1085345,8 @@ components: '@odata.type': microsoft.graph.driveItem fields: '@odata.type': microsoft.graph.fieldValueSet + permissions: + - '@odata.type': microsoft.graph.permission sharepointIds: '@odata.type': microsoft.graph.sharepointIds versions: @@ -1075583,6 +1086807,7 @@ components: label: String parentId: String phone: String + placeId: String tags: - String microsoft.graph.planner: @@ -1076568,7 +1087793,6 @@ components: floorLabel: String floorNumber: '0' nickname: String - placeId: String teamsEnabledState: '@odata.type': microsoft.graph.placeFeatureEnablement videoDeviceName: String @@ -1078927,6 +1090151,8 @@ components: - '@odata.type': microsoft.graph.cloudPcProvisioningPolicy report: '@odata.type': microsoft.graph.cloudPcReport + servicePlans: + - '@odata.type': microsoft.graph.cloudPcServicePlan userSettings: - '@odata.type': microsoft.graph.cloudPcUserSetting microsoft.graph.virtualEvent: @@ -1080288,7 +1091514,6 @@ components: mode: '@odata.type': microsoft.graph.placeMode nickname: String - placeId: String microsoft.graph.x509CertificateAuthenticationMethodConfiguration: value: authenticationModeConfiguration: @@ -1084603,6 +1095828,9 @@ components: thumbprint: String microsoft.graph.placeMode: value: { } + microsoft.graph.placeServicePlanInfo: + value: + servicePlanId: String microsoft.graph.plannerAppliedCategories: value: { } microsoft.graph.plannerAssignment: diff --git a/openapi/v1.0/openapi.yaml b/openapi/v1.0/openapi.yaml index 49818f2b..934ac479 100644 --- a/openapi/v1.0/openapi.yaml +++ b/openapi/v1.0/openapi.yaml @@ -87144,6 +87144,130 @@ paths: 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /deviceManagement/virtualEndpoint/servicePlans: + description: Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. + get: + tags: + - deviceManagement.virtualEndpoint + summary: List servicePlans + description: 'List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, the Microsoft Graph API is available for Windows 365 Enterprise.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/virtualendpoint-list-serviceplans?view=graph-rest-1.0 + operationId: deviceManagement.virtualEndpoint.ListServicePlans + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.cloudPcServicePlanCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/deviceManagement/virtualEndpoint/servicePlans/{cloudPcServicePlan-id}': + description: Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. + get: + tags: + - deviceManagement.virtualEndpoint + summary: Get servicePlans from deviceManagement + description: A collection of Cloud PC service plans. + operationId: deviceManagement.virtualEndpoint.GetServicePlans + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: cloudPcServicePlan-id + in: path + description: The unique identifier of cloudPcServicePlan + required: true + schema: + type: string + x-ms-docs-key-type: cloudPcServicePlan + /deviceManagement/virtualEndpoint/servicePlans/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - deviceManagement.virtualEndpoint + summary: Get the number of the resource + operationId: deviceManagement.virtualEndpoint.servicePlans.GetCount-3a18 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' /deviceManagement/virtualEndpoint/userSettings: description: Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. get: @@ -107905,6 +108029,9 @@ paths: schema: type: string x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/grant' '/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -228512,14 +228639,13 @@ paths: - '/drives/{drive-id}/items/{driveItem-id}/getActivitiesByInterval()' - '/drives/{drive-id}/items/{driveItem-id}/getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/list/items/{listItem-id}/getActivitiesByInterval()' - '/drives/{drive-id}/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.list - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.list.items.ListVersions + summary: Get permissions from drives + operationId: drives.list.items.ListPermissions parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -228558,7 +228684,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: @@ -228570,14 +228696,14 @@ paths: post: tags: - drives.list - summary: Create new navigation property to versions for drives - operationId: drives.list.items.CreateVersions + summary: Create new navigation property to permissions for drives + operationId: drives.list.items.CreatePermissions requestBody: description: New navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -228585,7 +228711,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -228606,14 +228732,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - '/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.list - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.list.items.GetVersions + summary: Get permissions from drives + operationId: drives.list.items.GetPermissions parameters: - name: $select in: query @@ -228641,7 +228766,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -228650,14 +228775,14 @@ paths: patch: tags: - drives.list - summary: Update the navigation property versions in drives - operationId: drives.list.items.UpdateVersions + summary: Update the navigation property permissions in drives + operationId: drives.list.items.UpdatePermissions requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -228665,7 +228790,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -228674,8 +228799,8 @@ paths: delete: tags: - drives.list - summary: Delete navigation property versions for drives - operationId: drives.list.items.DeleteVersions + summary: Delete navigation property permissions for drives + operationId: drives.list.items.DeletePermissions parameters: - name: If-Match in: header @@ -228705,21 +228830,330 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion - '/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + x-ms-docs-key-type: permission + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.list.items.listItem.permissions.permission.grant + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/grant' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drives.list - summary: Get fields from drives - description: A collection of the fields and values for this version of the list item. - operationId: drives.list.items.versions.GetFields + summary: Get the number of the resource + operationId: drives.list.items.permissions.GetCount-846d + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + '/drives/{drive-id}/list/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.list + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.list.items.ListVersions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.list + summary: Create new navigation property to versions for drives + operationId: drives.list.items.CreateVersions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + '/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.list + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.list.items.GetVersions + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.list + summary: Update the navigation property versions in drives + operationId: drives.list.items.UpdateVersions + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.list + summary: Delete navigation property versions for drives + operationId: drives.list.items.DeleteVersions + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + '/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drives.list + summary: Get fields from drives + description: A collection of the fields and values for this version of the list item. + operationId: drives.list.items.versions.GetFields parameters: - name: $select in: query @@ -229511,6 +229945,285 @@ paths: schema: type: string x-ms-docs-key-type: drive + '/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.list + summary: Create new navigation property to permissions for drives + operationId: drives.list.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + '/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.GetPermissions + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.list + summary: Update the navigation property permissions in drives + operationId: drives.list.UpdatePermissions + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.list + summary: Delete navigation property permissions for drives + operationId: drives.list.DeletePermissions + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + '/drives/{drive-id}/list/permissions/{permission-id}/grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.list.permissions.permission.grant + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant' + '/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.list + summary: Get the number of the resource + operationId: drives.list.permissions.GetCount-1e72 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive '/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -284270,33 +284983,396 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: startDateTime + - name: startDateTime + in: path + description: 'Usage: startDateTime=''{startDateTime}''' + required: true + schema: + type: string + nullable: true + - name: endDateTime + in: path + description: 'Usage: endDateTime=''{endDateTime}''' + required: true + schema: + type: string + nullable: true + - name: interval + in: path + description: 'Usage: interval=''{interval}''' + required: true + schema: + type: string + nullable: true + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/getActivitiesByInterval()' + - '/groups/{group-id}/sites/{site-id}/getActivitiesByInterval()' + - '/groups/{group-id}/sites/{site-id}/getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/groups/{group-id}/sites/{site-id}/getByPath(path=''{path}'')/getActivitiesByInterval()' + - '/groups/{group-id}/sites/{site-id}/getByPath(path=''{path}'')/getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.site + summary: Get permissions from groups + operationId: groups.sites.lists.items.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.site + summary: Create new navigation property to permissions for groups + operationId: groups.sites.lists.items.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.site + summary: Get permissions from groups + operationId: groups.sites.lists.items.GetPermissions + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property permissions in groups + operationId: groups.sites.lists.items.UpdatePermissions + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property permissions for groups + operationId: groups.sites.lists.items.DeletePermissions + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.site + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.permissions.permission.grant + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id in: path - description: 'Usage: startDateTime=''{startDateTime}''' + description: The unique identifier of permission required: true schema: type: string - nullable: true - - name: endDateTime + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.site + summary: Get the number of the resource + operationId: groups.sites.lists.items.permissions.GetCount-4a70 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: group-id in: path - description: 'Usage: endDateTime=''{endDateTime}''' + description: The unique identifier of group required: true schema: type: string - nullable: true - - name: interval + x-ms-docs-key-type: group + - name: site-id in: path - description: 'Usage: interval=''{interval}''' + description: The unique identifier of site required: true schema: type: string - nullable: true - x-ms-docs-grouped-path: - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/getActivitiesByInterval()' - - '/groups/{group-id}/sites/{site-id}/getActivitiesByInterval()' - - '/groups/{group-id}/sites/{site-id}/getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/groups/{group-id}/sites/{site-id}/getByPath(path=''{path}'')/getActivitiesByInterval()' - - '/groups/{group-id}/sites/{site-id}/getByPath(path=''{path}'')/getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -285030,20 +286106,234 @@ paths: schema: type: string x-ms-docs-key-type: list - x-ms-docs-grouped-path: - - '/groups/{group-id}/sites/{site-id}/lastModifiedByUser' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/lastModifiedByUser' - - '/groups/{group-id}/sites/{site-id}/getByPath(path=''{path}'')/lastModifiedByUser' - - '/groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/lastModifiedByUser' - - '/groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/lastModifiedByUser' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/lastModifiedByUser/mailboxSettings': + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lastModifiedByUser' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/lastModifiedByUser' + - '/groups/{group-id}/sites/{site-id}/getByPath(path=''{path}'')/lastModifiedByUser' + - '/groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/lastModifiedByUser' + - '/groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/lastModifiedByUser' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/lastModifiedByUser/mailboxSettings': + get: + tags: + - groups.site + summary: Get mailboxSettings property value + description: 'Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Requires $select to retrieve.' + operationId: groups.sites.lists.lastModifiedByUser.GetMailboxSettings + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + patch: + tags: + - groups.site + summary: Update property mailboxSettings value. + operationId: groups.sites.lists.lastModifiedByUser.UpdateMailboxSettings + requestBody: + description: New property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/lastModifiedByUser/serviceProvisioningErrors': + get: + tags: + - groups.site + summary: Get serviceProvisioningErrors property value + description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance).' + operationId: groups.sites.lists.lastModifiedByUser.ListServiceProvisioningErrors + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.serviceProvisioningErrorCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/lastModifiedByUser/serviceProvisioningErrors/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.site + summary: Get the number of the resource + operationId: groups.sites.lists.lastModifiedByUser.ServiceProvisioningErrors.GetCount-f14e + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/operations': + description: Provides operations to manage the operations property of the microsoft.graph.list entity. get: tags: - groups.site - summary: Get mailboxSettings property value - description: 'Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Requires $select to retrieve.' - operationId: groups.sites.lists.lastModifiedByUser.GetMailboxSettings + summary: Get operations from groups + description: The collection of long-running operations on the list. + operationId: groups.sites.lists.ListOperations parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string - name: $select in: query description: Select properties to be returned @@ -285066,38 +286356,39 @@ paths: type: string responses: 2XX: - description: Entity result. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + $ref: '#/components/responses/microsoft.graph.richLongRunningOperationCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - patch: + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: tags: - groups.site - summary: Update property mailboxSettings value. - operationId: groups.sites.lists.lastModifiedByUser.UpdateMailboxSettings + summary: Create new navigation property to operations for groups + operationId: groups.sites.lists.CreateOperations requestBody: - description: New property values + description: New navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' required: true responses: 2XX: - description: Success + description: Created navigation property. content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation parameters: - name: group-id in: path @@ -285120,29 +286411,15 @@ paths: schema: type: string x-ms-docs-key-type: list - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/lastModifiedByUser/serviceProvisioningErrors': + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/operations/{richLongRunningOperation-id}': + description: Provides operations to manage the operations property of the microsoft.graph.list entity. get: tags: - groups.site - summary: Get serviceProvisioningErrors property value - description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance).' - operationId: groups.sites.lists.lastModifiedByUser.ListServiceProvisioningErrors + summary: Get operations from groups + description: The collection of long-running operations on the list. + operationId: groups.sites.lists.GetOperations parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - name: $select in: query description: Select properties to be returned @@ -285165,14 +286442,59 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.serviceProvisioningErrorCollectionResponse' + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property operations in groups + operationId: groups.sites.lists.UpdateOperations + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property operations for groups + operationId: groups.sites.lists.DeleteOperations + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation parameters: - name: group-id in: path @@ -285195,13 +286517,20 @@ paths: schema: type: string x-ms-docs-key-type: list - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/lastModifiedByUser/serviceProvisioningErrors/$count': + - name: richLongRunningOperation-id + in: path + description: The unique identifier of richLongRunningOperation + required: true + schema: + type: string + x-ms-docs-key-type: richLongRunningOperation + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/operations/$count': description: Provides operations to count the resources in the collection. get: tags: - groups.site summary: Get the number of the resource - operationId: groups.sites.lists.lastModifiedByUser.ServiceProvisioningErrors.GetCount-f14e + operationId: groups.sites.lists.operations.GetCount-3c85 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -285234,14 +286563,13 @@ paths: schema: type: string x-ms-docs-key-type: list - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/operations': - description: Provides operations to manage the operations property of the microsoft.graph.list entity. + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. get: tags: - groups.site - summary: Get operations from groups - description: The collection of long-running operations on the list. - operationId: groups.sites.lists.ListOperations + summary: Get permissions from groups + operationId: groups.sites.lists.ListPermissions parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -285280,7 +286608,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.richLongRunningOperationCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: @@ -285292,14 +286620,14 @@ paths: post: tags: - groups.site - summary: Create new navigation property to operations for groups - operationId: groups.sites.lists.CreateOperations + summary: Create new navigation property to permissions for groups + operationId: groups.sites.lists.CreatePermissions requestBody: description: New navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -285307,7 +286635,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -285335,14 +286663,13 @@ paths: schema: type: string x-ms-docs-key-type: list - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/operations/{richLongRunningOperation-id}': - description: Provides operations to manage the operations property of the microsoft.graph.list entity. + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. get: tags: - groups.site - summary: Get operations from groups - description: The collection of long-running operations on the list. - operationId: groups.sites.lists.GetOperations + summary: Get permissions from groups + operationId: groups.sites.lists.GetPermissions parameters: - name: $select in: query @@ -285370,7 +286697,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -285379,14 +286706,14 @@ paths: patch: tags: - groups.site - summary: Update the navigation property operations in groups - operationId: groups.sites.lists.UpdateOperations + summary: Update the navigation property permissions in groups + operationId: groups.sites.lists.UpdatePermissions requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -285394,7 +286721,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -285403,8 +286730,8 @@ paths: delete: tags: - groups.site - summary: Delete navigation property operations for groups - operationId: groups.sites.lists.DeleteOperations + summary: Delete navigation property permissions for groups + operationId: groups.sites.lists.DeletePermissions parameters: - name: If-Match in: header @@ -285441,20 +286768,104 @@ paths: schema: type: string x-ms-docs-key-type: list - - name: richLongRunningOperation-id + - name: permission-id in: path - description: The unique identifier of richLongRunningOperation + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: richLongRunningOperation - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/operations/$count': + x-ms-docs-key-type: permission + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.site + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.permissions.permission.grant + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: tags: - groups.site summary: Get the number of the resource - operationId: groups.sites.lists.operations.GetCount-3c85 + operationId: groups.sites.lists.permissions.GetCount-dd2e parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -300184,6 +301595,9 @@ paths: schema: type: string x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant' '/groups/{group-id}/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -579331,6 +580745,313 @@ paths: nullable: true x-ms-docs-grouped-path: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/getActivitiesByInterval()' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.items.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.list + summary: Create new navigation property to permissions for shares + operationId: shares.list.items.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.items.GetPermissions + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property permissions in shares + operationId: shares.list.items.UpdatePermissions + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property permissions for shares + operationId: shares.list.items.DeletePermissions + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.grant + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant' + - '/shares/{sharedDriveItem-id}/permission/grant' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.list + summary: Get the number of the resource + operationId: shares.list.items.permissions.GetCount-6dda + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -580296,6 +582017,285 @@ paths: schema: type: string x-ms-docs-key-type: sharedDriveItem + '/shares/{sharedDriveItem-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.list + summary: Create new navigation property to permissions for shares + operationId: shares.list.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.GetPermissions + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property permissions in shares + operationId: shares.list.UpdatePermissions + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property permissions for shares + operationId: shares.list.DeletePermissions + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.permissions.permission.grant + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/grant' + - '/shares/{sharedDriveItem-id}/permission/grant' + '/shares/{sharedDriveItem-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.list + summary: Get the number of the resource + operationId: shares.list.permissions.GetCount-ca68 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem '/shares/{sharedDriveItem-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -580742,6 +582742,9 @@ paths: schema: type: string x-ms-docs-key-type: sharedDriveItem + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/grant' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant' '/shares/{sharedDriveItem-id}/root': description: Provides operations to manage the root property of the microsoft.graph.sharedDriveItem entity. get: @@ -588891,6 +590894,341 @@ paths: - '/sites/{site-id}/getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/sites/{site-id}/getByPath(path=''{path}'')/getActivitiesByInterval()' - '/sites/{site-id}/getByPath(path=''{path}'')/getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.items.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to permissions for sites + operationId: sites.lists.items.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.items.GetPermissions + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property permissions in sites + operationId: sites.lists.items.UpdatePermissions + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property permissions for sites + operationId: sites.lists.items.DeletePermissions + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.grant + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant' + - '/sites/{site-id}/permissions/{permission-id}/grant' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - sites.list + summary: Get the number of the resource + operationId: sites.lists.items.permissions.GetCount-68c2 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -589586,26 +591924,299 @@ paths: type: string responses: 2XX: - description: Entity result. + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + patch: + tags: + - sites.list + summary: Update property mailboxSettings value. + operationId: sites.lists.lastModifiedByUser.UpdateMailboxSettings + requestBody: + description: New property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + '/sites/{site-id}/lists/{list-id}/lastModifiedByUser/serviceProvisioningErrors': + get: + tags: + - sites.list + summary: Get serviceProvisioningErrors property value + description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance).' + operationId: sites.lists.lastModifiedByUser.ListServiceProvisioningErrors + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.serviceProvisioningErrorCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + '/sites/{site-id}/lists/{list-id}/lastModifiedByUser/serviceProvisioningErrors/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - sites.list + summary: Get the number of the resource + operationId: sites.lists.lastModifiedByUser.ServiceProvisioningErrors.GetCount-39cb + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + '/sites/{site-id}/lists/{list-id}/operations': + description: Provides operations to manage the operations property of the microsoft.graph.list entity. + get: + tags: + - sites.list + summary: Get operations from sites + description: The collection of long-running operations on the list. + operationId: sites.lists.ListOperations + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.richLongRunningOperationCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to operations for sites + operationId: sites.lists.CreateOperations + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + '/sites/{site-id}/lists/{list-id}/operations/{richLongRunningOperation-id}': + description: Provides operations to manage the operations property of the microsoft.graph.list entity. + get: + tags: + - sites.list + summary: Get operations from sites + description: The collection of long-running operations on the list. + operationId: sites.lists.GetOperations + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation patch: tags: - sites.list - summary: Update property mailboxSettings value. - operationId: sites.lists.lastModifiedByUser.UpdateMailboxSettings + summary: Update the navigation property operations in sites + operationId: sites.lists.UpdateOperations requestBody: - description: New property values + description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' required: true responses: 2XX: @@ -589613,79 +592224,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.mailboxSettings' + $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - parameters: - - name: site-id - in: path - description: The unique identifier of site - required: true - schema: - type: string - x-ms-docs-key-type: site - - name: list-id - in: path - description: The unique identifier of list - required: true - schema: - type: string - x-ms-docs-key-type: list - '/sites/{site-id}/lists/{list-id}/lastModifiedByUser/serviceProvisioningErrors': - get: + x-ms-docs-operation-type: operation + delete: tags: - sites.list - summary: Get serviceProvisioningErrors property value - description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance).' - operationId: sites.lists.lastModifiedByUser.ListServiceProvisioningErrors + summary: Delete navigation property operations for sites + operationId: sites.lists.DeleteOperations parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + - name: If-Match + in: header + description: ETag schema: - uniqueItems: true - type: array - items: - type: string + type: string responses: - 2XX: - $ref: '#/components/responses/microsoft.graph.serviceProvisioningErrorCollectionResponse' + '204': + description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore + x-ms-docs-operation-type: operation parameters: - name: site-id in: path @@ -589701,13 +592264,20 @@ paths: schema: type: string x-ms-docs-key-type: list - '/sites/{site-id}/lists/{list-id}/lastModifiedByUser/serviceProvisioningErrors/$count': + - name: richLongRunningOperation-id + in: path + description: The unique identifier of richLongRunningOperation + required: true + schema: + type: string + x-ms-docs-key-type: richLongRunningOperation + '/sites/{site-id}/lists/{list-id}/operations/$count': description: Provides operations to count the resources in the collection. get: tags: - sites.list summary: Get the number of the resource - operationId: sites.lists.lastModifiedByUser.ServiceProvisioningErrors.GetCount-39cb + operationId: sites.lists.operations.GetCount-f5fa parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -589733,14 +592303,13 @@ paths: schema: type: string x-ms-docs-key-type: list - '/sites/{site-id}/lists/{list-id}/operations': - description: Provides operations to manage the operations property of the microsoft.graph.list entity. + '/sites/{site-id}/lists/{list-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. get: tags: - sites.list - summary: Get operations from sites - description: The collection of long-running operations on the list. - operationId: sites.lists.ListOperations + summary: Get permissions from sites + operationId: sites.lists.ListPermissions parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -589779,7 +592348,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.richLongRunningOperationCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: @@ -589791,14 +592360,14 @@ paths: post: tags: - sites.list - summary: Create new navigation property to operations for sites - operationId: sites.lists.CreateOperations + summary: Create new navigation property to permissions for sites + operationId: sites.lists.CreatePermissions requestBody: description: New navigation property content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -589806,7 +592375,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -589827,14 +592396,13 @@ paths: schema: type: string x-ms-docs-key-type: list - '/sites/{site-id}/lists/{list-id}/operations/{richLongRunningOperation-id}': - description: Provides operations to manage the operations property of the microsoft.graph.list entity. + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. get: tags: - sites.list - summary: Get operations from sites - description: The collection of long-running operations on the list. - operationId: sites.lists.GetOperations + summary: Get permissions from sites + operationId: sites.lists.GetPermissions parameters: - name: $select in: query @@ -589862,7 +592430,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -589871,14 +592439,14 @@ paths: patch: tags: - sites.list - summary: Update the navigation property operations in sites - operationId: sites.lists.UpdateOperations + summary: Update the navigation property permissions in sites + operationId: sites.lists.UpdatePermissions requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -589886,7 +592454,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' + $ref: '#/components/schemas/microsoft.graph.permission' 4XX: $ref: '#/components/responses/error' 5XX: @@ -589895,8 +592463,8 @@ paths: delete: tags: - sites.list - summary: Delete navigation property operations for sites - operationId: sites.lists.DeleteOperations + summary: Delete navigation property permissions for sites + operationId: sites.lists.DeletePermissions parameters: - name: If-Match in: header @@ -589926,20 +592494,97 @@ paths: schema: type: string x-ms-docs-key-type: list - - name: richLongRunningOperation-id + - name: permission-id in: path - description: The unique identifier of richLongRunningOperation + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: richLongRunningOperation - '/sites/{site-id}/lists/{list-id}/operations/$count': + x-ms-docs-key-type: permission + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.permissions.permission.grant + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant' + - '/sites/{site-id}/permissions/{permission-id}/grant' + '/sites/{site-id}/lists/{list-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: tags: - sites.list summary: Get the number of the resource - operationId: sites.lists.operations.GetCount-f5fa + operationId: sites.lists.permissions.GetCount-81fd parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -603055,6 +605700,9 @@ paths: schema: type: string x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant' '/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -767552,6 +770200,38 @@ components: '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.cloudPcReport' + microsoft.graph.cloudPcServicePlan: + allOf: + - $ref: '#/components/schemas/microsoft.graph.entity' + - title: cloudPcServicePlan + required: + - '@odata.type' + type: object + properties: + displayName: + type: string + description: The name for the service plan. Read-only. + ramInGB: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The size of the RAM in GB. Read-only. + format: int32 + storageInGB: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The size of the operating system disk in GB. Read-only. + format: int32 + vCpuCount: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The number of vCPUs. Read-only. + format: int32 + '@odata.type': + type: string + x-ms-discriminator-value: '#microsoft.graph.cloudPcServicePlan' microsoft.graph.cloudPcUserSetting: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -770139,6 +772819,11 @@ components: - type: object nullable: true description: 'The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable.' + servicePlans: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfo' + description: The service plans associated with the desk. '@odata.type': type: string default: '#microsoft.graph.desk' @@ -775748,6 +778433,7 @@ components: '#microsoft.graph.cloudPcProvisioningPolicy': '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicy' '#microsoft.graph.cloudPcProvisioningPolicyAssignment': '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicyAssignment' '#microsoft.graph.cloudPcReport': '#/components/schemas/microsoft.graph.cloudPcReport' + '#microsoft.graph.cloudPcServicePlan': '#/components/schemas/microsoft.graph.cloudPcServicePlan' '#microsoft.graph.cloudPcUserSetting': '#/components/schemas/microsoft.graph.cloudPcUserSetting' '#microsoft.graph.cloudPcUserSettingAssignment': '#/components/schemas/microsoft.graph.cloudPcUserSettingAssignment' '#microsoft.graph.columnDefinition': '#/components/schemas/microsoft.graph.columnDefinition' @@ -781061,6 +783747,11 @@ components: $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' description: The collection of long-running operations on the list. x-ms-navigationProperty: true + permissions: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + x-ms-navigationProperty: true subscriptions: type: array items: @@ -781124,6 +783815,11 @@ components: nullable: true description: The values of the columns set on this list item. x-ms-navigationProperty: true + permissions: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + x-ms-navigationProperty: true versions: type: array items: @@ -787014,6 +789710,10 @@ components: type: string description: The phone number of the place. nullable: true + placeId: + type: string + description: A stable service-level identifier for the place object used by Places workloads. + nullable: true tags: type: array items: @@ -790925,10 +793625,6 @@ components: nickname: type: string description: 'Specifies a nickname for the room, for example, ''conf room''.' - placeId: - type: string - description: An alternative immutable unique identifier of the room. Read-only. - nullable: true teamsEnabledState: $ref: '#/components/schemas/microsoft.graph.placeFeatureEnablement' videoDeviceName: @@ -800341,6 +803037,12 @@ components: nullable: true description: Cloud PC-related reports. Read-only. x-ms-navigationProperty: true + servicePlans: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + description: A collection of Cloud PC service plans. + x-ms-navigationProperty: true userSettings: type: array items: @@ -805307,10 +808009,6 @@ components: nickname: type: string description: 'A short, friendly name for the workspace, often used for easier identification or display in the UI.' - placeId: - type: string - description: An alternative immutable unique identifier of the workspace. Read-only. - nullable: true '@odata.type': type: string default: '#microsoft.graph.workspace' @@ -822287,6 +824985,18 @@ components: '#microsoft.graph.dropInPlaceMode': '#/components/schemas/microsoft.graph.dropInPlaceMode' '#microsoft.graph.reservablePlaceMode': '#/components/schemas/microsoft.graph.reservablePlaceMode' '#microsoft.graph.unavailablePlaceMode': '#/components/schemas/microsoft.graph.unavailablePlaceMode' + microsoft.graph.placeServicePlanInfo: + title: placeServicePlanInfo + required: + - '@odata.type' + type: object + properties: + servicePlanId: + type: string + description: The service plan identifier. + nullable: true + '@odata.type': + type: string microsoft.graph.plannerAppliedCategories: title: plannerAppliedCategories required: @@ -870106,6 +872816,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicy' + microsoft.graph.cloudPcServicePlanCollectionResponse: + title: Collection of cloudPcServicePlan + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' microsoft.graph.cloudPcUserSettingCollectionResponse: title: Collection of cloudPcUserSetting type: object @@ -874836,6 +877557,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' + microsoft.graph.placeServicePlanInfoCollectionResponse: + title: Collection of microsoft.graph.placeServicePlanInfo + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfo' microsoft.graph.alternativeSecurityIdCollectionResponse: title: Collection of microsoft.graph.alternativeSecurityId type: object @@ -880987,6 +883719,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicyCollectionResponse' + microsoft.graph.cloudPcServicePlanCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlanCollectionResponse' microsoft.graph.cloudPcUserSettingCollectionResponse: description: Retrieved collection content: @@ -883567,6 +886305,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.keyValuePairCollectionResponse' + microsoft.graph.placeServicePlanInfoCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfoCollectionResponse' microsoft.graph.alternativeSecurityIdCollectionResponse: description: Retrieved collection content: @@ -887338,6 +890082,12 @@ components: '@odata.type': microsoft.graph.cloudPcManagementAssignmentTarget microsoft.graph.cloudPcReport: value: { } + microsoft.graph.cloudPcServicePlan: + value: + displayName: String + ramInGB: '0' + storageInGB: '0' + vCpuCount: '0' microsoft.graph.cloudPcUserSetting: value: assignments: @@ -888048,6 +890798,8 @@ components: '@odata.type': microsoft.graph.mailboxDetails mode: '@odata.type': microsoft.graph.placeMode + servicePlans: + - '@odata.type': microsoft.graph.placeServicePlanInfo microsoft.graph.detectedApp: value: deviceCount: '0' @@ -890606,6 +893358,8 @@ components: '@odata.type': microsoft.graph.listInfo operations: - '@odata.type': microsoft.graph.richLongRunningOperation + permissions: + - '@odata.type': microsoft.graph.permission sharepointIds: '@odata.type': microsoft.graph.sharepointIds subscriptions: @@ -890626,6 +893380,8 @@ components: '@odata.type': microsoft.graph.driveItem fields: '@odata.type': microsoft.graph.fieldValueSet + permissions: + - '@odata.type': microsoft.graph.permission sharepointIds: '@odata.type': microsoft.graph.sharepointIds versions: @@ -892085,6 +894841,7 @@ components: label: String parentId: String phone: String + placeId: String tags: - String microsoft.graph.planner: @@ -893070,7 +895827,6 @@ components: floorLabel: String floorNumber: '0' nickname: String - placeId: String teamsEnabledState: '@odata.type': microsoft.graph.placeFeatureEnablement videoDeviceName: String @@ -895428,6 +898184,8 @@ components: - '@odata.type': microsoft.graph.cloudPcProvisioningPolicy report: '@odata.type': microsoft.graph.cloudPcReport + servicePlans: + - '@odata.type': microsoft.graph.cloudPcServicePlan userSettings: - '@odata.type': microsoft.graph.cloudPcUserSetting microsoft.graph.virtualEvent: @@ -896765,7 +899523,6 @@ components: mode: '@odata.type': microsoft.graph.placeMode nickname: String - placeId: String microsoft.graph.x509CertificateAuthenticationMethodConfiguration: value: authenticationModeConfiguration: @@ -901076,6 +903833,9 @@ components: thumbprint: String microsoft.graph.placeMode: value: { } + microsoft.graph.placeServicePlanInfo: + value: + servicePlanId: String microsoft.graph.plannerAppliedCategories: value: { } microsoft.graph.plannerAssignment: diff --git a/openapi/v1.0/powershell_v2.yaml b/openapi/v1.0/powershell_v2.yaml index 7d01a190..e911326e 100644 --- a/openapi/v1.0/powershell_v2.yaml +++ b/openapi/v1.0/powershell_v2.yaml @@ -91029,6 +91029,123 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /deviceManagement/virtualEndpoint/servicePlans: + description: Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. + get: + tags: + - deviceManagement.virtualEndpoint + summary: List servicePlans + description: 'List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, the Microsoft Graph API is available for Windows 365 Enterprise.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/virtualendpoint-list-serviceplans?view=graph-rest-1.0 + operationId: deviceManagement.virtualEndpoint.ListServicePlans + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.cloudPcServicePlanCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/deviceManagement/virtualEndpoint/servicePlans/{cloudPcServicePlan-id}': + description: Provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. + get: + tags: + - deviceManagement.virtualEndpoint + summary: Get servicePlans from deviceManagement + description: A collection of Cloud PC service plans. + operationId: deviceManagement.virtualEndpoint.GetServicePlans + parameters: + - name: cloudPcServicePlan-id + in: path + description: The unique identifier of cloudPcServicePlan + required: true + schema: + type: string + x-ms-docs-key-type: cloudPcServicePlan + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /deviceManagement/virtualEndpoint/servicePlans/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - deviceManagement.virtualEndpoint + summary: Get the number of the resource + operationId: deviceManagement.virtualEndpoint.servicePlans.GetCount-3a18 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /deviceManagement/virtualEndpoint/userSettings: description: Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. get: @@ -111355,14 +111472,13 @@ paths: - '/drive/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drive/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drive/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.driveItem - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.items.listItem.ListVersions + summary: Get permissions from drive + operationId: drive.items.listItem.ListPermissions parameters: - name: driveItem-id in: path @@ -111408,7 +111524,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -111418,8 +111534,8 @@ paths: post: tags: - drive.driveItem - summary: Create new navigation property to versions for drive - operationId: drive.items.listItem.CreateVersions + summary: Create new navigation property to permissions for drive + operationId: drive.items.listItem.CreatePermissions parameters: - name: driveItem-id in: path @@ -111433,7 +111549,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -111441,21 +111557,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/list/items/{listItem-id}/versions' - - /drive/root/listItem/versions - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drive/list/items/{listItem-id}/permissions' + - /drive/root/listItem/permissions + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.driveItem - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.items.listItem.GetVersions + summary: Get permissions from drive + operationId: drive.items.listItem.GetPermissions parameters: - name: driveItem-id in: path @@ -111464,13 +111579,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -111497,15 +111612,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drive.driveItem - summary: Update the navigation property versions in drive - operationId: drive.items.listItem.UpdateVersions + summary: Update the navigation property permissions in drive + operationId: drive.items.listItem.UpdatePermissions parameters: - name: driveItem-id in: path @@ -111514,19 +111629,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -111534,15 +111649,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - drive.driveItem - summary: Delete navigation property versions for drive - operationId: drive.items.listItem.DeleteVersions + summary: Delete navigation property permissions for drive + operationId: drive.items.listItem.DeletePermissions parameters: - name: driveItem-id in: path @@ -111551,13 +111666,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -111570,16 +111685,86 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/drive/root/listItem/versions/{listItemVersion-id}' - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/drive/list/items/{listItem-id}/permissions/{permission-id}' + - '/drive/root/listItem/permissions/{permission-id}' + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drive.driveItem - summary: Get fields from drive - description: A collection of the fields and values for this version of the list item. - operationId: drive.items.listItem.versions.GetFields + summary: Get the number of the resource + operationId: drive.items.listItem.permissions.GetCount-58b1 parameters: - name: driveItem-id in: path @@ -111588,13 +111773,253 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drive/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.items.listItem.ListVersions + parameters: + - name: driveItem-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of driveItem required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.driveItem + summary: Create new navigation property to versions for drive + operationId: drive.items.listItem.CreateVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/list/items/{listItem-id}/versions' + - /drive/root/listItem/versions + '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.items.listItem.GetVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.driveItem + summary: Update the navigation property versions in drive + operationId: drive.items.listItem.UpdateVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.driveItem + summary: Delete navigation property versions for drive + operationId: drive.items.listItem.DeleteVersions + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/drive/root/listItem/versions/{listItemVersion-id}' + '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drive.driveItem + summary: Get fields from drive + description: A collection of the fields and values for this version of the list item. + operationId: drive.items.listItem.versions.GetFields + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion - name: $select in: query description: Select properties to be returned @@ -113128,6 +113553,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' '/drive/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -117706,14 +118135,13 @@ paths: - '/drive/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drive/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drive/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.list - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.list.items.ListVersions + summary: Get permissions from drive + operationId: drive.list.items.ListPermissions parameters: - name: listItem-id in: path @@ -117759,7 +118187,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -117769,8 +118197,8 @@ paths: post: tags: - drive.list - summary: Create new navigation property to versions for drive - operationId: drive.list.items.CreateVersions + summary: Create new navigation property to permissions for drive + operationId: drive.list.items.CreatePermissions parameters: - name: listItem-id in: path @@ -117784,7 +118212,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -117792,21 +118220,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/items/{driveItem-id}/listItem/versions' - - /drive/root/listItem/versions - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drive/items/{driveItem-id}/listItem/permissions' + - /drive/root/listItem/permissions + '/drive/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drive.list - summary: Get versions from drive - description: The list of previous versions of the list item. - operationId: drive.list.items.GetVersions + summary: Get permissions from drive + operationId: drive.list.items.GetPermissions parameters: - name: listItem-id in: path @@ -117815,13 +118242,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -117848,15 +118275,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - drive.list - summary: Update the navigation property versions in drive - operationId: drive.list.items.UpdateVersions + summary: Update the navigation property permissions in drive + operationId: drive.list.items.UpdatePermissions parameters: - name: listItem-id in: path @@ -117865,19 +118292,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -117885,15 +118312,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - drive.list - summary: Delete navigation property versions for drive - operationId: drive.list.items.DeleteVersions + summary: Delete navigation property permissions for drive + operationId: drive.list.items.DeletePermissions parameters: - name: listItem-id in: path @@ -117902,13 +118329,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -117921,16 +118348,86 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/drive/root/listItem/versions/{listItemVersion-id}' - '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drive/root/listItem/permissions/{permission-id}' + '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.list.items.listItem.permissions.permission.grant + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - drive.list - summary: Get fields from drive - description: A collection of the fields and values for this version of the list item. - operationId: drive.list.items.versions.GetFields + summary: Get the number of the resource + operationId: drive.list.items.permissions.GetCount-775c parameters: - name: listItem-id in: path @@ -117939,13 +118436,253 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drive/list/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.list + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.list.items.ListVersions + parameters: + - name: listItem-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of listItem required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.list + summary: Create new navigation property to versions for drive + operationId: drive.list.items.CreateVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/versions' + - /drive/root/listItem/versions + '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.list + summary: Get versions from drive + description: The list of previous versions of the list item. + operationId: drive.list.items.GetVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.list + summary: Update the navigation property versions in drive + operationId: drive.list.items.UpdateVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.list + summary: Delete navigation property versions for drive + operationId: drive.list.items.DeleteVersions + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/drive/root/listItem/versions/{listItemVersion-id}' + '/drive/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - drive.list + summary: Get fields from drive + description: A collection of the fields and values for this version of the list item. + operationId: drive.list.items.versions.GetFields + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion - name: $select in: query description: Select properties to be returned @@ -118628,6 +119365,258 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + /drive/list/permissions: + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drive.list + summary: Get permissions from drive + operationId: drive.list.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.list + summary: Create new navigation property to permissions for drive + operationId: drive.list.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drive/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drive.list + summary: Get permissions from drive + operationId: drive.list.GetPermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.list + summary: Update the navigation property permissions in drive + operationId: drive.list.UpdatePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.list + summary: Delete navigation property permissions for drive + operationId: drive.list.DeletePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drive/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.list.permissions.permission.grant + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + /drive/list/permissions/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - drive.list + summary: Get the number of the resource + operationId: drive.list.permissions.GetCount-ce39 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /drive/list/subscriptions: description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -121709,6 +122698,264 @@ paths: - /drive/root/listItem/microsoft.graph.getActivitiesByInterval() - /drive/root/microsoft.graph.getActivitiesByInterval() - '/drive/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + /drive/root/listItem/permissions: + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get permissions from drive + operationId: drive.root.listItem.ListPermissions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drive.driveItem + summary: Create new navigation property to permissions for drive + operationId: drive.root.listItem.CreatePermissions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions' + - '/drive/list/items/{listItem-id}/permissions' + '/drive/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drive.driveItem + summary: Get permissions from drive + operationId: drive.root.listItem.GetPermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drive.driveItem + summary: Update the navigation property permissions in drive + operationId: drive.root.listItem.UpdatePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drive.driveItem + summary: Delete navigation property permissions for drive + operationId: drive.root.listItem.DeletePermissions + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}' + '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drive.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drive.root.listItem.permissions.permission.grant + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + /drive/root/listItem/permissions/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - drive.driveItem + summary: Get the number of the resource + operationId: drive.root.listItem.permissions.GetCount-61a6 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /drive/root/listItem/versions: description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -123213,7 +124460,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' /drive/root/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -129001,14 +130252,13 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.driveItem - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.items.listItem.ListVersions + summary: Get permissions from drives + operationId: drives.items.listItem.ListPermissions parameters: - name: drive-id in: path @@ -129061,7 +130311,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -129071,8 +130321,8 @@ paths: post: tags: - drives.driveItem - summary: Create new navigation property to versions for drives - operationId: drives.items.listItem.CreateVersions + summary: Create new navigation property to permissions for drives + operationId: drives.items.listItem.CreatePermissions parameters: - name: drive-id in: path @@ -129093,7 +130343,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -129101,21 +130351,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/drives/{drive-id}/root/listItem/versions' - '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/drives/{drive-id}/root/listItem/permissions' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - drives.driveItem - summary: Get versions from drives - description: The list of previous versions of the list item. - operationId: drives.items.listItem.GetVersions + summary: Get permissions from drives + operationId: drives.items.listItem.GetPermissions parameters: - name: drive-id in: path @@ -129131,13 +130380,372 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.driveItem + summary: Update the navigation property permissions in drives + operationId: drives.items.listItem.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.driveItem + summary: Delete navigation property permissions for drives + operationId: drives.items.listItem.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.driveItem + summary: Get the number of the resource + operationId: drives.items.listItem.permissions.GetCount-6011 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/drives/{drive-id}/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.items.listItem.ListVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.driveItem + summary: Create new navigation property to versions for drives + operationId: drives.items.listItem.CreateVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/drives/{drive-id}/root/listItem/versions' + '/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get versions from drives + description: The list of previous versions of the list item. + operationId: drives.items.listItem.GetVersions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion - name: $select in: query description: Select properties to be returned @@ -131026,6 +132634,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -136456,6 +138068,363 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.items.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.list + summary: Create new navigation property to permissions for drives + operationId: drives.list.items.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/drives/{drive-id}/root/listItem/permissions' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.items.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.list + summary: Update the navigation property permissions in drives + operationId: drives.list.items.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.list + summary: Delete navigation property permissions for drives + operationId: drives.list.items.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.list + summary: Get the number of the resource + operationId: drives.list.items.permissions.GetCount-846d + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -137563,6 +139532,308 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.list + summary: Create new navigation property to permissions for drives + operationId: drives.list.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - drives.list + summary: Get permissions from drives + operationId: drives.list.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.list + summary: Update the navigation property permissions in drives + operationId: drives.list.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.list + summary: Delete navigation property permissions for drives + operationId: drives.list.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.list.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.list + summary: Get the number of the resource + operationId: drives.list.permissions.GetCount-1e72 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -141275,6 +143546,314 @@ paths: - '/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get permissions from drives + operationId: drives.root.listItem.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - drives.driveItem + summary: Create new navigation property to permissions for drives + operationId: drives.root.listItem.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - drives.driveItem + summary: Get permissions from drives + operationId: drives.root.listItem.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - drives.driveItem + summary: Update the navigation property permissions in drives + operationId: drives.root.listItem.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - drives.driveItem + summary: Delete navigation property permissions for drives + operationId: drives.root.listItem.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - drives.driveItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - drives.driveItem + summary: Get the number of the resource + operationId: drives.root.listItem.permissions.GetCount-a6dd + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -143048,7 +145627,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -179340,6 +181923,417 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.items.listItem.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.items.listItem.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.items.listItem.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.items.listItem.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.items.listItem.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.items.listItem.permissions.GetCount-7486 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -181686,7 +184680,13 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -188060,6 +191060,417 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.items.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.list.items.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.items.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.list.items.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.list.items.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.list.items.permissions.GetCount-d4e2 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -189351,6 +192762,364 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/groups/{group-id}/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.list.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.list.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.list.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.list.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.list.permissions.GetCount-66b3 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -193737,6 +197506,368 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.root.listItem.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to permissions for groups + operationId: groups.drives.root.listItem.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get permissions from groups + operationId: groups.drives.root.listItem.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.drive + summary: Update the navigation property permissions in groups + operationId: groups.drives.root.listItem.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.drive + summary: Delete navigation property permissions for groups + operationId: groups.drives.root.listItem.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.drive + summary: Get the number of the resource + operationId: groups.drives.root.listItem.permissions.GetCount-6242 + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/groups/{group-id}/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -195831,7 +199962,13 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. @@ -226217,14 +230354,13 @@ paths: - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/groups/{group-id}/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.site - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.sites.lists.items.ListVersions + summary: Get permissions from groups + operationId: groups.sites.lists.items.ListPermissions parameters: - name: group-id in: path @@ -226291,7 +230427,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -226301,8 +230437,8 @@ paths: post: tags: - groups.site - summary: Create new navigation property to versions for groups - operationId: groups.sites.lists.items.CreateVersions + summary: Create new navigation property to permissions for groups + operationId: groups.sites.lists.items.CreatePermissions parameters: - name: group-id in: path @@ -226337,7 +230473,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -226345,22 +230481,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - groups.site - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.sites.lists.items.GetVersions + summary: Get permissions from groups + operationId: groups.sites.lists.items.GetPermissions parameters: - name: group-id in: path @@ -226390,13 +230525,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -226423,15 +230558,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.site - summary: Update the navigation property versions in groups - operationId: groups.sites.lists.items.UpdateVersions + summary: Update the navigation property permissions in groups + operationId: groups.sites.lists.items.UpdatePermissions parameters: - name: group-id in: path @@ -226461,19 +230596,19 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -226481,15 +230616,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.site - summary: Delete navigation property versions for groups - operationId: groups.sites.lists.items.DeleteVersions + summary: Delete navigation property permissions for groups + operationId: groups.sites.lists.items.DeletePermissions parameters: - name: group-id in: path @@ -226519,13 +230654,13 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -226538,17 +230673,20 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. - get: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - groups.site - summary: Get fields from groups - description: A collection of the fields and values for this version of the list item. - operationId: groups.sites.lists.items.versions.GetFields + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.permissions.permission.grant parameters: - name: group-id in: path @@ -226578,48 +230716,68 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: 2XX: - description: Retrieved navigation property + description: Success content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.site - summary: Update the navigation property fields in groups - operationId: groups.sites.lists.items.versions.UpdateFields + summary: Get the number of the resource + operationId: groups.sites.lists.items.permissions.GetCount-4a70 parameters: - name: group-id in: path @@ -226649,35 +230807,21 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - required: true + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: 2XX: - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - groups.site - summary: Delete navigation property fields for groups - operationId: groups.sites.lists.items.versions.DeleteFields + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.sites.lists.items.ListVersions parameters: - name: group-id in: path @@ -226707,43 +230851,55 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string responses: - '204': - description: Success + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' default: $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': - description: Provides operations to call the restoreVersion method. post: tags: - groups.site - summary: Invoke action restoreVersion - description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 - operationId: groups.group.sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion + summary: Create new navigation property to versions for groups + operationId: groups.sites.lists.items.CreateVersions parameters: - name: group-id in: path @@ -226773,32 +230929,473 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true responses: - '204': - description: Success + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/groups/{group-id}/drives/{drive-id}/root/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/$count': - description: Provides operations to count the resources in the collection. + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: tags: - groups.site - summary: Get the number of the resource - operationId: groups.sites.lists.items.versions.GetCount-1c13 + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.sites.lists.items.GetVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property versions in groups + operationId: groups.sites.lists.items.UpdateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property versions for groups + operationId: groups.sites.lists.items.DeleteVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - groups.site + summary: Get fields from groups + description: A collection of the fields and values for this version of the list item. + operationId: groups.sites.lists.items.versions.GetFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property fields in groups + operationId: groups.sites.lists.items.versions.UpdateFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property fields for groups + operationId: groups.sites.lists.items.versions.DeleteFields + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': + description: Provides operations to call the restoreVersion method. + post: + tags: + - groups.site + summary: Invoke action restoreVersion + description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/groups/{group-id}/drives/{drive-id}/root/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.site + summary: Get the number of the resource + operationId: groups.sites.lists.items.versions.GetCount-1c13 parameters: - name: group-id in: path @@ -227669,14 +232266,421 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': - description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. get: tags: - groups.site - summary: Get subscriptions from groups - description: The set of subscriptions on the list. - operationId: groups.sites.lists.ListSubscriptions + summary: Get permissions from groups + operationId: groups.sites.lists.ListPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.site + summary: Create new navigation property to permissions for groups + operationId: groups.sites.lists.CreatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/permissions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - groups.site + summary: Get permissions from groups + operationId: groups.sites.lists.GetPermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - groups.site + summary: Update the navigation property permissions in groups + operationId: groups.sites.lists.UpdatePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - groups.site + summary: Delete navigation property permissions for groups + operationId: groups.sites.lists.DeletePermissions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - groups.site + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.permissions.permission.grant + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - groups.site + summary: Get the number of the resource + operationId: groups.sites.lists.permissions.GetCount-dd2e + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': + description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + get: + tags: + - groups.site + summary: Get subscriptions from groups + description: The set of subscriptions on the list. + operationId: groups.sites.lists.ListSubscriptions parameters: - name: group-id in: path @@ -244408,8 +249412,14 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' '/groups/{group-id}/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -411727,6 +416737,363 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.items.listItem.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.items.listItem.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/me/drives/{drive-id}/root/listItem/permissions' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.items.listItem.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.items.listItem.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.items.listItem.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.items.listItem.permissions.GetCount-e3f0 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/items/{driveItem-id}/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -413859,6 +419226,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/me/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -419280,6 +424651,363 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.items.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.list.items.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/me/drives/{drive-id}/root/listItem/permissions' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.items.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.list.items.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.list.items.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.list.items.permissions.GetCount-02b5 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -420435,6 +426163,308 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/me/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.list.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.list.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.list.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.list.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.list.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.list.permissions.GetCount-8386 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -424151,6 +430181,314 @@ paths: - '/me/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/me/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/me/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.root.listItem.ListPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.drive + summary: Create new navigation property to permissions for me + operationId: me.drives.root.listItem.CreatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - me.drive + summary: Get permissions from me + operationId: me.drives.root.listItem.GetPermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.drive + summary: Update the navigation property permissions in me + operationId: me.drives.root.listItem.UpdatePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.drive + summary: Delete navigation property permissions for me + operationId: me.drives.root.listItem.DeletePermissions + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - me.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: me.drives.drive.root.listItem.permissions.permission.grant + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - me.drive + summary: Get the number of the resource + operationId: me.drives.root.listItem.permissions.GetCount-eae2 + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/me/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -426031,7 +432369,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/me/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -560567,6 +566909,359 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.items.ListPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.list + summary: Create new navigation property to permissions for shares + operationId: shares.list.items.CreatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/listItem/permissions' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.items.GetPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property permissions in shares + operationId: shares.list.items.UpdatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property permissions for shares + operationId: shares.list.items.DeletePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.list + summary: Get the number of the resource + operationId: shares.list.items.permissions.GetCount-6dda + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -561634,6 +568329,306 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/shares/{sharedDriveItem-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.ListPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.list + summary: Create new navigation property to permissions for shares + operationId: shares.list.CreatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - shares.list + summary: Get permissions from shares + operationId: shares.list.GetPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property permissions in shares + operationId: shares.list.UpdatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property permissions for shares + operationId: shares.list.DeletePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.list + summary: Get the number of the resource + operationId: shares.list.permissions.GetCount-ca68 + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/shares/{sharedDriveItem-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -563325,6 +570320,310 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/shares/{sharedDriveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + '/shares/{sharedDriveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.listItem + summary: Get permissions from shares + operationId: shares.listItem.ListPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - shares.listItem + summary: Create new navigation property to permissions for shares + operationId: shares.listItem.CreatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - shares.listItem + summary: Get permissions from shares + operationId: shares.listItem.GetPermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.listItem + summary: Update the navigation property permissions in shares + operationId: shares.listItem.UpdatePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.listItem + summary: Delete navigation property permissions for shares + operationId: shares.listItem.DeletePermissions + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.listItem + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.listItem.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - shares.listItem + summary: Get the number of the resource + operationId: shares.listItem.permissions.GetCount-9bfb + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/shares/{sharedDriveItem-id}/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -563879,6 +571178,10 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' '/shares/{sharedDriveItem-id}/root': description: Provides operations to manage the root property of the microsoft.graph.sharedDriveItem entity. get: @@ -572560,6 +579863,403 @@ paths: - '/sites/{site-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval()' - '/sites/{site-id}/microsoft.graph.getByPath(path=''{path}'')/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.items.ListPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to permissions for sites + operationId: sites.lists.items.CreatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.items.GetPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property permissions in sites + operationId: sites.lists.items.UpdatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property permissions for sites + operationId: sites.lists.items.DeletePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.grant + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - sites.list + summary: Get the number of the resource + operationId: sites.lists.items.permissions.GetCount-68c2 + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -573790,6 +581490,354 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/sites/{site-id}/lists/{list-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.ListPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to permissions for sites + operationId: sites.lists.CreatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - sites.list + summary: Get permissions from sites + operationId: sites.lists.GetPermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property permissions in sites + operationId: sites.lists.UpdatePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property permissions for sites + operationId: sites.lists.DeletePermissions + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.permissions.permission.grant + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - sites.list + summary: Get the number of the resource + operationId: sites.lists.permissions.GetCount-81fd + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/sites/{site-id}/lists/{list-id}/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -587965,6 +596013,9 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' '/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -706674,14 +714725,13 @@ paths: - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Get versions from users - description: The list of previous versions of the list item. - operationId: users.drives.items.listItem.ListVersions + summary: Get permissions from users + operationId: users.drives.items.listItem.ListPermissions parameters: - name: user-id in: path @@ -706741,7 +714791,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: @@ -706751,8 +714801,8 @@ paths: post: tags: - users.drive - summary: Create new navigation property to versions for users - operationId: users.drives.items.listItem.CreateVersions + summary: Create new navigation property to permissions for users + operationId: users.drives.items.listItem.CreatePermissions parameters: - name: user-id in: path @@ -706780,7 +714830,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -706788,21 +714838,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Get versions from users - description: The list of previous versions of the list item. - operationId: users.drives.items.listItem.GetVersions + summary: Get permissions from users + operationId: users.drives.items.listItem.GetPermissions parameters: - name: user-id in: path @@ -706825,13 +714874,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: $select in: query description: Select properties to be returned @@ -706858,15 +714907,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.drive - summary: Update the navigation property versions in users - operationId: users.drives.items.listItem.UpdateVersions + summary: Update the navigation property permissions in users + operationId: users.drives.items.listItem.UpdatePermissions parameters: - name: user-id in: path @@ -706889,19 +714938,19 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' required: true responses: 2XX: @@ -706909,15 +714958,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.drive - summary: Delete navigation property versions for users - operationId: users.drives.items.listItem.DeleteVersions + summary: Delete navigation property permissions for users + operationId: users.drives.items.listItem.DeletePermissions parameters: - name: user-id in: path @@ -706940,13 +714989,13 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission - name: If-Match in: header description: ETag @@ -706959,80 +715008,19 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': - description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. - get: - tags: - - users.drive - summary: Get fields from users - description: A collection of the fields and values for this version of the list item. - operationId: users.drives.items.listItem.versions.GetFields - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - responses: - 2XX: - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Update the navigation property fields in users - operationId: users.drives.items.listItem.versions.UpdateFields + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant parameters: - name: user-id in: path @@ -707055,19 +715043,29 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id + - name: permission-id in: path - description: The unique identifier of listItemVersion + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: 2XX: @@ -707075,72 +715073,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.drive - summary: Delete navigation property fields for users - operationId: users.drives.items.listItem.versions.DeleteFields - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' - - '/users/{user-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': - description: Provides operations to call the restoreVersion method. - post: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - users.drive - summary: Invoke action restoreVersion - description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 - operationId: users.user.drives.drive.items.driveItem.listItem.versions.listItemVersion.restoreVersion + summary: Get the number of the resource + operationId: users.drives.items.listItem.permissions.GetCount-73f7 parameters: - name: user-id in: path @@ -707163,31 +715124,527 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '204': - description: Success + 2XX: + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' - - '/users/{user-id}/drives/{drive-id}/root/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/$count': - description: Provides operations to count the resources in the collection. + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: tags: - users.drive - summary: Get the number of the resource - operationId: users.drives.items.listItem.versions.GetCount-ddf2 + summary: Get versions from users + description: The list of previous versions of the list item. + operationId: users.drives.items.listItem.ListVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to versions for users + operationId: users.drives.items.listItem.CreateVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get versions from users + description: The list of previous versions of the list item. + operationId: users.drives.items.listItem.GetVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property versions in users + operationId: users.drives.items.listItem.UpdateVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property versions for users + operationId: users.drives.items.listItem.DeleteVersions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/fields': + description: Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. + get: + tags: + - users.drive + summary: Get fields from users + description: A collection of the fields and values for this version of the list item. + operationId: users.drives.items.listItem.versions.GetFields + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property fields in users + operationId: users.drives.items.listItem.versions.UpdateFields + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property fields for users + operationId: users.drives.items.listItem.versions.DeleteFields + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/documentSetVersions/{documentSetVersion-id}/fields' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields' + - '/users/{user-id}/drives/{drive-id}/root/listItem/documentSetVersions/{documentSetVersion-id}/fields' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/fields' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': + description: Provides operations to call the restoreVersion method. + post: + tags: + - users.drive + summary: Invoke action restoreVersion + description: 'Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.versions.listItemVersion.restoreVersion + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/users/{user-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}/microsoft.graph.restoreVersion' + - '/users/{user-id}/drives/{drive-id}/root/versions/{driveItemVersion-id}/microsoft.graph.restoreVersion' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.items.listItem.versions.GetCount-ddf2 parameters: - name: user-id in: path @@ -709062,6 +717519,10 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. @@ -715316,6 +723777,412 @@ paths: - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.items.ListPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to permissions for users + operationId: users.drives.list.items.CreatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.items.GetPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.list.items.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.list.items.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.items.listItem.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.list.items.permissions.GetCount-8844 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -716636,6 +725503,357 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + '/users/{user-id}/drives/{drive-id}/list/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.ListPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to permissions for users + operationId: users.drives.list.CreatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.list entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.list.GetPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.list.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.list.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.list.permissions.GetCount-f27b + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/users/{user-id}/drives/{drive-id}/list/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: @@ -720657,19 +729875,487 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.serviceProvisioningErrorCollectionResponse' + $ref: '#/components/responses/microsoft.graph.serviceProvisioningErrorCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + '/users/{user-id}/drives/{drive-id}/root/listItem/lastModifiedByUser/serviceProvisioningErrors/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.drive + summary: Get the number of the resource + operationId: users.drives.root.listItem.lastModifiedByUser.ServiceProvisioningErrors.GetCount-2c1d + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.createLink': + description: Provides operations to call the createLink method. + post: + tags: + - users.drive + summary: Invoke action createLink + operationId: users.user.drives.drive.root.listItem.createLink + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + type: + type: string + nullable: true + scope: + type: string + nullable: true + expirationDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + password: + type: string + nullable: true + message: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + retainInheritedPermissions: + type: boolean + default: false + nullable: true + sendNotification: + type: boolean + default: false + nullable: true + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.createLink' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.createLink' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.createLink' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.createLink' + '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()': + description: Provides operations to call the getActivitiesByInterval method. + get: + tags: + - users.drive + summary: Invoke function getActivitiesByInterval + operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-96b0 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of itemActivityStat + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')': + description: Provides operations to call the getActivitiesByInterval method. + get: + tags: + - users.drive + summary: Invoke function getActivitiesByInterval + operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-9468 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: startDateTime + in: path + description: 'Usage: startDateTime=''{startDateTime}''' + required: true + schema: + type: string + nullable: true + - name: endDateTime + in: path + description: 'Usage: endDateTime=''{endDateTime}''' + required: true + schema: + type: string + nullable: true + - name: interval + in: path + description: 'Usage: interval=''{interval}''' + required: true + schema: + type: string + nullable: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of itemActivityStat + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' + - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.root.listItem.ListPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.permissionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - users.drive + summary: Create new navigation property to permissions for users + operationId: users.drives.root.listItem.CreatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}': + description: Provides operations to manage the permissions property of the microsoft.graph.listItem entity. + get: + tags: + - users.drive + summary: Get permissions from users + operationId: users.drives.root.listItem.GetPermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - '/users/{user-id}/drives/{drive-id}/root/listItem/lastModifiedByUser/serviceProvisioningErrors/$count': - description: Provides operations to count the resources in the collection. - get: + x-ms-docs-operation-type: operation + patch: tags: - users.drive - summary: Get the number of the resource - operationId: users.drives.root.listItem.lastModifiedByUser.ServiceProvisioningErrors.GetCount-2c1d + summary: Update the navigation property permissions in users + operationId: users.drives.root.listItem.UpdatePermissions parameters: - name: user-id in: path @@ -720685,20 +730371,35 @@ paths: schema: type: string x-ms-docs-key-type: drive - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true responses: 2XX: - $ref: '#/components/responses/ODataCountResponse' + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.createLink': - description: Provides operations to call the createLink method. - post: + x-ms-docs-operation-type: operation + delete: tags: - users.drive - summary: Invoke action createLink - operationId: users.user.drives.drive.root.listItem.createLink + summary: Delete navigation property permissions for users + operationId: users.drives.root.listItem.DeletePermissions parameters: - name: user-id in: path @@ -720714,68 +730415,38 @@ paths: schema: type: string x-ms-docs-key-type: drive - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - type: - type: string - nullable: true - scope: - type: string - nullable: true - expirationDateTime: - pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' - type: string - format: date-time - nullable: true - password: - type: string - nullable: true - message: - type: string - nullable: true - recipients: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.driveRecipient' - retainInheritedPermissions: - type: boolean - default: false - nullable: true - sendNotification: - type: boolean - default: false - nullable: true - required: true + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string responses: - 2XX: + '204': description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/microsoft.graph.permission' - - type: object - nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.createLink' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.createLink' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.createLink' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.createLink' - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()': - description: Provides operations to call the getActivitiesByInterval method. - get: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Invoke function getActivitiesByInterval - operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-96b0 + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.listItem.permissions.permission.grant parameters: - name: user-id in: path @@ -720791,80 +730462,65 @@ paths: schema: type: string x-ms-docs-key-type: drive - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + - name: permission-id + in: path + description: The unique identifier of permission + required: true schema: - uniqueItems: true - type: array - items: - type: string + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: 2XX: description: Success content: application/json: schema: - title: Collection of itemActivityStat + title: Collection of permission type: object properties: value: type: array items: - $ref: '#/components/schemas/microsoft.graph.itemActivityStat' + $ref: '#/components/schemas/microsoft.graph.permission' '@odata.nextLink': type: string nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')': - description: Provides operations to call the getActivitiesByInterval method. + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - users.drive - summary: Invoke function getActivitiesByInterval - operationId: users.user.drives.drive.root.listItem.getActivitiesByInterval-9468 + summary: Get the number of the resource + operationId: users.drives.root.listItem.permissions.GetCount-ad29 parameters: - name: user-id in: path @@ -720880,94 +730536,13 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: startDateTime - in: path - description: 'Usage: startDateTime=''{startDateTime}''' - required: true - schema: - type: string - nullable: true - - name: endDateTime - in: path - description: 'Usage: endDateTime=''{endDateTime}''' - required: true - schema: - type: string - nullable: true - - name: interval - in: path - description: 'Usage: interval=''{interval}''' - required: true - schema: - type: string - nullable: true - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string responses: 2XX: - description: Success - content: - application/json: - schema: - title: Collection of itemActivityStat - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.itemActivityStat' - '@odata.nextLink': - type: string - nullable: true + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' - - '/users/{user-id}/drives/{drive-id}/root/listItem/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval()' - - '/users/{user-id}/drives/{drive-id}/root/microsoft.graph.getActivitiesByInterval(startDateTime=''{startDateTime}'',endDateTime=''{endDateTime}'',interval=''{interval}'')' '/users/{user-id}/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: @@ -723104,7 +732679,11 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' '/users/{user-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -790479,6 +800058,33 @@ components: - $ref: '#/components/schemas/microsoft.graph.entity' - title: cloudPcReport type: object + microsoft.graph.cloudPcServicePlan: + allOf: + - $ref: '#/components/schemas/microsoft.graph.entity' + - title: cloudPcServicePlan + type: object + properties: + displayName: + type: string + description: The name for the service plan. Read-only. + ramInGB: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The size of the RAM in GB. Read-only. + format: int32 + storageInGB: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The size of the operating system disk in GB. Read-only. + format: int32 + vCpuCount: + maximum: 2147483647 + minimum: -2147483648 + type: number + description: The number of vCPUs. Read-only. + format: int32 microsoft.graph.cloudPcUserSetting: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -792692,6 +802298,11 @@ components: - type: object nullable: true description: 'The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable.' + servicePlans: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfo' + description: The service plans associated with the desk. microsoft.graph.detectedApp: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -801125,6 +810736,11 @@ components: $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' description: The collection of long-running operations on the list. x-ms-navigationProperty: true + permissions: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + x-ms-navigationProperty: true subscriptions: type: array items: @@ -801182,6 +810798,11 @@ components: nullable: true description: The values of the columns set on this list item. x-ms-navigationProperty: true + permissions: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + x-ms-navigationProperty: true versions: type: array items: @@ -806074,6 +815695,10 @@ components: type: string description: The phone number of the place. nullable: true + placeId: + type: string + description: A stable service-level identifier for the place object used by Places workloads. + nullable: true tags: type: array items: @@ -809384,10 +819009,6 @@ components: nickname: type: string description: 'Specifies a nickname for the room, for example, ''conf room''.' - placeId: - type: string - description: An alternative immutable unique identifier of the room. Read-only. - nullable: true teamsEnabledState: $ref: '#/components/schemas/microsoft.graph.placeFeatureEnablement' videoDeviceName: @@ -817615,6 +827236,12 @@ components: nullable: true description: Cloud PC-related reports. Read-only. x-ms-navigationProperty: true + servicePlans: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + description: A collection of Cloud PC service plans. + x-ms-navigationProperty: true userSettings: type: array items: @@ -822073,10 +831700,6 @@ components: nickname: type: string description: 'A short, friendly name for the workspace, often used for easier identification or display in the UI.' - placeId: - type: string - description: An alternative immutable unique identifier of the workspace. Read-only. - nullable: true microsoft.graph.x509CertificateAuthenticationMethodConfiguration: allOf: - $ref: '#/components/schemas/microsoft.graph.authenticationMethodConfiguration' @@ -835160,6 +844783,14 @@ components: microsoft.graph.placeMode: title: placeMode type: object + microsoft.graph.placeServicePlanInfo: + title: placeServicePlanInfo + type: object + properties: + servicePlanId: + type: string + description: The service plan identifier. + nullable: true microsoft.graph.plannerAppliedCategories: title: plannerAppliedCategories type: object @@ -875721,6 +885352,17 @@ components: '@odata.nextLink': type: string nullable: true + microsoft.graph.cloudPcServicePlanCollectionResponse: + title: Collection of cloudPcServicePlan + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlan' + '@odata.nextLink': + type: string + nullable: true microsoft.graph.cloudPcUserSettingCollectionResponse: title: Collection of cloudPcUserSetting type: object @@ -880451,6 +890093,17 @@ components: '@odata.nextLink': type: string nullable: true + microsoft.graph.placeServicePlanInfoCollectionResponse: + title: Collection of microsoft.graph.placeServicePlanInfo + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfo' + '@odata.nextLink': + type: string + nullable: true microsoft.graph.alternativeSecurityIdCollectionResponse: title: Collection of microsoft.graph.alternativeSecurityId type: object @@ -886581,6 +896234,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.cloudPcProvisioningPolicyCollectionResponse' + microsoft.graph.cloudPcServicePlanCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.cloudPcServicePlanCollectionResponse' microsoft.graph.cloudPcUserSettingCollectionResponse: description: Retrieved collection content: @@ -889161,6 +898820,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.keyValuePairCollectionResponse' + microsoft.graph.placeServicePlanInfoCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.placeServicePlanInfoCollectionResponse' microsoft.graph.alternativeSecurityIdCollectionResponse: description: Retrieved collection content: @@ -892977,6 +902642,12 @@ components: '@odata.type': microsoft.graph.cloudPcManagementAssignmentTarget microsoft.graph.cloudPcReport: value: { } + microsoft.graph.cloudPcServicePlan: + value: + displayName: String + ramInGB: '0' + storageInGB: '0' + vCpuCount: '0' microsoft.graph.cloudPcUserSetting: value: assignments: @@ -893687,6 +903358,8 @@ components: '@odata.type': microsoft.graph.mailboxDetails mode: '@odata.type': microsoft.graph.placeMode + servicePlans: + - '@odata.type': microsoft.graph.placeServicePlanInfo microsoft.graph.detectedApp: value: deviceCount: '0' @@ -896245,6 +905918,8 @@ components: '@odata.type': microsoft.graph.listInfo operations: - '@odata.type': microsoft.graph.richLongRunningOperation + permissions: + - '@odata.type': microsoft.graph.permission sharepointIds: '@odata.type': microsoft.graph.sharepointIds subscriptions: @@ -896265,6 +905940,8 @@ components: '@odata.type': microsoft.graph.driveItem fields: '@odata.type': microsoft.graph.fieldValueSet + permissions: + - '@odata.type': microsoft.graph.permission sharepointIds: '@odata.type': microsoft.graph.sharepointIds versions: @@ -897725,6 +907402,7 @@ components: label: String parentId: String phone: String + placeId: String tags: - String microsoft.graph.planner: @@ -898710,7 +908388,6 @@ components: floorLabel: String floorNumber: '0' nickname: String - placeId: String teamsEnabledState: '@odata.type': microsoft.graph.placeFeatureEnablement videoDeviceName: String @@ -901069,6 +910746,8 @@ components: - '@odata.type': microsoft.graph.cloudPcProvisioningPolicy report: '@odata.type': microsoft.graph.cloudPcReport + servicePlans: + - '@odata.type': microsoft.graph.cloudPcServicePlan userSettings: - '@odata.type': microsoft.graph.cloudPcUserSetting microsoft.graph.virtualEvent: @@ -902430,7 +912109,6 @@ components: mode: '@odata.type': microsoft.graph.placeMode nickname: String - placeId: String microsoft.graph.x509CertificateAuthenticationMethodConfiguration: value: authenticationModeConfiguration: @@ -906745,6 +916423,9 @@ components: thumbprint: String microsoft.graph.placeMode: value: { } + microsoft.graph.placeServicePlanInfo: + value: + servicePlanId: String microsoft.graph.plannerAppliedCategories: value: { } microsoft.graph.plannerAssignment: