This website works better with JavaScript
Trang chủ
Khám phá
Trợ giúp
Đăng ký
Đăng nhập
ray-lee
/
share-notes
Xem
1
Star
0
Fork
0
Các tập tin
Các vấn đề
0
Yêu cầu khéo về
0
Wiki
Tree:
272ae9a700
Branches
Tags
master
share-notes
/
pdf_converter_file_flow.md
pdf_converter_file_flow.md
1.5 KB
Lịch sử
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