dvid.fetch.add_bookmarks

dvid.fetch.add_bookmarks(data, verify=True, server=None, node=None)[source]

Add or edit user bookmarks.

Please note that you will have to restart neutu to see the changes to your user bookmarks.

Parameters
  • data (list of dicts) –

    Must be list of dicts. See example:

    [{'Pos': [21344, 21048, 22824],
      'Kind': 'Note',
      'Tags': ['user:schlegelp'],
      'Prop': {'body ID': '1671952694',
               'comment': 'mALT',
               'custom': '1',
               'status': '',
               'time': '',
               'type': 'Other',
               'user': 'schlegelp'}},
     ... ]
    

  • verify (bool, optional) – If True, will sanity check data against above example. Do not skip unless you know exactly what you’re doing!

  • server (str, optional) – If not provided, will try reading from global.

  • node (str, optional) – If not provided, will try reading from global.

Return type

Nothing