Skip to content

Add file-upload field to Blob POST end-point #1718

@rma-rripken

Description

@rma-rripken

When using the Swagger-ui to upload blobs it is inconvenient/impossible to upload large blobs - the data would have to be b64 encoded and pasted into the swagger ui. The current solution works for small files and bits of text but not for anything substantial

Add a new multi-part form content type that the user could select and then the user could select a file on disk and enter the necessary form details (office, id, media, desc)

Instead of adding a new content type to the existing end-point another option is a new form-upload end-point

It seems like this should be workable in swagger javalin/javalin#859
Its unclear to me what the swagger-ui will look like if the existing end-point supports multipart-form and jsonv2 at the same time - will it show both sets of fields? That would be confusing and would make the separate end-point worthwhile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions