CueFrame
Api

Patch an authored component

RFC 7396 merge patch: send only the fields you are changing. Every field you omit keeps the value it already had. Identical in effect to PUT, which merges the same way. Every placed clip renders the exact version it pins. Send `projectId`, `compositionId` and caller-observed `concurrency` to move that composition's placements to the new version in the same write; `repinned` reports them. Other placements keep rendering the previous version, and `placementsPinnedToPrevious` counts them across the org. For a single placement, update the library without projectId, then use apply_composition clip.update to install that exact immutable source pin on the chosen clip under observed dependency guards. Atomic all-use repin requires exact revision admission; unsupported guarded mode and no matching placements refuse the whole write.

PATCH
/v1/components/{id}

Authorization

AuthorizationBearer <token>

API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

PATCH /components/:id body, RFC 7396 merge: a field you omit is left exactly as it was. Org/user are server-resolved; never accepted from the body.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/components/string" \  -H "Content-Type: application/json" \  -d '{    "name": "Renamed title"  }'
{  "name": "string",  "description": "string",  "category": "text",  "propSchema": {    "property1": null,    "property2": null  },  "origin": "customer-owned",  "ejectedFrom": "string",  "tokens": {    "property1": null,    "property2": null  },  "examples": [    {      "property1": null,      "property2": null    }  ],  "durationInFrames": 1,  "manifest": {    "version": 4,    "runtime": "hyperframes",    "hfContract": 1,    "kind": "scene",    "sceneShot": {      "version": 2    },    "assets": {      "property1": {        "kind": "image",        "required": true,        "mimeTypes": [          "string"        ],        "mediaDemand": {          "mode": "original"        }      },      "property2": {        "kind": "image",        "required": true,        "mimeTypes": [          "string"        ],        "mediaDemand": {          "mode": "original"        }      }    },    "graphics": {      "api": "canvas2d",      "required": true,      "accelerationPreference": "hardware-preferred"    },    "alphaPolicy": "requires-transparency"  },  "id": "string",  "source": "default",  "kind": "component",  "version": "string",  "propDefaults": {    "property1": null,    "property2": null  },  "textParam": "string",  "subtextParam": "string",  "format": {    "aspectRatio": "16:9",    "fps": 24,    "resolution": "hd",    "platform": "string"  },  "intent": "string",  "useWhen": "string",  "pairsWith": [    "string"  ],  "avoidWith": [    "string"  ],  "tags": [    "string"  ],  "mood": [    "string"  ],  "tier": "recommended",  "useCase": [    "intro"  ],  "fixedCopy": [    "string"  ],  "brandBindings": [    {      "param": "string",      "brandToken": "string"    }  ],  "placement": {    "clipSourceKind": "overlay",    "refField": "primitiveId"  },  "warnings": [    "string"  ],  "repinned": {    "compositionId": "string",    "pins": 0,    "etag": "string"  },  "placementsPinnedToPrevious": 0}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "x402Version": 2,  "accepts": [    {}  ],  "error": "string"}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}