Closed viktorsmari closed 2 years ago
This ticket was checked against the BonFire API. Resolution: We haven't ability to upload files anywhere Details See the screenshot with available queries in BonFire:
This screen show ZenPub API create user. Here we can upload file
This screen show BonFire API update Resource. Here we have no ability to upload file, only string URI for image field
This screen show BonFire Api user create. As you can see, we have not ability to upload image also. May be we need new ticket for this issue?
This is correct behaviour for both back ends. Please note
image{ id, url },
that the schema requires a url pointer to an image, not an image itself.
Please, see point 3 in #67 and provide a clear answer about the development roadmap. We know about the schema, we are only trying to confirm the development roadmap.
We are able to upload a Profile picture and background image in the settings without problems :+1:![2021-06-08_18-02-22](https://user-images.githubusercontent.com/1689020/121219181-b94c7a00-c883-11eb-8d3d-b20dad6bd2f1.png)
We are having issues with doing the exact same thing for a Resource![2021-06-08_18-00-21](https://user-images.githubusercontent.com/1689020/121219275-ce290d80-c883-11eb-9356-58c355d20533.png)
Should it work the same way?
To update the economic resource, we get this mutation: But the image type is only a URI.
For example , when we change user profile, we use this mutation:
When we try to send a file, we get console errors: