This website works better with JavaScript
Home
Explore
Help
Register
Sign In
ray-lee
/
share-notes
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
6ec2f19a09
Branches
Tags
master
share-notes
/
pdf_converter_file_flow.md
pdf_converter_file_flow.md
1.5 KB
History
Raw
PDF Converter Upload File Flow
Roles
server: pdf_converter
client: apps: pdf, nl, ad
3-party: cloudconvert / zamzar
Related S3 Buckets
Preparing
converter: onlineconvertdev
ad: animation-desk-dev
nl: noteledge-dev
pdf: cloud-demo
Production
converter: onlineconvert
ad: animationdesk
nl: noteledge
pdf: pdfseries
1 step Convert
POST api/v1/convert
client upload file to s3(app buckets)
client call server api
(tell server bucket_name & path)
server setup input_file & output_file
server request a mission to 3-party
server download file from app buckets to converter server
server upload file from converter server to s3 converter bucket
server call 3-party api
(tell 3-party bucket_name & path)
2 steps Convert
POST api/v1/create_mission
client upload file to s3(app buckets)
call api
(tell server bucket_name & path)
server setup input_file & output_file
server request a mission to 3-party
POST api/v1/active_convert
server download file from app buckets to converter server
server upload file from converter server to s3 converter bucket
server call 3-party api
(tell 3-party bucket_name & path)
Convert Finished Callback
GET vendor/cloudconvert/callback
3-party call server callback
server download file from converter buckets to converter server
server upload file from converter server to s3 apps bucket