uploadImage
Mutation
Uploads an image.
Response
Returns Image
Arguments
| Name | Type | Description |
|---|---|---|
image | UploadImageInput! | Arguments to upload an image. |
Example
mutation uploadImage( $image: UploadImageInput!) { uploadImage( image: $image ) { id dataSourceId timestamp url thumbnailUrl }}{ "image": { "data": "data-c76b" }}{ "data": { "uploadImage": { "id": "71c5045b-8c64-8008-88e1-7cc3beceffe4", "dataSourceId": "0c3f4715-1a80-88eb-9606-bf9ba9d61e66", "timestamp": "2025-01-01T00:00:00.000Z", "url": "url-9d02", "thumbnailUrl": "thumbnailUrl-a1f8" } }}