This website works better with JavaScript
Sākums
Izpētīt
Palīdzība
Reģistrēties
Pierakstīties
ray-lee
/
share-notes
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Faili
Problēmas
0
Izmaiņu pieprasījumi
0
Vikivietne
Koks:
97e143a85b
Atzari
Tagi
master
share-notes
/
pdf_converter_file_flow.md
pdf_converter_file_flow.md
1.5 KB
Vēsture
Neapstrādāts
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