Read Memories Comments
This example request illustrates how to read the comments of users on a memory.
JSON
Request
GET /platform/memories/memories/AR-1234/comments
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-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked
{
"sourceDescriptions" : [ {
"id" : "AR-1234",
"links" : {
"memory" : {
"href" : "https://api.familysearch.org/platform/memories/memories/AR-1234?flag=fsh"
}
}
} ],
"discussions" : [ {
"id" : "dis-MMMM-MMM",
"numberOfComments" : 1,
"comments" : [ {
"id" : "CMMM-MMM",
"text" : "Just a comment.",
"links" : {
"comment" : {
"href" : "https://api.familysearch.org/platform/memories/memories/AR-1234/comments/CMMM-MMM?flag=fsh"
}
}
} ]
} ]
}
XML
Request
GET /platform/memories/memories/AR-1234/comments
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-cache, no-store, 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">
<sourceDescription id="AR-1234">
<link rel="memory" href="https://api.familysearch.org/platform/memories/memories/AR-1234?flag=fsh"/>
</sourceDescription>
<fs:discussion id="dis-MMMM-MMM">
<fs:numberOfComments>1</fs:numberOfComments>
<fs:comment id="CMMM-MMM">
<link rel="comment" href="https://api.familysearch.org/platform/memories/memories/AR-1234/comments/CMMM-MMM?flag=fsh"/>
<fs:text>Just a comment.</fs:text>
</fs:comment>
</fs:discussion>
</fs:familysearch>
Read Memories Comments
This example request illustrates how to read the comments of users on a memory.
JSON
Request
GET /platform/memories/memories/AR-1234/comments Accept: application/x-fs-v1+json Authorization: Bearer YOUR_ACCESS_TOKEN_HEREResponse
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-cache, no-store, no-transform, must-revalidate, max-age=0 Transfer-encoding: chunked{ "sourceDescriptions" : [ { "id" : "AR-1234", "links" : { "memory" : { "href" : "https://api.familysearch.org/platform/memories/memories/AR-1234?flag=fsh" } } } ], "discussions" : [ { "id" : "dis-MMMM-MMM", "numberOfComments" : 1, "comments" : [ { "id" : "CMMM-MMM", "text" : "Just a comment.", "links" : { "comment" : { "href" : "https://api.familysearch.org/platform/memories/memories/AR-1234/comments/CMMM-MMM?flag=fsh" } } } ] } ] }XML
Request
GET /platform/memories/memories/AR-1234/comments Accept: application/x-fs-v1+xml Authorization: Bearer YOUR_ACCESS_TOKEN_HEREResponse
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-cache, no-store, 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"> <sourceDescription id="AR-1234"> <link rel="memory" href="https://api.familysearch.org/platform/memories/memories/AR-1234?flag=fsh"/> </sourceDescription> <fs:discussion id="dis-MMMM-MMM"> <fs:numberOfComments>1</fs:numberOfComments> <fs:comment id="CMMM-MMM"> <link rel="comment" href="https://api.familysearch.org/platform/memories/memories/AR-1234/comments/CMMM-MMM?flag=fsh"/> <fs:text>Just a comment.</fs:text> </fs:comment> </fs:discussion> </fs:familysearch>Sending...
Feedback was sent.
Can't send feedback. Retry in 5 seconds.