MediaResource: {
    altText?: Maybe<Scalars["String"]>;
    attr?: Maybe<Attribute>;
    attrValue?: Maybe<Scalars["JSON"]>;
    attribution?: Maybe<Scalars["String"]>;
    attrs: AttributeConnection;
    caption?: Maybe<Scalars["String"]>;
    copyright?: Maybe<Scalars["String"]>;
    hasContent: Scalars["Boolean"];
    id?: Maybe<Scalars["ID"]>;
    profile?: Maybe<Profile>;
    provider: Scalars["String"];
    tags: Scalars["String"][];
}

Representing media such as images/photos as well as other types such as video or audio

Type declaration

  • Optional altText?: Maybe<Scalars["String"]>

    Alternative text for the media-resource

  • Optional attr?: Maybe<Attribute>

    Arbitrary JSON value stored on this resource, keyed by an id

  • Optional attrValue?: Maybe<Scalars["JSON"]>

    Shortcut for the attr.value, returns null if the attribute doesn't exist

  • Optional attribution?: Maybe<Scalars["String"]>

    Text attribution for the source of the media-resource

  • attrs: AttributeConnection

    Query multiple attributes optionally filtering by id and/or locale

  • Optional caption?: Maybe<Scalars["String"]>

    Text caption for the media-resource

  • Optional copyright?: Maybe<Scalars["String"]>

    Copyright details of the media-resource

  • hasContent: Scalars["Boolean"]

    Will be true if the resource has a caption, attribution or copyright

  • Optional id?: Maybe<Scalars["ID"]>

    Unique identifier for the media-resource

  • Optional profile?: Maybe<Profile>

    The associated profile owner

  • provider: Scalars["String"]

    The provider for the media

  • tags: Scalars["String"][]

    A series of strings representing applied labels to the media

Generated using TypeDoc