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

    mediaContents

    Return media contents (images / videos) for items or Competitor Insights posts. Pass exactly one of itemIds or competitorBrandItemIds; both, or neither, is a GraphQL error. itemIds must belong to the current workspace. competitorBrandItemIds come from competitorBrandItems; posts of a brand the workspace does not track return no rows.

    Arguments

    competitorBrandItemIds [ID!]
    CompetitorBrandItem UUIDs to fetch contents for (1 to 100 per request). Obtain them from the competitorBrandItems(brandId:, filter:) query. Mutually exclusive with itemIds.
    itemIds [ID!]
    Item UUIDs to fetch contents for (1 to 100 per request). Mutually exclusive with competitorBrandItemIds.

    Returns

    Returns [MediaContent!]!.