Contentful SDK v0.3.2 Contentful.Entry.AssetResolver View Source

The module provides functions to resolve the Entry <-> Asset relationships.

Link to this section Summary

Functions

extracts asset ids nested in the fields of a single entry, essentially collecting asset_ids from the tree structure of the entry fields accomodating for serval field types.

Link to this section Functions

Link to this function

find_linked_asset_ids(entry)

View Source

Specs

find_linked_asset_ids(Contentful.Entry.t()) :: [String.t()]

extracts asset ids nested in the fields of a single entry, essentially collecting asset_ids from the tree structure of the entry fields accomodating for serval field types.