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
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1777,7 +1777,7 @@ paths:
1777
1777
"expires_at": 1719127296
1778
1778
}
1779
1779
1780
-
/uploads/{upload_id}/part:
1780
+
/uploads/{upload_id}/parts:
1781
1781
post:
1782
1782
operationId: addUploadPart
1783
1783
tags:
@@ -1833,7 +1833,9 @@ paths:
1833
1833
tags:
1834
1834
- Uploads
1835
1835
summary: |
1836
-
Completes the [Upload](/docs/api-reference/uploads/object) and returns a [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.
1836
+
Completes the [Upload](/docs/api-reference/uploads/object).
1837
+
1838
+
Within the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.
1837
1839
1838
1840
You can specify the order of the Parts by passing in an ordered list of the Part IDs.
1839
1841
@@ -8901,7 +8903,6 @@ components:
8901
8903
description: |
8902
8904
The name of the file to upload.
8903
8905
type: string
8904
-
format: binary
8905
8906
purpose:
8906
8907
description: |
8907
8908
The intended purpose of the uploaded file.
@@ -8933,7 +8934,7 @@ components:
8933
8934
description: |
8934
8935
The chunk of bytes for this Part.
8935
8936
type: string
8936
-
# format: binary
8937
+
format: binary
8937
8938
required:
8938
8939
- data
8939
8940
@@ -9643,7 +9644,7 @@ components:
9643
9644
description: The object type, which is always "upload".
9644
9645
enum: [upload]
9645
9646
file:
9646
-
type: object
9647
+
$ref: "#/components/schemas/OpenAIFile"
9647
9648
nullable: true
9648
9649
description: The ready File object after the Upload is completed.
0 commit comments