gebeurtenis
19 nov, 23 - 21 nov, 23
Neem deel aan onlinesessies bij Microsoft Ignite die zijn gemaakt om uw vaardigheden uit te breiden en u te helpen de complexe problemen van vandaag aan te pakken.
Nu registrerenDeze browser wordt niet meer ondersteund.
Upgrade naar Microsoft Edge om te profiteren van de nieuwste functies, beveiligingsupdates en technische ondersteuning.
Namespace: microsoft.graph
Belangrijk
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get the metadata for the location where the files of a channel are stored.
Notitie
Some special characters in the channel name will cause this API to return an error. For details, see Known issues.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ✅ | ✅ | ✅ |
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | Files.Read.All | Files.Read, Files.ReadWrite, Files.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All |
Delegated (personal Microsoft account) | Files.Read | Files.Read.All, Files.ReadWrite, Files.ReadWrite.All |
Application | Files.Read.All | File.Read.Group, Files.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All |
Notitie
GET /teams/{id}/channels/{id}/filesFolder
This method doesn't support the OData query parameters to customize the response.
Header | Value |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK
response code and a driveItem object in the response body.
The following example shows a request.
GET https://graph.microsoft.com/beta/teams/{id}/channels/{id}/filesFolder
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#teams('32e3b156-66b2-4135-9aeb-73295a35a55b')/channels('19%3Af253e46c035b42308e9a4a22a87037af%40thread.skype')/filesFolder/$entity",
"id": "01H7CFEKENJSSIUHGADZBKODARINQC5JMD",
"createdDateTime": "0001-01-01T00:00:00Z",
"lastModifiedDateTime": "2020-01-23T18:47:13Z",
"lastEditedDateTime": null,
"name": "Documentation Planning",
"webUrl": "https://microsoft.sharepoint.com/teams/ExtensibilityandFundamentals/Shared%20Documents/Documentation%20Planning",
"size": 2374080,
"parentReference": {
"driveId": "b!2SInBlQrN0K8-GXMy9qNsPtI5ScW8C5IlZtycoy6ZpJZRRtgE4qVTrE8wrvL0-hd",
"driveType": "documentLibrary"
},
"fileSystemInfo": {
"createdDateTime": "2020-01-23T18:47:12Z",
"lastModifiedDateTime": "2020-01-23T18:47:13Z",
},
"folder": {
"childCount": 7
}
}
gebeurtenis
19 nov, 23 - 21 nov, 23
Neem deel aan onlinesessies bij Microsoft Ignite die zijn gemaakt om uw vaardigheden uit te breiden en u te helpen de complexe problemen van vandaag aan te pakken.
Nu registreren