Skip to content

extending service request #66

@milovanderlinden

Description

@milovanderlinden

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions