Upload Story
This example request illustrates how to upload a story. To do this, post the story to the Memories resource with the Content-Type
set to the media type of the image. Provide the title of the story as a query parameter called "title". Provide the filename using the Content-Disposition
header.
Request
POST /platform/memories/memories?title=Grandfather's+Horse Content-Disposition: attachment; filename="earl-horse.txt" Content-Type: text/plain Authorization: Bearer YOUR_ACCESS_TOKEN_HERE This story is about Grandpa Earl's horse...
Response
HTTP/1.1 201 Created Content-type: text/html X-entity-id: 12345 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 Location: https://api.familysearch.org/platform/memories/memories/12345 Transfer-encoding: chunked
Sending...
Feedback was sent.
Can't send feedback. Retry in 5 seconds.