Skip to content

modify API to allow creation of picture from URL, not upload

setop requested to merge setop/mobilizon:set-picture-by-url into master
  • allow URL for a media in schema
  • add creation of a picture with only an URL in API code

Rational : there is no point uploading an image locally if it is already stored on a robust hosting platform like a CDN. Plus, it ease the creation of event by API, not all graphql support file upload.

Merge request reports

Loading