MediaConnection Object
Description
Connection type for paginated media results with pagination metadata.
Declaration
type MediaConnection {
media: [Media!]!
pagination: Pagination!
folders: [String!]!
}
Fields
| Name | Type | Description |
|---|---|---|
media | [Media!]! | List of media items in the current page, sorted by creation date. |
pagination | Pagination! | 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. |