patch https://v1.fastpix.io/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
PATCH
request to this endpoint, replacing{mediaId}
with the ID of the media you want to update. -
Include the updated
sourceAccess
parameter 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