Skip to content
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

eventCreate mutation - uploading coverPhoto & eventPhoto #2

Open
criticalpixel opened this issue May 24, 2020 · 0 comments
Open

eventCreate mutation - uploading coverPhoto & eventPhoto #2

criticalpixel opened this issue May 24, 2020 · 0 comments

Comments

@criticalpixel
Copy link

criticalpixel commented May 24, 2020

I can see that both coverPhoto & eventPhoto take ImageInputType which requires uploadId of an image. Which means I have to use an already uploaded imageid from a previously created event that was not created via the api.

Right now, if I want to use the api to create events and have cover photo and an event photo, I have to have a hidden draft event which stores various images and then fetch the correct ID from api and parse it to the mutation event, which is not ideal.

Is there a mutation for uploading an Image via the api or an endpoint for uploading images and getting uploadid in response?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant