Skip to content

eventCreate mutation - uploading coverPhoto & eventPhoto #2

@criticalpixel

Description

@criticalpixel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions