Ergonode docs
GraphQL API
Search…
⌃K

Set alternative value for a multimedia

This is how you can set alternative value to a single multimedia via API.
The MultimediaPath scalar type represents a textual combination of MultimediaFolderName, and MultimediaName joined with '/' Multimedia identifier pointing to its exact location. If file is in root folder you need to skip MultimediaFolderName in path.
mutation {
multimediaSetAlt(
input: {
path: "multimedia.jpg"
alt: { language: "en_GB", value: "Alternative value" }
}
) {
__typename
}
}