Repository navigation
api4webtrees 1.18.0 – API level 30, the interface is complete
API level 30: the interface is complete. With this release every route needed for everyday genealogy work is there:
individuals, families, events, names, sources and citations, media, places and location records, godparents, merging with
undo, and now research tasks, ordering, change history and favourites. From here on releases will be rare. Changes
and fixes are collected and published together; pull requests are merged without an immediate release, so clients built
on this API are not served a new version every few days. Everything is additive; older clients keep working.
- Bookmarks → webtrees favourites.
GET/POST Bookmarksnow use webtrees' ownfavoritetable, so the bookmarks appear
in the browser under “My page › My favourites” and survive any client.dataare the user's,treeFavoritesthe
tree's (managers set them withforTree: true), each person with anote. Bookmarks from the old user setting are
taken over once, automatically. - Research tasks.
GET Taskslists webtrees'_TODOfacts of the tree (text, date, user, note;?open=1only the
ones due);POST Taskadds or changes one (date defaults to today, user to the signed-in one); deleting with
DeleteFactmeans done.IndividualandFamilyanswer withtasks. Nothing proprietary:_TODOis what the
webtrees module “Research tasks” writes and shows. - Ordering.
POST Reordersorts children, partnerships, names or media – like the “Re-order” pages in webtrees,
only the order of the GEDCOM lines changes. - Change history.
GET Changeslists who created, changed or deleted which record and when (webtrees' change table,
pending changes included),?xref=for one record;IndividualandFamilyanswer withlastChange(CHAN). - Tests:
StufeDreissig(favourites with migration, tasks, ordering, history); the documentation is generated again.