Skip to main content

MediaConnection Object

Description​

Connection type for paginated media results with pagination metadata.

Declaration​

type MediaConnection {
media: [Media!]!
pagination: Pagination!
folders: [String!]!
}

Fields​

NameTypeDescription
media[Media!]!List of media items in the current page, sorted by creation date.
paginationPagination!Pagination information including page number, total count, and limit.
folders[String!]!All distinct, non-empty folder names used by the account's media (independent of the current folder filter), sorted alphabetically — used to build the media library's folder tabs.