Update an overlay config
PATCH/program/api/v2/projects/:projectID/overlay-configs/:configID
Updates an overlay config.
Supplying entries replaces the whole ordered list. There
is no per-entry patch, because a partial edit of an ordered
array has no unambiguous meaning.
Editing a config that a stream resolved through INHERITANCE
forks it. The service creates a new config owned at the
editing level, rebinds that level to it, and leaves the
inherited config untouched. A caller editing "the config as
resolved for stream S" therefore gets back a different id than
it read. This is deliberate: one config may back many streams,
and an edit made in the context of one stream must not silently
change the others.
Editing a config directly by its own id — the normal case for a dashboard managing the project's config list — does not fork, and does change every stream that resolves to it.
The same write-time validation as create applies to any supplied entries.
Generate JWTRequest
Responses
- 200
- 400
- 403
- 404
- 409
- 500
The updated config. When the edit forked an inherited
config, this is the NEW config and carries a different id
than the one that was read.
Validation failure on one of the supplied entries
Forbidden — config belongs to a different project
Overlay config not found (overlay_config_not_found)
A config with this name already exists in the project
Internal Server Error