XML

Discussion (JSON)

A discussion.

Namespace:http://familysearch.org/v1/
URI:http://familysearch.org/v1/Discussion
Extends:HypermediaEnabledData

Properties

Name Type Description
title string get the one-line summary or "subject" of the discussion
details string Get detailed text of the discussion
created dateTime Get the date of discussion creation
contributor ResourceReference Get the contributor who submitted this discussion
modified dateTime Last date of any change to comments or discussion details
numberOfComments int Get the number of comments associated with this discussion
comments array of Comment The comments on this discussion.
Properties inherited from HypermediaEnabledData
links array of Link The list of hypermedia links. Links are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
Properties inherited from ExtensibleData
id ID A local, context-specific id for the data.

Example

{
  "title" : "...",
  "details" : "...",
  "created" : "...",
  "contributor" : {
    "resourceId" : "...",
    "resource" : ...
  },
  "modified" : "...",
  "numberOfComments" : ...,
  "comments" : [ {
    "text" : "...",
    "created" : "...",
    "contributor" : {
    },
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "links" : {
    "type1" : [ {
      "template" : "...",
      "allow" : "...",
      "count" : ...,
      "accept" : "...",
      "type" : "...",
      "hreflang" : "...",
      "title" : "...",
      "results" : ...,
      "rel" : "...",
      "offset" : ...,
      "href" : ...
    }, ... ],
    "type2" : [ {
      "template" : "...",
      "allow" : "...",
      "count" : ...,
      "accept" : "...",
      "type" : "...",
      "hreflang" : "...",
      "title" : "...",
      "results" : ...,
      "rel" : "...",
      "offset" : ...,
      "href" : ...
    }, ... ],
    "..." : ...
  },
  "id" : "..."
}