Read Person Merge Analysis
This example request illustrates how to read an analysis for a merge of two persons.
JSON
Request
GET /platform/tree/persons/P12-345/merges/P54-321
Accept: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-fs-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked{
"links" : {
"merge-mirror" : {
"href" : "https://api.familysearch.org/platform/tree/persons/P12-345/merges/P54-321?flag=fsh"
},
"person" : {
"href" : "https://api.familysearch.org/platform/tree/persons/P12-345?flag=fsh"
},
"merge" : {
"href" : "https://api.familysearch.org/platform/tree/persons/P12-345/merges/P54-321?flag=fsh"
}
},
"mergeAnalyses" : [ {
"survivorResources" : [ {
"resource" : "https://api.familysearch.org/platform/tree/persons/P12-345/conclusions/YZAB"
}, {
"resource" : "https://api.familysearch.org/platform/tree/persons/P12-345/conclusions/CDEF"
} ],
"duplicateResources" : [ {
"resource" : "https://api.familysearch.org/platform/tree/persons/P54-321/conclusions/QRST"
}, {
"resource" : "https://api.familysearch.org/platform/tree/persons/P54-321/conclusions/UVWX"
} ],
"conflictingResources" : [ {
"survivorResource" : {
"resource" : "https://api.familysearch.org/platform/tree/persons/P12-345/conclusions/ABCD"
},
"duplicateResource" : {
"resource" : "https://api.familysearch.org/platform/tree/persons/P54-321/conclusions/EFGH"
}
}, {
"survivorResource" : {
"resource" : "https://api.familysearch.org/platform/tree/persons/P12-345/conclusions/IJKL"
},
"duplicateResource" : {
"resource" : "https://api.familysearch.org/platform/tree/persons/P54-321/conclusions/MNOP"
}
} ],
"survivor" : {
"resource" : "https://api.familysearch.org/platform/tree/persons/P12-345"
},
"duplicate" : {
"resource" : "https://api.familysearch.org/platform/tree/persons/P54-321"
}
} ]
}
XML
Request
GET /platform/tree/persons/P12-345/merges/P54-321
Accept: application/x-fs-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-fs-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fs:familysearch xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
<link rel="merge-mirror" href="https://api.familysearch.org/platform/tree/persons/P12-345/merges/P54-321?flag=fsh"/>
<link rel="merge" href="https://api.familysearch.org/platform/tree/persons/P12-345/merges/P54-321?flag=fsh"/>
<link rel="person" href="https://api.familysearch.org/platform/tree/persons/P12-345?flag=fsh"/>
<fs:mergeAnalysis>
<fs:survivorResource resource="https://api.familysearch.org/platform/tree/persons/P12-345/conclusions/YZAB"/>
<fs:survivorResource resource="https://api.familysearch.org/platform/tree/persons/P12-345/conclusions/CDEF"/>
<fs:duplicateResource resource="https://api.familysearch.org/platform/tree/persons/P54-321/conclusions/QRST"/>
<fs:duplicateResource resource="https://api.familysearch.org/platform/tree/persons/P54-321/conclusions/UVWX"/>
<fs:conflictingResource>
<fs:survivorResource resource="https://api.familysearch.org/platform/tree/persons/P12-345/conclusions/ABCD"/>
<fs:duplicateResource resource="https://api.familysearch.org/platform/tree/persons/P54-321/conclusions/EFGH"/>
</fs:conflictingResource>
<fs:conflictingResource>
<fs:survivorResource resource="https://api.familysearch.org/platform/tree/persons/P12-345/conclusions/IJKL"/>
<fs:duplicateResource resource="https://api.familysearch.org/platform/tree/persons/P54-321/conclusions/MNOP"/>
</fs:conflictingResource>
<fs:survivor resource="https://api.familysearch.org/platform/tree/persons/P12-345"/>
<fs:duplicate resource="https://api.familysearch.org/platform/tree/persons/P54-321"/>
</fs:mergeAnalysis>
</fs:familysearch>
Updated 5 days ago