Recorded Content (VOD)
getVodFiles
Description
Returns the list of available media files in a specified application’s streams storage directory.
REQUEST
- URI :
- Method: GET
- Parameters:
Property | Type | Description | Required | Default |
---|---|---|---|---|
appname | Path Param | Application name | Required | |
scope | Query Param | Application sub-scope path | Optional | |
extension | Query Param | Extension for filtering lookup | Optional | |
accessToken | Query Param | Security token | Required if token security is enabled |
RESPONSE
- Failure: HTTP CODE
400
or404
or500
or401
See failure status code table for more information on error cause. - Data:
- Success: HTTP CODE
200 - OK
- Data: Returns a list of OnDemandMedia json object. See Response objects for attribute definitions.
Example
REQUEST
- URI:
- Method: GET
- Data:
RESPONSE
- Success: HTTP CODE
200 - OK
- Data:
deleteVodFile
Description
Deletes a media file from stream storage location by its name and extension.
REQUEST
- URI:
- Method: DELETE
- Parameters:
Property | Type | Description | Required | Default |
---|---|---|---|---|
appname | Path Param | Application name | Required | |
scope | Query Param | Application sub scope path | Optional | |
filename | Query Param | filename to delete | Optional | |
extension | Query Param | Extension for file lookup | Required | |
accessToken | Query Param | Security token | Required if token security is enabled |
RESPONSE
- Failure: HTTP CODE
400
or404
or500
or401
See failure status code table for more information on error cause. - Data:
- Success: HTTP CODE
200 - OK
- Data: Returns a OnDemandMedia json object. See Response objects for attribute definitions.
Example
REQUEST
- URI:
- Method: DELETE
- Data:
RESPONSE
- Success: HTTP CODE
200 - OK
- Data: