Please wait.
loading...
Login
Email:
Password:
Log In
Don't know your password?
Login with Facebook
Documentation
Discussions
Explorer
Applications
Geni requires JavaScript! Please enable JavaScript in your browser's settings to use this part of Geni.
Introduction
Welcome
Terms of Use
Branding Guidelines
Rate Limits
Authentication
Introduction
Server Side Flow
Client Side Flow
Desktop Apps
Mobile Apps
Trusted Apps
App Login
Geni Applications
SDKs & Tools
JavaScript SDK
iOS SDK
API Reference
v
1
0
Introduction
Document
add
comment
comments
delete
projects
tag
tags
untag
update
Photo
add
comment
comments
delete
tag
tags
untag
update
Photo Album
add
photos
update
Profile
add-child
add-document
add-mugshot
add-parent
add-partner
add-photo
add-sibling
add-video
advanced-search
check-public
compare
delete
documents
follow
immediate-family
merge
photos
revisions
search
unfollow
update
videos
Project
collaborators
followers
profiles
Revision
Stats
world-family-tree
Surname
followers
profiles
Union
add-child
add-partner
update
User
add
followed-documents
followed-profiles
followed-projects
followed-surnames
max-family
metadata
my-albums
my-labels
update-metadata
uploaded-documents
uploaded-photos
uploaded-videos
Video
add
comment
comments
delete
tag
tags
untag
update
photo/add
Uploads and creates a photo.
Usage
Requires POST.
https://www.geni.com/api/photo/add?title=foo&text=text-doc
Parameters
Name
Type
Description
Required
album_id
String
The id of the album where the photo will be stored
false
date
Date
The photo's date in JSON form
false
description
String
The photo's description
false
file
Binary
File to create photo from
false
title
String
The photo's title
true
Returned Fields
Name
Type
Description
album_id
String
The id of the album where the photo is stored
content_type
String
The photo's original content type
created_at
String
Timestamp of when the photo was created
date
String
The photo's date
description
String
The photo's description
guid
String
The old GUID
id
String
The photo's id
location
Location
The photo's location
sizes
PhotoImageSizeMap
URLs to the photo's sizes
title
String
The photo's title
updated_at
String
Timestamp of when the photo was last updated
url
String
The api url of the photo
Note: Blank fields will not be returned to save bandwidth.
English (US)
eesti
Svenska
Español (España)
Français
עברית
Norsk (bokmål)
dansk
Nederlands
Deutsch
»
web-034