patch https://api.fastpix.io/v1/on-demand//source-access
This endpoint allows you to update the sourceAccess setting of an existing media file. The sourceAccess parameter determines whether the original media file is accessible or restricted. Setting this to true enables access to the media source, while setting it to false restricts access.
How it works
-
Make a
PATCHrequest to this endpoint, replacing{mediaId}with the ID of the media you want to update. -
Include the updated
sourceAccessparameter in the request body. -
Receive a response confirming the update to the media's source access status.
-
Webhook events: video.media.source.ready, video.media.source.deleted