Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All other entities have a simpler API and – for the most part – require just one long line of code to create or update a perticular entity.

...

Example: Create update a List

Code Block
languagejs
UM.channels.add('channel-id', 'Channel title', 'Description',
    false, // isPublic
    UM.OVERWRITE_EXISTING,
    ['SemTag1', 'SemTag2'],
    ['en', 'de', 'it'],
    false, // preventsEntryRemoval,
    false, // noAutoUnsubscribe
    {foo: 'Bar'});

...