- Family Graph API
- Objects
- AggregateValueAdd
- Album
- Audio
- BuyNowData
- ChildInFamily
- Citation
- ColorizationData
- Comment
- Config
- ConfirmationStatus
- Counter
- Device
- DiscoveryBase
- DnaAncestorName
- DnaEnums
- DnaEthnicity
- DnaEthnicityReport
- DnaKit
- DnaKitFile
- DnaMatch
- DnaMatchCommonAncestor
- DnaMatchNote
- DnaMatchRelationship
- DnaOrderItemShippingDetails
- Document
- Enums
- EthnicityInLocation
- Event
- EventDate
- EventPlace
- ExportGEDCOM
- ExportGEDCOMStatus
- Family
- FamilyEvent
- GenealogyEvent
- GoalActivity
- Image
- Individual
- Installation
- Invitation
- MatchesCount
- MatchingRequest
- MediaItem
- Membership
- Navigation
- NavigationItem
- NavigationItemBadge
- NewPhotoInfo
- Note
- Notification
- NotificationHistory
- OrderItemCoupon
- OrderItemShippingDetails
- Page
- PersonalPhotosDiscovery
- Phones
- Photo
- PhotoVersion
- Range
- RecordColorizationData
- RecordIndividual
- RecordMatchesCount
- Relationship
- ResiEvent
- ShippingOption
- SingleDate
- Site
- SmartMatch
- Source
- StructuredDate
- StructuredPlace
- SubTree
- SuggestedRelative
- System
- Tag
- ThreadsCount
- Tree
- TreeItem
- User
- UserMenu
- ValueAddData
- ValueAddElement
- ValueAddFactor
- Video
- WorldEthnicities
- SDKs
- PHP SDK
- iOS SDK
- Android SDK
Membership
Membership information as represented in the Family Graph API.
This object contains membership information of a user in a site.
Fields
The Membership
object contains the following fields:
Name | Description | Type | Access Mode |
site |
The site where the user is a member |
Site object: id and name fields |
read |
user |
The user who is a member of the site |
User object: id and name fields |
read |
is_manager |
Indicates whether the user is a manager of the site |
boolean |
read |
last_visit_time |
Date and time when the user last visited the site |
string (YYYY-MM-DD HH:MM:SS) |
read |
visit_count |
Number of unique visits of the user in the site |
int |
read |
individual |
The individual associated with the user in a family tree in the site |
Individual object: id and name fields |
read |
class_name |
The object class name |
string |
read |
Examples
User membership
https://familygraph.myheritage.com/user-10/memberships (open in browser){
"data": [
{
"site": {
"id": "site-144530322",
"name": "Demo Family Site"
},
"user": {
"id": "user-10",
"name": "Developer MyHeritage"
},
"is_manager": true,
"last_visit_time": "2019-12-04T14:43:59+0000",
"visit_count": 257,
"individual": {
"id": "individual-144530322-1000028",
"name": "Joseph Patrick Kennedy II"
},
"class_name": "Membership"
}
],
"class_name": "Connection"
}
Site membership
https://familygraph.myheritage.com/site-144530322/memberships (open in browser){
"data": [
{
"site": {
"id": "site-144530322",
"name": "Demo Family Site"
},
"user": {
"id": "user-10",
"name": "Developer MyHeritage"
},
"is_manager": true,
"last_visit_time": "2019-12-04T14:43:59+0000",
"visit_count": 257,
"individual": {
"id": "individual-144530322-1000028",
"name": "Joseph Patrick Kennedy II"
},
"class_name": "Membership"
}
],
"class_name": "Connection"
}