Create Genealogies Media Item

This example request illustrates how to create a media item.

Request

POST /platform/genealogies/trees/2:3:12345/media
Content-Type: text/html
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

<html><body><p>Here's a story about my ancestor</p></body></html>

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/media/2:3:54321
Transfer-encoding: chunked