Create Genealogies Source Description
This example request illustrates how to create a source description.
JSON
Request
POST /platform/genealogies/trees/2:3:12345/sources
Content-Type: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE{
"sourceDescriptions" : [ {
"citations" : [ {
"value" : "Example Source Citation"
} ],
"titles" : [ {
"value" : "Example Source Description"
} ]
} ]
}
Response
HTTP/1.1 201 Created
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Location: https://api.familysearch.org/platform/genealogies/sources/2:3:54321
Transfer-encoding: chunked
XML
Request
POST /platform/genealogies/trees/2:3:12345/sources
Content-Type: application/x-fs-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE<?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>
<citation>
<value>Example Source Citation</value>
</citation>
<title>Example Source Description</title>
</sourceDescription>
</fs:familysearch>
Response
HTTP/1.1 201 Created
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Location: https://api.familysearch.org/platform/genealogies/sources/2:3:54321
Transfer-encoding: chunked
Updated 5 days ago