Read Spouses of a Person but no Relationship

This example request illustrates how to read the spouses of a person but no Relationship is returned. Note that for the FamilySearch Family Tree, the spouses list doesn't necessarily contain a couple relationship for every spouse. Persons who share a child-and-parents relationship as a parent will also be included in the list of spouses.

JSON

Request

GET /platform/tree/persons/FJP-M4RK/spouses
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 404 Not Found
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/persons/FJP-M4RK/spouses
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked

XML

Request

GET /platform/tree/persons/FJP-M4RK/spouses
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 404 Not Found
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/persons/FJP-M4RK/spouses
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked