| title | ediscoveryReviewTag: asHierarchy |
|---|---|
| description | List tag as hierarchy* |
| author | SeunginLyu |
| ms.localizationpriority | medium |
| ms.subservice | ediscovery |
| doc_type | apiPageType |
| ms.date | 06/11/2024 |
Namespace: microsoft.graph.security
List eDiscovery review tags with the tag hierarchy shown.
[!INCLUDE national-cloud-support]
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.
[!INCLUDE permissions-table]
[!INCLUDE rbac-ediscovery-read]
GET /security/cases/ediscoveryCases/{ediscoveryCaseId}/tags/asHierarchy| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this function returns a 200 OK response code and a microsoft.graph.security.ediscoveryReviewTag collection in the response body.
The following example shows a request that retrieves child tags.
GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/58399dff-cebe-478f-b1af-d3227f1fd645/tags/asHierarchy
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
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/v1.0/$metadata#Collection(ediscoveryReviewTag)",
"@odata.count": 5,
"value": [
{
"@odata.type": "#microsoft.graph.security.ediscoveryReviewTag",
"displayName": "My tag API 2",
"description": "Use Graph API to create tags (updated)",
"lastModifiedDateTime": "2022-05-30T00:27:41.6407249Z",
"childSelectability": "Many",
"id": "062de822f17a4a2e9b833aa3f6c37108",
"createdBy": {
"user": {
"id": "c25c3914-f9f7-43ee-9cba-a25377e0cec6",
"displayName": "MOD Administrator",
"userPrincipalName": "admin@contoso.com"
}
},
"childTags": []
},
{
"@odata.type": "#microsoft.graph.security.ediscoveryReviewTag",
"displayName": "Responsive",
"description": "",
"lastModifiedDateTime": "2022-05-23T19:41:24.4237284Z",
"childSelectability": "One",
"id": "d3d99dc704a74801b792b3e1e722aa0d",
"createdBy": {
"user": {
"id": "c25c3914-f9f7-43ee-9cba-a25377e0cec6",
"displayName": "MOD Administrator",
"userPrincipalName": "admin@contoso.com"
}
},
"childTags": []
},
{
"@odata.type": "#microsoft.graph.security.ediscoveryReviewTag",
"displayName": "Not responsive",
"lastModifiedDateTime": "2022-05-23T19:41:31.3381716Z",
"childSelectability": "One",
"id": "ced26633616a434abd83762d49a25a6c",
"createdBy": {
"user": {
"id": "c25c3914-f9f7-43ee-9cba-a25377e0cec6",
"displayName": "MOD Administrator",
"userPrincipalName": "admin@contoso.com"
}
},
"childTags": []
},
{
"@odata.type": "#microsoft.graph.security.ediscoveryReviewTag",
"displayName": "Processing",
"description": "Determine whether to outsource processing",
"lastModifiedDateTime": "2022-05-23T19:46:03.8746996Z",
"childSelectability": "Many",
"id": "d8580989505c4fb3a25b845013697cf7",
"createdBy": {
"user": {
"id": "c25c3914-f9f7-43ee-9cba-a25377e0cec6",
"displayName": "MOD Administrator",
"userPrincipalName": "admin@contoso.com"
}
},
"childTags": []
},
{
"@odata.type": "#microsoft.graph.security.ediscoveryReviewTag",
"displayName": "My tag API",
"description": "Use Graph API to create tags",
"lastModifiedDateTime": "2022-05-23T19:58:26.1573076Z",
"childSelectability": "Many",
"id": "7c6cc351-fb90-431f-8562-1b607a3144a4",
"createdBy": {
"user": {
"id": "c25c3914-f9f7-43ee-9cba-a25377e0cec6",
"displayName": "MOD Administrator",
"userPrincipalName": "admin@contoso.com"
},
"application": {
"id": "de8bc8b5-d9f9-48b1-a8ad-b748da725064",
"displayName": "Graph Explorer"
}
},
"childTags": []
}
]
}The following example shows a request that retrieves child tags.
GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/b6f72954-c7d0-414c-ad50-00167216cb03/tags/318f79767abf4b8fab4d8e37b3174c5a/childTags
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.security.ediscoveryReviewTag)",
"@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET security/cases/ediscoveryCases('<guid>')/tags('<guid>')/childTags?$select=childSelectability",
"value": []
}