Archive API docs
    Jump to

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

    Input object

    CreateContentViewInput

    Input for the createContentView mutation.

    Fields

    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.

    customAttributeConditions [CustomAttributeConditionInput!] default []
    Custom-attribute conditions to narrow the filter set.
    filter ItemFilterInput
    Typed filter defining which items belong to the view: the same ItemFilterInput items(filter:) takes. Preferred when composing a view. Stored as the equivalent filters blob (snake_case keys, stored enum values). Provide exactly one of filter or filters.
    filters JSON
    Opaque filter blob defining which items belong to the view. Use it to clone an existing view's filters verbatim; prefer filter otherwise. Provide exactly one of filter or filters.
    name String! required
    Display name for the new content view. Stored trimmed of surrounding whitespace and invisible characters and NFC-normalized; a blank, over-255-character or control-character name is a userError on input.name.
    showReportingStats Boolean default true
    Whether reporting stats should be surfaced. Defaults to true.
    sort JSON default []
    Sort directives applied when listing items via this view. Defaults to []. Provide at most one of sorting or sort. Each entry is { field, direction }: field is one of taken_at, merged_view_play_count, like_count, comment_count, share_count, earned_media_value, linear_virality, exponential_virality, resolved_virality, account_name, followers_count; direction is ASC or DESC (case-insensitive).
    sorting [ItemSortingInput!]
    Typed sort applied when listing items via this view: the same list items(sorting:) takes. Stored as sort ([{field, direction}]). Provide at most one of sorting or sort; with neither, the view stores [].