Phanfare Support Site
Navigation

NewAlbum

From Doc

This call creates a new album with the authenticated user's account

Parameters

api_key (required)

The api key for your application

target_uid (required)

The ID of the Phanfare user

album_name(optional)

The name for the new album, default is "New Album"

album_description (optional)

The description of the new Album. Default is an ""

album_start_date (optional)

The date for the earliest media in the Default is Now

album_end_date (optional)

The date for the latest media in the Default is Now

groups (optional)

Comma separated list of groups with whom the album is to be shared. Default is Private.

album_type (optional)

Specify whether the album is dated or timeless. Default is dated.

Sample Response

<rsp stat="ok">
  <album album_id="" album_type="" album_creation_date="" album_descr="" album_end_date="" album_name="" album_date="" >
    <sections num_sections="1">
      <section album_id="" section_id="" section_name="" section_descr="" />
    </sections>
    <groups num_groups="">
      <group group_id="" />
    </groups>
  </album>
</rsp>
© 2008 Phanfare, Inc.