GanjoorRelatedPerson

kinship relations that have no human-attached evidence couplet yet - the worklist for contributors adding evidence. Paging info is returned in the paging-headers header.

Changed on
get/api/people/relations/withoutevidence

Request

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

Query parameters

skipinteger
takeinteger
personIdinteger

only relations touching this person

affiliationsboolean

true to list non-family affiliations without evidence instead

Response

OK

relationIdinteger

relation id

person1Idinteger

Person1 id

person1Namestring nullable

Person1 name

person2Idinteger

Person2 id

person2Namestring nullable

Person2 name

relationType0 | 1 | 2 | 3

the kind of kinship edge a GanjoorPersonRelation represents between two GanjoorRelatedPerson rows. The graph is not a strict tree - siblings can be known without their parents, an ancestor can be known without the exact number of generations in between, etc. - so this is a small, deliberately open set rather than a rigid parent/child-only model.

degreeHintinteger nullable

degree hint (ancestor relations)

pendingEvidenceSuggestionsinteger

number of evidence suggestions for this relation still waiting for review

isAffiliationboolean

true when this row is a non-family affiliation (then RelationId is the affiliation's id and AffiliationType is set; RelationType is meaningless)

affiliationType0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 99

the kind of non-family tie a GanjoorPersonAffiliation represents between two people - e.g. a minister serving a king, an advisor, a patron. Unlike PersonRelationType this has nothing to do with kinship; it's what lets two otherwise unrelated family trees show up as adjacent (e.g. "some Barmakids served the Abbasid court") without merging them into one tree. New values can be appended safely later (stored as int) as more cases come up.

Changes