Mutation
mutation UploadMarkdownImage($file: File!, $pathPrefix: String!) {
uploadMarkdownImage(file: $file, pathPrefix: $pathPrefix)
}Variables
{
"file": "value",
"pathPrefix": "string"
}Response
{
"data": {
"uploadMarkdownImage": "string"
}
}Mutations
uploadMarkdownImage
Uploads an image for use in markdown content and returns its identifier.
MUTATION
uploadMarkdownImage(file: File!, pathPrefix: String!): String!Arguments
file
File!
required
The image file.
pathPrefix
String!
required
Path that groups the image with its document, such as 'protocols/'.
Returns
String!
Mutation
mutation UploadMarkdownImage($file: File!, $pathPrefix: String!) {
uploadMarkdownImage(file: $file, pathPrefix: $pathPrefix)
}Variables
{
"file": "value",
"pathPrefix": "string"
}Response
{
"data": {
"uploadMarkdownImage": "string"
}
}