New profile elements: parent_unions and partner_unions ?

Started by Private User on Saturday, January 19, 2013


Related Projects:

Showing all 5 posts
Private User
1/19/2013 at 6:58 AM

I noticed that the API now returns two undocumented items on a profile: parent_unions and partner_unions.

1) Is this a step on removing the need for the immediate-family record?
2) Will partner_unions replace the unions element?

What I am missing most in getting an effective caching of loaded profiles is that there is absolutely no way to detect changes in a profiles connections (i.e changes in parents, children, spouses), so you cannot cache immediate-family records.

3) Will any changes in the parent_unions or partner_unions solve this problem by updating the updated_at element on a profile?

I also notice that a lot of elements in v0 of the API like big_tree now is marked with "This field has been deprecated and will no longer be supported in the future versions".

4) Does this mean that those elements will be removed for v1 as well?

Private User
2/10/2013 at 1:28 PM

Hmm, the parent_unions and partner_unions fields are gone.

I really liked them compared to the messy immediate-family records and secondly it saved you from an extra request to find parents, partners and siblings.

3/10/2013 at 6:54 AM


I would also like this function to come back!

The immediate-family request works, but is kind of mis-matched in relation to other APIs as it gives a lot of redundant information, which slows things down.

Regards, Kenneth

3/10/2013 at 1:53 PM

I already asked Amanda about these (in Tr8n) - got no answer.

Private User
3/10/2013 at 2:34 PM

Kenneth, - you only need to load immediate-family records when following a line since immediate-family also contains the profile records, so parent_unions is not needed, but as you say: you have an overload since you also get all spouses and siblings, but that is needed if you want to process a descendants line.

I am able to load 10 generations of ancestors in 29 seconds now and I am not finished fine tuning my code yet.

Showing all 5 posts

Create a free account or login to participate in this discussion