Read Discussion
This example request illustrates how to read a discussion.
JSON
Request
GET /platform/discussions/discussions/dis-MMMM-MMM
Accept: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Last-modified: Sat, 01 Dec 2018 04:59:53 CET
Content-type: application/x-fs-v1+json
X-processing-time: 3
Etag: "1543638712000"
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/discussions/discussions/dis-MMMM-MMM
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked{
"discussions" : [ {
"id" : "dis-MMMM-MMM",
"title" : "1900 US Census, Ethel Hollivet",
"details" : "Ethel Hollivet (line 75) with husband Albert Hollivet (line 74); also in the dwelling: step-father Joseph E Watkins (line 72), mother Lina Watkins (line 73), and grandmother -- Lina's mother -- Mary Sasnett (line 76). ",
"contributor" : {
"resource" : "https://familysearch.org/platform/users/agents/JNYR-KJP",
"resourceId" : "JNYR-KJP"
},
"created" : 1543677067000,
"modified" : 1543677067000,
"numberOfComments" : 2,
"links" : {
"comments" : {
"href" : "https://api.familysearch.org/platform/discussions/discussions/dis-MMMM-MMM/comments?flag=fsh"
},
"discussion" : {
"href" : "https://api.familysearch.org/platform/discussions/discussions/dis-MMMM-MMM?flag=fsh"
}
}
} ]
}
XML
Request
GET /platform/discussions/discussions/dis-MMMM-MMM
Accept: application/x-fs-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Last-modified: Sat, 01 Dec 2018 04:59:53 CET
Content-type: application/x-fs-v1+xml
X-processing-time: 3
Etag: "1543638712000"
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/discussions/discussions/dis-MMMM-MMM
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">
<fs:discussion id="dis-MMMM-MMM">
<link rel="comments" href="https://api.familysearch.org/platform/discussions/discussions/dis-MMMM-MMM/comments?flag=fsh"/>
<link rel="discussion" href="https://api.familysearch.org/platform/discussions/discussions/dis-MMMM-MMM?flag=fsh"/>
<fs:title>1900 US Census, Ethel Hollivet</fs:title>
<fs:details>Ethel Hollivet (line 75) with husband Albert Hollivet (line 74); also in the dwelling: step-father Joseph E Watkins (line 72), mother Lina Watkins (line 73), and grandmother -- Lina's mother -- Mary Sasnett (line 76). </fs:details>
<fs:created>2018-12-01T08:11:07-07:00</fs:created>
<fs:contributor resource="https://familysearch.org/platform/users/agents/JNYR-KJP" resourceId="JNYR-KJP"/>
<fs:modified>2018-12-01T08:11:07-07:00</fs:modified>
<fs:numberOfComments>2</fs:numberOfComments>
</fs:discussion>
</fs:familysearch>
Updated 5 days ago