photo/update

Updates photo data and returns the updated photo.

Usage

Requires POST.

https://www.geni.com/api/photo-1/update?title=foo

Parameters

Name Type Description Required
date String The photo's date false
description String The photo's description false
title String The photo's title false

Returned Fields

Name Type Description
album_id String The id of the album where the photo is stored
attribution String The photo's attribution
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
tags Array of Strings URLs (or ids) of profiles tagged in the photo
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.

rails-1a-000