Skip to main content

uploadImage

Fetch the image at the given URL, store it, and return the stored image's URL. Requires an authenticated session; returns an empty string when unauthenticated.

uploadImage(
url: String!
): String!

Arguments

uploadImage.url ● String! non-null scalar

Source URL of the image to fetch and store.

Type

String scalar

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.