Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important
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.
Read the properties and relationships of a fileStorageContainerTypeRegistration object.
This API is available in the following national cloud deployments.
| Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ |
Permissions
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) | FileStorageContainerTypeReg.Selected | FileStorageContainerTypeReg.Manage.All |
| Delegated (personal Microsoft account) | Not supported. | Not supported. |
| Application | FileStorageContainerTypeReg.Selected | Not available. |
Note:
- When delegated tokens are used, either the SharePoint Embedded admin role or the Global admin role is required.
- If the
FileStorageContainerTypeReg.Selectedpermission is used, results are limited to registrations owned by the application that makes the call.
HTTP request
GET /storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistrationId}
Optional query parameters
This method supports the $select OData query parameter to help customize the response. For general information, see OData query parameters.
Request headers
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK response code and a fileStorageContainerTypeRegistration object in the response body.
Examples
Request
The following example shows how to get a fileStorageContainerTypeRegistration using its ID.
GET https://graph.microsoft.com/beta/storage/fileStorage/containerTypeRegistrations/de988700-d700-020e-0a00-0831f3042f00
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.fileStorageContainerTypeRegistration",
"id": "de988700-d700-020e-0a00-0831f3042f00",
"name": "Container Type Name",
"owningAppId": "11335700-9a00-4c00-84dd-0c210f203f00",
"billingClassification": "trial",
"billingStatus": "valid",
"registredDateTime": "01/20/2025",
"expirationDateTime": "02/20/2025",
"etag": "RVRhZw==",
"settings": {
"@odata.type": "microsoft.graph.fileStorageContainerTypeRegistrationSettings",
"sharingCapability": "disabled",
"urlTemplate": "https://app.contoso.com/redirect?tenant={tenant-id}&drive={drive-id}&folder={folder-id}&item={item-id}",
"isDiscoverabilityEnabled": true,
"isSearchEnabled": true,
"isItemVersioningEnabled": true,
"itemMajorVersionLimit": 50,
"maxStoragePerContainerInBytes": 104857600,
"isSharingRestricted": false
},
"applicationPermissionGrants": [
{
"appId": "11335700-9a00-4c00-84dd-0c210f203f00",
"delegatedPermissions": ["read"],
"applicationPermissions": ["full"]
},
{
"appId": "d893fd02-3578-4c7f-bd85-12fc3358af48",
"delegatedPermissions": ["none"],
"applicationPermissions": ["read"]
}
]
}