Read FamilySearch Historical Records Archive

This example request illustrates how to read a description of the FamilySearch Historical Records Archive. Records in this archive include birth, marriage and census records.

JSON

Request

GET /platform/collections/records
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/collections/records
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, max-age=604800
Transfer-encoding: chunked{
  "links" : {
    "agent-template" : {
      "template" : "https://api.familysearch.org/users/agents/{uid}?flag=fst"
    }
  },
  "description" : "#SD-FSHRA",
  "sourceDescriptions" : [ {
    "id" : "SD-FSHRA",
    "about" : "#FSHRA",
    "componentOf" : {
      "description" : "https://api.familysearch.org/platform/collection"
    },
    "resourceType" : "http://gedcomx.org/Collection",
    "titles" : [ {
      "value" : "FamilySearch Historical Records Archive"
    } ]
  } ],
  "collections" : [ {
    "id" : "FSHRA",
    "title" : "FamilySearch Historical Records Archive",
    "links" : {
      "image-records" : {
        "template" : "https://api.familysearch.org/records/images/{iid}/records?flag=fst"
      },
      "subcollections" : {
        "href" : "https://api.familysearch.org/records/collections?flag=fsh"
      },
      "image-metadata" : {
        "template" : "https://api.familysearch.org/records/images/{iid}/metadata?flag=fst"
      },
      "logout" : {
        "href" : "https://api.familysearch.org/platform/logout?flag=fsh"
      },
      "image-waypoint" : {
        "template" : "https://api.familysearch.org/records/waypoints/{wid}?flag=fst"
      },
      "http://oauth.net/core/2.0/endpoint/token" : {
        "href" : "https://api.familysearch.org/oauth2/v3/token?flag=fsh"
      },
      "self" : {
        "href" : "https://api.familysearch.org/platform/collections/records?flag=fsh"
      },
      "collection" : {
        "href" : "https://api.familysearch.org/platform/collection?flag=fsh"
      },
      "http://oauth.net/core/2.0/endpoint/authorize" : {
        "href" : "https://api.familysearch.org/oauth2/v3/authorization?flag=fsh"
      },
      "matches" : {
        "template" : "https://api.familysearch.org/records/personas/{pid}/matches?flag=fst"
      },
      "waypoints" : {
        "template" : "https://api.familysearch.org/records/collections/{clid}/waypoints?flag=fst"
      }
    }
  } ]
}

XML

Request

GET /platform/collections/records
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/collections/records
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, max-age=604800
Transfer-encoding: chunked<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gedcomx xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom" description="#SD-FSHRA">
    <link rel="agent-template" template="https://api.familysearch.org/users/agents/{uid}?flag=fst"/>
    <sourceDescription about="#FSHRA" resourceType="http://gedcomx.org/Collection" id="SD-FSHRA">
        <componentOf description="https://api.familysearch.org/platform/collection"/>
        <title>FamilySearch Historical Records Archive</title>
    </sourceDescription>
    <collection id="FSHRA">
        <link rel="collection" href="https://api.familysearch.org/platform/collection?flag=fsh"/>
        <link rel="http://oauth.net/core/2.0/endpoint/authorize" href="https://api.familysearch.org/oauth2/v3/authorization?flag=fsh"/>
        <link rel="http://oauth.net/core/2.0/endpoint/token" href="https://api.familysearch.org/oauth2/v3/token?flag=fsh"/>
        <link rel="image-metadata" template="https://api.familysearch.org/records/images/{iid}/metadata?flag=fst"/>
        <link rel="image-records" template="https://api.familysearch.org/records/images/{iid}/records?flag=fst"/>
        <link rel="image-waypoint" template="https://api.familysearch.org/records/waypoints/{wid}?flag=fst"/>
        <link rel="logout" href="https://api.familysearch.org/platform/logout?flag=fsh"/>
        <link rel="matches" template="https://api.familysearch.org/records/personas/{pid}/matches?flag=fst"/>
        <link rel="self" href="https://api.familysearch.org/platform/collections/records?flag=fsh"/>
        <link rel="subcollections" href="https://api.familysearch.org/records/collections?flag=fsh"/>
        <link rel="waypoints" template="https://api.familysearch.org/records/collections/{clid}/waypoints?flag=fst"/>
        <title>FamilySearch Historical Records Archive</title>
    </collection>
</gedcomx>