Actions65
- Export Actions
- File Actions
- Job Actions
- Project Actions
- Project File Actions
- Slide Actions
- Slide Deck Actions
- Batch Generate Layout
- Batch Generate Slides
- Cancel Generation
- Duplicate Section
- Generate Manual Slide
- Generate Outline
- Generate Slide Content
- Generate Slide Image
- Generate Slide Transcript
- Generate Theme
- Get Audio Download URL
- Get Deck
- Get Tone Settings
- Improve Section
- Import PPTX
- List Transcript Versions
- Mark Improvement Read
- Mark Live Object Read
- Mark Transcript Read
- Prepare Import Upload
- Restore Transcript Version
- Update
- Update Outline
- Update Tone Settings
- Update Transcript
- Update Visual Style Description
- Theme Actions
- Workspace Actions
Project File → Prepare Update
AI-generatedSummary
Prepares an upload URL for updating a project file at a specified path within a project directory.
Inputs
- projectId (required) — Identifier of the project containing the file.
- directoryId (required) — Identifier of the directory containing the file.
- path (required) — Path inside the project directory where the file resides.
- prepareUpdateOptions — Optional fields for the update, including MIME type and size.
Output shape
API response from the prepare-update endpoint, typically containing upload URL or confirmation details for the project file update.
The operation sends a POST request to /api/v2/projects/{projectId}/directories/{directoryId}/files/prepare-update with body { path, mimeType: optionalString(prepareUpdateOptions.mimeType), size: prepareUpdateOptions.size }.
Examples
Example 1: Update a slide image within a project
Set projectId to the target project, directoryId to the relevant directory, path to the file location, and optionally adjust mimeType/size via prepareUpdateOptions if the file type or size is changing.