Skip to content

Commit 13ac9b3

Browse files
committed
Documentation edits made through Mintlify web editor
1 parent e14f3a2 commit 13ac9b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

x-api/media/quickstart/media-upload-chunked.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,21 @@ The returned `media_id` is only valid for `expires_after_secs` seconds. Any atte
135135

136136
If the response contains a `processing_info` field, then use the `STATUS` command to poll for the status of the `FINALIZE` operation. The async finalize approach is used for cases where media processing requires more time. In future, all video and animated GIF processing will only be supported using async finalize. This behavior is enabled if an upload session was [initialized](###INIT) with a `media_category` parameter, and when then media type is either video or animated GIF.
137137

138+
<Note>
139+
**Note:**
138140
If a `processing_info` field is NOT returned in the response, then `media_id` is ready for use in other API endpoints.
141+
</Note>
139142

140143

141144
## **Step 4 : GET media/upload (STATUS)**
142145

143146
The `STATUS` command is used to periodically poll for updates of media processing operation. After the `STATUS` command response returns `succeeded`, you can move on to the next step which is usually create Post with `media_id`.
144147

148+
<Note>
149+
**Note:**
150+
The STATUS command should be used **if and (only if)** the response of the `FINALIZE` command or a previous STATUS command contained a `processing_info` field.
151+
</Note>
152+
145153
## **Example Request**
146154

147155
```bash

0 commit comments

Comments
 (0)