Skip to content

Commit 052d4ae

Browse files
authored
Merge pull request #25825 from microsoftgraph/ReviewSetTagsdocumentation
Review Set Tags Documentation
2 parents 36455fc + f7bd25b commit 052d4ae

File tree

4 files changed

+79
-18
lines changed

4 files changed

+79
-18
lines changed

api-reference/beta/api/security-ediscoverycase-list-tags.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ Choose the permission or permissions marked as least privileged for this API. Us
2525

2626
## HTTP request
2727

28-
<!-- {
29-
"blockType": "ignored"
30-
}
31-
-->
3228
``` http
3329
GET /security/cases/ediscoveryCases/{ediscoveryCaseId}/tags
3430
```
@@ -47,14 +43,15 @@ If successful, this method returns a `200 OK` response code and a collection of
4743
## Examples
4844

4945
### Request
50-
The following example shows a request.
46+
The following example shows a request that lists tags.
5147

52-
# [HTTP](#tab/http)
48+
# [HTTP](#tab/http)
5349
<!-- {
5450
"blockType": "request",
5551
"name": "list_ediscoveryreviewtag_and_properties"
5652
}
5753
-->
54+
5855
``` http
5956
GET https://graph.microsoft.com/beta/security/cases/ediscoveryCases/58399dff-cebe-478f-b1af-d3227f1fd645/tags
6057
```

api-reference/beta/api/security-ediscoveryreviewtag-ashierarchy.md

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Don't supply a request body for this method.
4646
If successful, this function returns a `200 OK` response code and a [microsoft.graph.security.ediscoveryReviewTag](../resources/security-ediscoveryreviewtag.md) collection in the response body.
4747

4848
## Examples
49-
50-
### Request
51-
The following example shows a request.
49+
### Example 1: Retrieve child tags of a specific eDiscovery review tag
50+
#### Request
51+
The following example shows a request that retrieves child tags.
5252

5353
# [HTTP](#tab/http)
5454
<!-- {
@@ -94,7 +94,7 @@ GET https://graph.microsoft.com/beta/security/cases/ediscoveryCases/58399dff-ceb
9494

9595
---
9696

97-
### Response
97+
#### Response
9898
The following example shows the response.
9999
>**Note:** The response object shown here might be shortened for readability.
100100
<!-- {
@@ -198,3 +198,37 @@ Content-Type: application/json
198198
}
199199
```
200200

201+
### Example 2: Retrieve child tags of a specific eDiscovery review tag
202+
#### Request
203+
The following example shows a request to retrieve child tags
204+
<!-- {
205+
"blockType": "request",
206+
"name": "ediscoveryreviewtagthis.childtags"
207+
}
208+
-->
209+
210+
``` http
211+
GET https://graph.microsoft.com/beta/security/cases/ediscoveryCases/b6f72954-c7d0-414c-ad50-00167216cb03/tags/318f79767abf4b8fab4d8e37b3174c5a/childTags
212+
```
213+
214+
#### Response
215+
The following example shows the response.
216+
<!-- {
217+
"blockType": "response",
218+
"truncated": true,
219+
"@odata.type": "Collection(microsoft.graph.security.ediscoveryReviewTag)"
220+
}
221+
-->
222+
``` http
223+
HTTP/1.1 200 OK
224+
Content-Type: application/json
225+
226+
{
227+
"@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.security.ediscoveryReviewTag)",
228+
"@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",
229+
"value": []
230+
}
231+
```
232+
233+
234+

api-reference/v1.0/api/security-ediscoverycase-list-tags.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Choose the permission or permissions marked as least privileged for this API. Us
2222
[!INCLUDE [permissions-table](../includes/permissions/security-ediscoverycase-list-tags-permissions.md)]
2323

2424
## HTTP request
25-
2625
<!-- {
2726
"blockType": "ignored"
2827
}
@@ -43,16 +42,15 @@ Don't supply a request body for this method.
4342
If successful, this method returns a `200 OK` response code and a collection of [microsoft.graph.security.ediscoveryreviewtag](../resources/security-ediscoveryreviewtag.md) objects in the response body.
4443

4544
## Examples
46-
4745
### Request
4846
The following example shows a request.
49-
5047
# [HTTP](#tab/http)
5148
<!-- {
5249
"blockType": "request",
5350
"name": "create_ediscoveryreview_caseID_tag"
5451
}
5552
-->
53+
5654
``` http
5755
GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/58399dff-cebe-478f-b1af-d3227f1fd645/tags
5856
```
@@ -93,7 +91,7 @@ GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/58399dff-ceb
9391

9492
### Response
9593
The following example shows the response.
96-
>**Note:** The response object shown here might be shortened for readability.
94+
> **Note:** The response object shown here might be shortened for readability.
9795
<!-- {
9896
"blockType": "response",
9997
"truncated": true,

api-reference/v1.0/api/security-ediscoveryreviewtag-ashierarchy.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Don't supply a request body for this method.
4646
If successful, this function returns a `200 OK` response code and a [microsoft.graph.security.ediscoveryReviewTag](../resources/security-ediscoveryreviewtag.md) collection in the response body.
4747

4848
## Examples
49-
50-
### Request
51-
The following example shows a request.
49+
### Example 1: Retrieve child tags of a specific eDiscovery
50+
#### Request
51+
The following example shows a request that retrieves child tags.
5252

5353
# [HTTP](#tab/http)
5454
<!-- {
@@ -94,7 +94,7 @@ GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/58399dff-ceb
9494

9595
---
9696

97-
### Response
97+
#### Response
9898
The following example shows the response.
9999
>**Note:** The response object shown here might be shortened for readability.
100100
<!-- {
@@ -198,3 +198,35 @@ Content-Type: application/json
198198
}
199199
```
200200

201+
### Example 2: Retrieve child tags of a specific eDiscovery review tag
202+
#### Request
203+
The following example shows a request that retrieves child tags.
204+
<!-- {
205+
"blockType": "request",
206+
"name": "ediscoveryreviewtagthis.childtags"
207+
}
208+
-->
209+
210+
``` http
211+
GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/b6f72954-c7d0-414c-ad50-00167216cb03/tags/318f79767abf4b8fab4d8e37b3174c5a/childTags
212+
```
213+
214+
#### Response
215+
The following example shows the response.
216+
<!-- {
217+
"blockType": "response",
218+
"truncated": true,
219+
"@odata.type": "Collection(microsoft.graph.security.ediscoveryReviewTag)"
220+
}
221+
-->
222+
``` http
223+
HTTP/1.1 200 OK
224+
Content-Type: application/json
225+
226+
{
227+
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.security.ediscoveryReviewTag)",
228+
"@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",
229+
"value": []
230+
}
231+
```
232+

0 commit comments

Comments
 (0)