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. While the workspace is in App Review mode, where the Archive app hides Competitor Insights, competitorBrandItemIds returns a FIELD_NOT_AVAILABLE error with extensions.field = "mediaContents.competitorBrandItemIds".
Arguments
- competitorBrandItemIds [ID!]
-
CompetitorBrandItemUUIDs to fetch contents for (1 to 100 per request). Obtain them from thecompetitorBrandItems(brandId:, filter:)query. Mutually exclusive withitemIds. While the workspace is in App Review mode, where the Archive app hides Competitor Insights,competitorBrandItemIdsreturns aFIELD_NOT_AVAILABLEerror withextensions.field = "mediaContents.competitorBrandItemIds". - itemIds [ID!]
- Item UUIDs to fetch contents for (1 to 100 per request). Mutually exclusive with
competitorBrandItemIds.
Returns
Returns [MediaContent!]!.