Skip to main content

mediaFolders Query

Description​

The folders of the media library, sorted alphabetically, with the number of media each one holds.

query mediaFolders {
mediaFolders {
name
count
}
}

Variables​

{}

Response​

{
"mediaFolders": [
{
"name": "example",
"count": 10
}
]
}

Arguments​

No arguments

Returns​

[MediaFolder!]!