-
Notifications
You must be signed in to change notification settings - Fork 43
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
Media upload using API #290
Comments
Also it's related to previews and stuff which should be auto generated |
File uploads are currently missing in the GraphQL API and haven't been available in the JsonAdm API at all. If you can provide a pull request for the GraphQL API, we are happy to integrate it into the core |
Would be happy to, though having a quick look on the project🤕 tells me I'm not currently capable of. I try cURLing on current APIs if possible. I tried to remake a request to http://localhost/admin/default/jqadm/save/product using create product but I get 419:Expired error. |
So far I managed to add a product the high way. I hope it works for now and hope we'll have the API soon.
|
The GraphQL file upload API is now available: https://aimeos.org/docs/latest/admin/graphql/media/#save-media-with-file-upload |
Is your feature request related to a problem?
Couldn't find in documentations a straight forward way of uploading images and linking them to products / categories
Describe the solution you'd like
An API for uploading images that can save the media for a product / category etc.
Describe alternatives you've considered
Uploading the media using file system, then linking it using current APIs somehow. But how? Is there documentations for it?
Additional context
The text was updated successfully, but these errors were encountered: