legacy-api-documentation
legacy-api-documentation copied to clipboard
Feature: Uploading from URL
https://github.com/500px/api-documentation/blob/master/endpoints/photo/POST_photos_upload.md "file" is required, but what if there would be alternative upload method/parameter, which accepts uploading from URL, like Facebook has https://developers.facebook.com/docs/graph-api/reference/page/photos
Thanks for the suggestion. To help us better understand how to implement this feature could you provide some examples why would you use this method? For example, what 3rd party services you would like to upload from?
Uploading from URL would have 2 benefits when building tools to import pictures from other photo-sharing sites:
- Bandwidth - No need to download the file to your own computer or server and then upload the that file to 500px.
- Easy - It is easier to pass just an URL to API than to compose multipart form.
So, for example, I could write a GUI, which lists my latest photos on Flickr and then I could just select the photos I want to publish and it would post URLs of largest size files to 500px one by one.
It might need to be async and queued like Flickr upload API (I didn't see URL upload in their docs), but the above Facebook API example works synchronously.