---
title: "Revise source files, asset bindings or declared controls without changing the timeline"
method: PATCH
path: "/projects/{projectId}/source"
tags: ["Creative Source"]
---

# Revise source files, asset bindings or declared controls without changing the timeline

`PATCH /projects/{projectId}/source`

## Request

- Base URL: `https://blitzreels.com/api/v1`
- URL: `https://blitzreels.com/api/v1/projects/{projectId}/source`
- Auth: API key in header `Authorization`

Revise source files, asset bindings or declared controls without changing the timeline.

## Path parameters

- `projectId` string, uuid, required

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `expectedRevision` integer, required
  - `edits` object[], required
    - `path` string, required
    - `content` string, nullable, required
  - `assetEdits` object[]
    - `path` string, required
    - `value` object, nullable, required
      - `hash` string, required
      - `bytes` integer, required
      - `remoteUrl` string, uri, nullable, required
      - `assetId` string, uuid, required: Existing workspace media asset. Bytes and SHA-256 must match this immutable source binding.
  - `controlValues` object, required

## Response `200`

Successful response

- object
  - `id` string, uuid, required
  - `projectId` string, uuid, required
  - `revision` integer, required
  - `sourceHash` string, required
  - `entrypoint` string, required
  - `fileCount` integer, required
  - `createdAt` string, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `404`: Not found
- `500`: Internal server error

## Changes

- **2026-10-19** `35608b12471d`: 1 info
  - added the new optional request property `assetEdits`

[Operation history](https://skmtc.dev/blitzreels/apis/blitzreels-api/changes/projects/:projectId/source/patch.md)

---

[API](https://skmtc.dev/blitzreels/apis/blitzreels-api.md) · [All operations](https://skmtc.dev/blitzreels/apis/blitzreels-api/llms.txt) · [OpenAPI document](https://skmtc.dev/blitzreels/apis/blitzreels-api/revisions/35608b12471d?raw)
