Repository navigation
api4webtrees 1.15.0
API levels 27 and 28: houses and farms as places, pending facts. Everything is additive; older clients keep working.
- Level 27 – the whole GEDCOM-L
_LOCrecord. Houses and farms are location records of their own with a type and a
superior place (1 TYPE Hof,1 _LOC @L1@), as GEDCOM-L and local heritage books with farm lists use them.
GET Placenow gives the_LOCrecord'stype, itsparents(the hierarchy pointers with their type and date) and
itsevents(1 EVENat the place – fire, rebuilding, sale … with type, date, notes and sources).childrenare
merged from webtrees' place table and the_LOChierarchy, each withlocationandtype. A place that exists only
as a_LOCin the hierarchy (a farm without recorded residents) is listed byPlaces?list=1and answered byPlace
with 0 events instead ofnot-found.POST Placetakestypeandparent; withparenta place without events can
be created. Renaming a place takes its farms along. - Level 28 – pending facts. Facts carry
pending: truewhile a change waits for approval (only users who see
pending changes gettrue).sexis everywhere what the facts show the user, also while a change of sex is pending. - Tests:
test_hof, the test tree has two farms; the documentation is generated again.