Assign or clear one source slot
POST/api/mediasrc/assign
Assigns a media-library path to one one-based source slot. Send an empty file value to clear the slot. Insight probes the media, normalizes the requested transport to one supported by the detected codec, persists the assignment, and automatically restarts the source when it was already playing. Obtain valid paths from /api/mediasrc/videos.
Request
Responses
- 200
- 400
- 404
- 500
Operation completed.
Missing or invalid request data.
The requested resource was not found.
A local operation failed.