This website works better with JavaScript
首頁
探索
說明
註冊
登入
ray-lee
/
share-notes
關註
1
讚好
0
複刻
0
檔案
問題管理
0
合併請求
0
Wiki
目錄樹:
6ec2f19a09
分支列表
標籤列表
master
share-notes
/
pdf_converter_file_flow.md
pdf_converter_file_flow.md
1.5 KB
文件歷史
原始文件
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