-
Notifications
You must be signed in to change notification settings - Fork 12
COMMAND.9 Create delivery authorization
This command creates a delivery authorization valid for a max number of retries (maxRetries parameter) and a time to live (ttlInSeconds parameter). This command might perform a redirection (redirect parameter) with the download URL. In this case it is not needed to call the download command because it is activated automatically by the redirection.
/catramms/v1/delivery/:PhysicalPathKey?[:ttlInSeconds=120]&[:maxRetries=10]&[:redirect=false]
GET
PhysicalPathKey: key of the specific file to be authorized for the download
- ttlInSeconds: time to live in seconds of the authorization
- default: 120
- maxRetries: max number of retries of the authorization
- default: 10
- redirect: it specifies if this command has to perform a redirection or it has to return a json with several information
- default: false
None
301 Moved Permanently in case the redirect parameter is true 201 Created in case the redirect parameter is false
Only in case the redirect parameter is false
{
"deliveryURL": "http://mms-delivery.catrasoft.cloud/MMS_0000/CatraSoft/000/000/561/833_source.mp4?token=4&outputFileName=myName.mp4",
"outputFileName": "myName.mp4",
"authorizationKey": 4,
"ttlInSeconds": 120,
"maxRetries": 10
}
Assuming:
- UserKey: 5
- APIKey: SU1.8ZO1O2zVeBMNv9lzZ0whABXSAdjWrR~rpcnI5eaHNO2gysrNdAv8BNoWZB1eLP
curl -k -v -u 5:SU1.8ZO1O2zVeBMNv9lzZ0whABXSAdjWrR~rpcnI5eaHNO2gysrNdAv8BNoWZB1eLP https://mms-api.catrasoft.cloud/catramms/v1/delivery/663
curl -k -v -u 5:SU1.8ZO1O2zVeBMNv9lzZ0whABXSAdjWrR~rpcnI5eaHNO2gysrNdAv8BNoWZB1eLP https://mms-api.catrasoft.cloud/catramms/v1/delivery/663?redirect=true
- tutorial videos: https://www.youtube.com/@CatraMMS/videos
- support email: [email protected]
- info email: [email protected]
- MMS GUI: https://mms-gui.catramms-cloud.com/catramms
- REST MMS API: https://app.swaggerhub.com/apis-docs/giulianoc/MediaManagementService
- API base URL: https://mms-api.catramms-cloud.com/catramms/1.0.1/...
- Delivery URL (authorization by parameter): https://delivery.catramms-cloud.com/catramms/1.0.1/...
- Delivery URL (authorization by path): https://delivery-path.catramms-cloud.com/catramms/1.0.1/...
- Push binary URL: https://binary.catramms-cloud.com/catramms/1.0.1/...
-
Tutorial
- User registration
- Add content - Pull
- Add content, on success send an email
- Two Tasks (Add content) to be executed in parallel
- Add a set of video encoding profiles
- Add two contents, send an email, concat, cut and encode
- Add a single image profile (Logo)
- Add a video, an image, encode the image, overlay the encoded image on the video
-
Workflow Ingestion
Workflow As Library
Add-Remove Content
Delivery
Social Network Delivery
Encoding (video-audio-image)
Media activities
Overlay
Frame Processing
Recorder
Communication
Utilities
Computer Vision