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

extending service request #66

Open
milovanderlinden opened this issue Nov 30, 2016 · 0 comments
Open

extending service request #66

milovanderlinden opened this issue Nov 30, 2016 · 0 comments

Comments

@milovanderlinden
Copy link

milovanderlinden commented Nov 30, 2016

We are implementing an extension for the API where reports can have various "media", not only images. We use a mixture of (backward compatible) options:

  • when the calling application puts a base64 element in "media", it is processed. (uReport compatible)
  • When it uses a url, it is processed. (georeportv2 standard)
  • When it uses an array of url's these are processed. (our enhancement)
  • besides that, our backend does mimetype validation. (allow video, audio, images and file-urls)

Now this is a hidden extra that does not conflict with "normal" backends. But we are currently at the point where we need an extension.

For some services, like geluidsoverlast (noise disturbance) we want the calling application to know that it is not allowed to upload images, only sound. For this we want to enhance the serviceslist.

For some services, we even want the calling application to know that NO media is allowed to be posted.

Are there any implementations (in the wild) that are already using this kind of functionallity? Or are we free to design our own?

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

No branches or pull requests

1 participant