GanjoorRelatedPerson

get the whole connected kinship component reachable from this person (ancestors, descendants, spouses, siblings), for the interactive family-tree chart

Changed on
get/api/people/{id}/familytree

Request

  • Base URL
    https://api.ganjoor.net (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

idinteger required

Query parameters

masterCatIdinteger

optional master category (book) id: when given, each edge is labelled attested / otherBook / unattested / contradicted relative to that book

Response

OK

rootIdinteger

the person id the chart was requested for (not necessarily the topmost node once rendered - the client walks Parent/Ancestor edges to find the actual top of each lineage in Persons)

masterCatIdinteger nullable

the book (master category) this view was computed for, or null for the unfiltered whole-tree view. Edges then carry a State, see GanjoorFamilyTreeEdge.State.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the new optional query request parameter masterCatId

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status