profile/add-photo

Adds a photo and tags the profile in it. Parameters can be posted as form data or JSON.

Usage

Requires POST.

https://www.geni.com/api/profile-122248213/add-photo

Parameters

Name Type Description Required
date Date Photo's date in JSON form false
description String Photo's description false
file String Base64 encoded file to create photo from false
title String Photo's title true

Returned Fields

Name Type Description
content_type String Photo's original content type
created_on String Photo's creation date
date Date Photo's date
description String Photo's description
guid String Old globally unique identifier
id String Photo's id
page_count Number Number of pages in the photo
sizes PhotoImageSizeMap URLs to the photo's sizes
title String Photo's title
url String Photo's API URL
Note: Blank fields will not be returned to save bandwidth.

rails-1a-002