API Reference CFSync v0.17.1

modules

Modules

CFSync is an Elixir client for Contentful sync API.

The Asset struct holds data from Contentful assets. It's provided as is and is not configurable, so if you need more fields than those currently mapped, feel free to send a PR.

The Entry struct holds standard data from Contentful entries. It's provided as is and is not configurable, so if you need more fields than those currently mapped, feel free to send a PR.

Utility functions to extract data from contenful JSON.

behaviour for fields struct.

The Link struct holds data from Contentful links. It's provided as is and is not configurable, so if you need more fields than those currently mapped, feel free to send a PR.

RichText recursive struct

Phoenix components for CFSync RichText rendering.

mix-tasks

Mix Tasks

This task downloads the contentful entries and assets to a local file for dev purposes.

This task builds config files for use with mix cf_sync.dump.