Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding options for startAction, an uploadAction and finishAction #310

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

evansabove
Copy link

Adding the flexibility to specify a 'startAction', an 'uploadAction' and then a 'finishAction' instead of the single 'action'. The 'action' property still remains, and if startAction, uploadAction or finishAction are not specified, then they drop back to 'action'.

This is because the data sent to the server in the 'start' action is significantly different from the data sent during an 'upload' action. This gives the option to split out which api endpoints can handle which parts of the upload process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant