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?
I can see that both
coverPhoto
&eventPhoto
takeImageInputType
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.