Opencast

AWS S3 Distribution Service REST Documentation

/distribution/s3
This service distributes media package elements to AWS S3.

General Notes

Table of Contents

Write methods

Method / Path: POST /
Description: Distribute a media package element to this distribution channel
Path params: NONE
Required (form) params: mediapackage: The mediapackage
channelId: The publication channel ID
elementId: The element to distribute
Optional (form) params: checkAvailability: If the service should try to access the distributed element
Response formats: text/xml
Status codes: 200: OK, An XML representation of the distribution job
Notes:
  • Return value description: The job that can be used to track the distribution
Testing:
Sample: /
Testing form (click to reveal)
Method / Path: POST /distributesync
Description: Synchronously distribute a media package element to this distribution channel
Path params: NONE
Required (form) params: mediapackage: The mediapackage
channelId: The publication channel ID
elementId: The element to distribute
Optional (form) params: checkAvailability: If the service should try to access the distributed element
Response formats: text/xml
Status codes: 200: OK, An XML representation of the distribution
Notes:
  • Return value description: The distribution
Testing:
Sample: /distributesync
Testing form (click to reveal)
Method / Path: POST /retract
Description: Retract a media package element from this distribution channel
Path params: NONE
Required (form) params: mediapackage: The mediapackage
channelId: The publication channel ID
elementId: The element to retract
Optional (form) params: NONE
Response formats: text/xml
Status codes: 200: OK, An XML representation of the retraction job
Notes:
  • Return value description: The job that can be used to track the retraction
Testing:
Sample: /retract
Testing form (click to reveal)
Method / Path: POST /retractsync
Description: Synchronously retract a media package element from this distribution channel
Path params: NONE
Required (form) params: mediapackage: The mediapackage
channelId: The publication channel ID
elementId: The element to retract
Optional (form) params: NONE
Response formats: text/xml
Status codes: 200: OK, An XML representation of the retraction
Notes:
  • Return value description: The retraction
Testing:
Sample: /retractsync
Testing form (click to reveal)