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

Implementation of upload-v2 as response to upload deprecation #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

StankovicMarko
Copy link

Implementation follows
https://api.slack.com/messaging/files#uploading_files pretty closely.

Upload is now done in 3 steps:

  1. https://api.slack.com/methods/files.getUploadURLExternal - get URL
  2. upload files to url from step 1.
  3. https://api.slack.com/methods/files.completeUploadExternal - finalalize upload (and post to wanted channel)

Also it seems like upload hasn't worked in a while from the looks of it this change 739847b broke it.

Implementation follows
https://api.slack.com/messaging/files#uploading_files pretty closely.

Upload is now done in 3 steps:
1. https://api.slack.com/methods/files.getUploadURLExternal - get URL
2. upload files to url from step 1.
3. https://api.slack.com/methods/files.completeUploadExternal -
finalalize upload (and post to wanted channel)
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.

1 participant