Upload Photo
This example request illustrates how to upload a photo. To do this, post the photo to the Memories resource with the Content-Type
set to the media type of the image. Provide the title of the photo as a query parameter called "title". Provide the filename using the Content-Disposition
header.
Request
POST /platform/memories/memories?title=Missionary+Portrait Content-Disposition: attachment; filename="alma-mission.jpg" Content-Type: image/jpeg Authorization: Bearer YOUR_ACCESS_TOKEN_HERE ...(binary bytes of the image)...
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.