Skip to content

Commit 92f7977

Browse files
authored
Merge branch 'main' into approverinfovisibility
2 parents 10328c0 + 1495d3e commit 92f7977

4 files changed

Lines changed: 70 additions & 8 deletions

File tree

api-reference/beta/api/driveitem-get-content-format.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ GET /drive/root:/{path and filename}:/content?format={format}
4242

4343
| Parameter | Type | Description |
4444
|:----------|:-------|:---------------------------------------------------------------|
45-
| _format_ | string | Specify the format the item's content should be downloaded as. |
45+
| format | String | Specify the format the item's content should be downloaded as. |
46+
| height | Int32 | The desired height of the converted image in pixels. Required when `format=jpg`. |
47+
| width | Int32 | The desired width of the converted image in pixels. Required when `format=jpg`. |
4648

4749
The following values are valid for the **format** parameter:
4850

api-reference/v1.0/api/driveitem-get-content-format.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,17 @@ GET /drive/root:/{path and filename}:/content?format={format}
4040

4141
| Parameter | Type | Description |
4242
|:----------|:-------|:---------------------------------------------------------------|
43-
| _format_ | string | Specify the format the item's content should be downloaded as. |
43+
| format | String | Specify the format the item's content should be downloaded as. |
44+
| height | Int32 | The desired height of the converted image in pixels. Required when `format=jpg`. |
45+
| width | Int32 | The desired width of the converted image in pixels. Required when `format=jpg`. |
4446

4547
### Format options
4648

4749
The following values are valid for the **format** parameter:
4850

4951
| Format value | Description | Supported source extensions
5052
|:-------------|:-----------------------------------|----------------------------
53+
| jpg | Converts the item into JPG format. | 3g2, 3gp, 3gp2, 3gpp, 3mf, ai, arw, asf, avi, bas, bash, bat, bmp, c, cbl, cmd, cool, cpp, cr2, crw, cs, css, csv, cur, dcm, dcm30, dic, dicm, dicom, dng, doc, docx, dwg, eml, epi, eps, epsf, epsi, epub, erf, fbx, fppx, gif, glb, h, hcp, heic, heif, htm, html, ico, icon, java, jfif, jpeg, jpg, js, json, key, log, m2ts, m4a, m4v, markdown, md, mef, mov, movie, mp3, mp4, mp4v, mrw, msg, mts, nef, nrw, numbers, obj, odp, odt, ogg, orf, pages, pano, pdf, pef, php, pict, pl, ply, png, pot, potm, potx, pps, ppsx, ppsxm, ppt, pptm, pptx, ps, ps1, psb, psd, py, raw, rb, rtf, rw1, rw2, sh, sketch, sql, sr2, stl, tif, tiff, ts, txt, vb, webm, wma, wmv, xaml, xbm, xcf, xd, xml, xpm, yaml, yml
5154
| pdf | Converts the item into PDF format. | doc, docx, dot, dotx, dotm, dsn, dwg, eml, epub, fluidframework, form, htm, html, loop, loot, markdown, md, msg, note, odp, ods, odt, page, pps, ppsx, ppt, pptx, pulse, rtf, task, tif, tiff, wbtx, whiteboard, xls, xlsm, xlsx
5255
| html | Converts the item into HTML format.| loop, fluid, wbtx, whiteboard
5356

changelog/Microsoft.FileServices.json

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
{
22
"changelog": [
3+
{
4+
"ChangeList": [
5+
{
6+
"Id": "e7a4527a-30ea-4877-9cea-e7340b1f7877",
7+
"ApiChange": "Parameter",
8+
"ChangedApiName": "height",
9+
"ChangeType": "Addition",
10+
"Description": "Added the **height** query parameter to the [API to download a file in another format](https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-beta).",
11+
"Target": "driveItem-get-content-format"
12+
},
13+
{
14+
"Id": "e7a4527a-30ea-4877-9cea-e7340b1f7877",
15+
"ApiChange": "Parameter",
16+
"ChangedApiName": "width",
17+
"ChangeType": "Addition",
18+
"Description": "Added the **width** query parameter to the [API to download a file in another format](https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-beta).",
19+
"Target": "driveItem-get-content-format"
20+
}
21+
],
22+
"Id": "e7a4527a-30ea-4877-9cea-e7340b1f7877",
23+
"Cloud": "Prod",
24+
"Version": "beta",
25+
"CreatedDateTime": "2026-04-17T23:41:39.1409717Z",
26+
"WorkloadArea": "Files",
27+
"SubArea": ""
28+
},
29+
{
30+
"ChangeList": [
31+
{
32+
"Id": "8d880708-d68a-4a9a-b72f-954b6b86e20b",
33+
"ApiChange": "Parameter",
34+
"ChangedApiName": "height",
35+
"ChangeType": "Addition",
36+
"Description": "Added the **height** query parameter to the [API to download a file in another format](https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-1.0).",
37+
"Target": "driveItem-get-content-format"
38+
},
39+
{
40+
"Id": "8d880708-d68a-4a9a-b72f-954b6b86e20b",
41+
"ApiChange": "Parameter",
42+
"ChangedApiName": "width",
43+
"ChangeType": "Addition",
44+
"Description": "Added the **width** query parameter to the [API to download a file in another format](https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-1.0).",
45+
"Target": "driveItem-get-content-format"
46+
}
47+
],
48+
"Id": "8d880708-d68a-4a9a-b72f-954b6b86e20b",
49+
"Cloud": "Prod",
50+
"Version": "v1.0",
51+
"CreatedDateTime": "2026-04-17T23:41:39.1409717Z",
52+
"WorkloadArea": "Files",
53+
"SubArea": ""
54+
},
355
{
456
"ChangeList": [
557
{
@@ -175,15 +227,15 @@
175227
"Target": "drive"
176228
},
177229
{
178-
"Id": "cfd328aa-a83a-49ed-982e-f25c37a312d2",
230+
"Id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
179231
"ApiChange": "Annotation",
180232
"ChangedApiName": "Org.OData.Core.V1.Revisions",
181233
"ChangeType": "Deprecation",
182234
"Description": "Removed the **Org.OData.Core.V1.Revisions** resource.",
183235
"Target": "recent"
184236
},
185237
{
186-
"Id": "cfd328aa-a83a-49ed-982e-f25c37a312d2",
238+
"Id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
187239
"ApiChange": "Annotation",
188240
"ChangedApiName": "Org.OData.Core.V1.Revisions",
189241
"ChangeType": "Deprecation",
@@ -217,15 +269,15 @@
217269
"Target": "drive"
218270
},
219271
{
220-
"Id": "f3a53290-debd-4e11-a89e-fa38a7063991",
272+
"Id": "e3a7f8c1-9d42-4b6a-8f3e-7c2d1a9b5f84",
221273
"ApiChange": "Annotation",
222274
"ChangedApiName": "Org.OData.Core.V1.Revisions",
223275
"ChangeType": "Deprecation",
224276
"Description": "Removed the **Org.OData.Core.V1.Revisions** resource.",
225277
"Target": "recent"
226278
},
227279
{
228-
"Id": "f3a53290-debd-4e11-a89e-fa38a7063991",
280+
"Id": "e3a7f8c1-9d42-4b6a-8f3e-7c2d1a9b5f84",
229281
"ApiChange": "Annotation",
230282
"ChangedApiName": "Org.OData.Core.V1.Revisions",
231283
"ChangeType": "Deprecation",

concepts/whats-new-overview.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ For details about previous updates to Microsoft Graph, see [Microsoft Graph what
3232

3333
### Files
3434

35-
Use the [List activities](/graph/api/itemactivity-list) API to retrieve recent activities that took place on a [drive](/graph/api/resources/drive), [list](/graph/api/resources/list), item, or within an item hierarchy.
35+
- Use the **height** and **width** parameters to [download a file in another format](/graph/api/driveitem-get-content-format) when `format=jpg`.
36+
- Use the [List activities](/graph/api/itemactivity-list) API to retrieve recent activities that took place on a [drive](/graph/api/resources/drive), [list](/graph/api/resources/list), item, or within an item hierarchy.
3637

3738
### Identity and access | Governance
3839

@@ -67,7 +68,11 @@ Added the **deprecationDate** property to the [applicationTemplate](/graph/api/r
6768

6869
### Identity and access | Governance
6970

70-
Use `default`, `notVisible`, and `visible` as supported values for the **approverInformationVisibility** property of the [accessPackageApprovalStage](/graph/api/resources/accesspackageapprovalstage?view=graph-rest-beta&preserve-view=true) and [approvalStage](/graph/api/resources/approvalstage?view=graph-rest-beta&preserve-view=true) resources to indicate whether approver information is visible to the requestor.
71+
- Use `default`, `notVisible`, and `visible` as supported values for the **approverInformationVisibility** property of the [accessPackageApprovalStage](/graph/api/resources/accesspackageapprovalstage?view=graph-rest-beta&preserve-view=true) and [approvalStage](/graph/api/resources/approvalstage?view=graph-rest-beta&preserve-view=true) resources to indicate whether approver information is visible to the requestor.
72+
73+
### Files
74+
75+
- Use the **height** and **width** query parameters on the [driveItem content conversion API](/graph/api/driveitem-get-content-format?view=graph-rest-beta&preserve-view=true) to download a file in another format when `format=jpg`.
7176

7277
### Identity and access | Identity and sign-in
7378

0 commit comments

Comments
 (0)