You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1729,7 +1729,7 @@ paths:
1729
1729
tags:
1730
1730
- Uploads
1731
1731
summary: |
1732
-
Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 10 GB in total and expires after an hour after you create it.
1732
+
Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.
1733
1733
1734
1734
Once you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.
1735
1735
@@ -1785,9 +1785,18 @@ paths:
1785
1785
summary: |
1786
1786
Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload.
1787
1787
1788
-
Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 10 GB.
1788
+
Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.
1789
1789
1790
1790
It is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).
1791
+
parameters:
1792
+
- in: path
1793
+
name: upload_id
1794
+
required: true
1795
+
schema:
1796
+
type: string
1797
+
example: upload_abc123
1798
+
description: |
1799
+
The ID of the Upload.
1791
1800
requestBody:
1792
1801
required: true
1793
1802
content:
@@ -1829,6 +1838,15 @@ paths:
1829
1838
You can specify the order of the Parts by passing in an ordered list of the Part IDs.
1830
1839
1831
1840
The number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.
1841
+
parameters:
1842
+
- in: path
1843
+
name: upload_id
1844
+
required: true
1845
+
schema:
1846
+
type: string
1847
+
example: upload_abc123
1848
+
description: |
1849
+
The ID of the Upload.
1832
1850
requestBody:
1833
1851
required: true
1834
1852
content:
@@ -1880,6 +1898,15 @@ paths:
1880
1898
- Uploads
1881
1899
summary: |
1882
1900
Cancels the Upload. No Parts may be added after an Upload is cancelled.
0 commit comments