Read Memories for a User
This example request illustrates how to query for all memories for a given user. This allows users to get a list of all memories that have been uploaded by the current user. To do this, make a request to the User Memories resource with the Accept header set to application/x-gedcomx-v+xml.
JSON
Request
GET /platform/memories/users/cis.user.batman/memories?start=2&count=1
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
Content-location: /platform/memories/users/cis.user.batman/memories
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked{
"links" : {
"next" : {
"href" : "https://api.familysearch.org/platform/memories/users/cis.user.batman/memories?flag=fsh&count=1&start=3"
},
"prev" : {
"href" : "https://api.familysearch.org/platform/memories/users/cis.user.batman/memories?flag=fsh&count=1&start=1"
},
"self" : {
"href" : "https://api.familysearch.org/platform/memories/users/cis.user.batman/memories?flag=fsh&count=1&start=2"
},
"first" : {
"href" : "https://api.familysearch.org/platform/memories/users/cis.user.batman/memories?flag=fsh&count=1&start=0"
}
},
"sourceDescriptions" : [ {
"id" : "MMMM-PPP",
"links" : {
"comments" : {
"href" : "https://api.familysearch.org/platform/memories/memories/MMMM-PPP/comments?flag=fsh"
},
"memory" : {
"href" : "https://api.familysearch.org/platform/memories/memories/MMMM-PPP?flag=fsh"
}
},
"titles" : [ {
"value" : "NEW ARTIFACT TITLE"
} ]
} ]
}
XML
Request
GET /platform/memories/users/cis.user.batman/memories?start=2&count=1
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
Content-location: /platform/memories/users/cis.user.batman/memories
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="first" href="https://api.familysearch.org/platform/memories/users/cis.user.batman/memories?flag=fsh&count=1&start=0"/>
<link rel="next" href="https://api.familysearch.org/platform/memories/users/cis.user.batman/memories?flag=fsh&count=1&start=3"/>
<link rel="prev" href="https://api.familysearch.org/platform/memories/users/cis.user.batman/memories?flag=fsh&count=1&start=1"/>
<link rel="self" href="https://api.familysearch.org/platform/memories/users/cis.user.batman/memories?flag=fsh&count=1&start=2"/>
<sourceDescription id="MMMM-PPP">
<link rel="comments" href="https://api.familysearch.org/platform/memories/memories/MMMM-PPP/comments?flag=fsh"/>
<link rel="memory" href="https://api.familysearch.org/platform/memories/memories/MMMM-PPP?flag=fsh"/>
<title>NEW ARTIFACT TITLE</title>
</sourceDescription>
</fs:familysearch>
Updated 5 days ago