Declarative reconcile of the stream's attached asset set
PUT/program/api/v2/streams/:streamID/assets
warning
This endpoint is available in private cloud only. Use your global host URL if self-hosted.
Replaces the stream's attached asset set with the supplied
assetIds. Atomic — either every add/remove lands or none do.
Asset ids that don't belong to the stream's project are
rejected by FK at the DB layer (400). The response is the
post-reconcile asset rows so callers don't need a follow-up
GET.
Request
Responses
- 200
- 400
- 403
- 404
Reconciled — returns post-mutation asset set
Cross-project attach attempt or invalid asset id
Forbidden
Stream not found