The standard workflow when creating VODs through S3 is to perform changes in Console. If that’s not possible there are options to update metadata, publish or unpublish the VOD by uploading JSON files through S3.


Update a VOD

When updating the metadata, a good idea can be to first download the existing JSON for that asset and then edit that file.


Create a new JSON file (or edit the old one) and make sure it is named the same as the original JSON file (the name is the Source ID with .json as suffix)

In the new JSON file, add "action": "update" in the file. 

The metadata to be updated should be inside an object named “metadata”

Upload the new json file in the same S3 folder as the original json file together with the image assets to use.

The updates will be visible in console.magine.com after between 10-30 seconds.


Note: All fields that are not included in the new JSON file will be deleted from the asset in the service.


Example (in this example the filename is test_0001.json):



 



Publish a VOD

To make a not available asset available for the end users it needs to be published. This might be needed if the asset was not published from the beginning or if it has been unpublished.


  1. Create a new JSON file (or edit the old one) and make sure it is named the same as the original JSON file (the name is the Source ID with .json as suffix)

  2. In the new JSON file, add "action": "publish" in the file. 

  3. Upload the new json file in the same S3 folder as the original json file.

  4. The updates will be visible in console.magine.com after between 10-30 seconds.


Note: The JSON file MUST include a “metadata” object, otherwise it will not work


Example:


Unpublish a VOD

To make sure that a VOD is no longer accessible in the service it can be unpublished. This will still keep the asset in the system (so it can later be published again) but end users won’t be able to detect it.

  1. Create a new JSON file (or edit the old one) and make sure it is named the same as the original JSON file (the name is the Source ID with .json as suffix)

  2. In the new JSON file, add "action": "unpublish" in the file. 

  3. Upload the new json file in the same S3 folder as the original json file.

  4. The updates will be visible in console.magine.com after between 10-30 seconds.


Note: The JSON file MUST include a “metadata” object, otherwise it will not work


Example: