Edit the overlay config as resolved for this stream
PATCH/program/api/v2/streams/:streamID/overlay-config
Edits the config this stream currently resolves to, in the context of this stream.
This is the forking edit. If the stream resolves through
INHERITANCE — the deciding assignment is at its program or its
project — the service does not touch the shared config. It
copies it, records forkedFrom, assigns the copy at the stream
level, applies the edit to the copy, and returns the copy. The
response therefore carries a different id than the caller
read, and every other stream resolving to the parent is
unaffected.
If the stream already has its own assignment, there is nothing to protect and the edit applies in place.
Use this route when the user is editing "this stream's
overlay". Use PATCH /v2/projects/{projectID}/overlay-configs/{configID}
when the user is editing a named config in the project's list,
which deliberately changes every stream that resolves to it.
A stream that resolves to explicitly_none or unassigned has
no config to edit and answers 409: assign one first.
The same write-time validation as create applies to any supplied
entries, and supplying entries replaces the whole ordered list.
Request
Responses
- 200
- 400
- 403
- 404
- 409
- 500
The edited config. Its id differs from the one read when
the edit forked an inherited config.
Validation failure — more than four entries (too_many_overlay_entries), an entry naming an asset or scene that is not in this project (overlay_entry_not_found), or a scene that has never been published (scene_not_published).
Forbidden — stream belongs to a different project
Stream not found
The stream resolves to no config, so there is nothing to edit (overlay_config_not_assigned). Assign one first.
Internal Server Error