Ergonode docs
GraphQL API
Search
⌃K

Change the name of the multimedia

This is how you can change the name of 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 {
multimediaSetName(
input: {
path: "multimedia.jpg"
name: "multimedia_2.jpg"
}
) {
__typename
}
}