Skip to content

files endpoint option #995

@hugsbrugs

Description

@hugsbrugs

Hi there,

I can upload files using endpoint

Schema :

"image":  {
                    "title": "Image",
                    "type": "array",
                    "format": "singlefile",
                    "x-schema-form": {
                       "type": "array"
                    },

Form :```

"items": [
{
"key": "images",
"type" : "files",
"endpoint": "http://angular-user.test/api/admin/images",
"startEmpty" : true,
"button_label" : "Vos images"
}
]

But I would like to be able to send additional data to the file upload endpoint to indicate for example with category file belongs to. Is this achievable ?
Thanks for any suggestions ! 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions