This website works better with JavaScript
Почетна
Преглед
Помоћ
Регистрација
Пријавите се
ray-lee
/
share-notes
Прати
1
Волим
0
Креирај огранак
0
Датотеке
Дискусије
0
Захтеви за спајање
0
Вики
Дрво:
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