Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Jump to examples ↓
    Query

    contentViews

    List saved content (media deck) views for the current workspace, ordered by most-recently-updated first. Pair with items(presetId:) to fetch the items belonging to a view. Returns at most 1000 rows; this field is not paginated.

    Arguments

    Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.

    filter ContentViewFilterInput default {}
    Optional filter criteria. When omitted or empty, returns the current workspace's media_deck views.

    Returns

    Returns [ContentView!]! .

    createdAt DateTimeWithZone!
    When the view was created.
    customAttributeConditions JSON!
    Custom-attribute conditions narrowing the filter set.
    filters JSON!
    Opaque filter blob defining which items belong to the view.
    group ViewGroup
    Group this view belongs to, or null when the view is ungrouped. Populated by moveContentViewToGroup.
    id ID!
    Unique identifier (FilterPreset UUID). Use this with items(presetId:).
    name String!
    Display name of the view.
    showReportingStats Boolean!
    Whether reporting stats are surfaced in the UI for this view.
    sort JSON!
    Sort directives applied when listing items via this view.
    updatedAt DateTimeWithZone!
    When the view was last updated.