cgeo / cgeo

c:geo - The powerful Android geocaching app.
www.cgeo.org
Apache License 2.0
1.39k stars 567 forks source link

Upload picture while sending GeoKrety logs #5078

Open kumy opened 9 years ago

kumy commented 9 years ago

On GK website, once a log has been submitted, images could then be attached. This is not yet implemented as an API at GK. So we cannot start working on that.

kumy commented 9 years ago

@filipsPL if you have time could you please implement this feature in GeoKrety API?

kumy commented 3 years ago

I think it's worth to try implementing it based on GKv1.

Basically to attach a picture to some log:

  1. issue a POST request on specific url to get a temporary s3 upload link
  2. issue a POST (or PUT) on the s3 link to upload the image.

Image will be queued for processing (resize + thumbnail) then made available. I'll document how pictures may be uploaded with GKv2 and link here.