<?xml version="1.0"?>
<BitShelterAPI version="1.1"><identity><company>PhotoShelter, Inc.</company><application>PhotoShelter</application><url>http://www.photoshelter.com</url></identity><response><error><class>SessionRequiredErr</class><message>You must be logged into PhotoShelter to perform this action</message></error></response><usage><name>img-upl</name><desc>The image upload module accepts an image upload.  If no album is specified (ID or name) the image is placed in the Default album.  If an album ID or album name is specified and it exists, the image is placed in that album.  If the specified album name does not exist, a new album is created with that name and the image is placed in the new album. This module must be contacted using the HTTP multipart/form-data encoding type (http://www.ietf.org/rfc/rfc1867.txt).  The I_FILE parameter may be a single file or a form array (I_FILE[]).</desc><input><A_ID>album ID</A_ID><A_NAME>album name</A_NAME><I_FILE>image</I_FILE><I_ANGLE>image rotate angle (90|180|270)</I_ANGLE><I_IS_SEARCHABLE>image searchable (t|f)</I_IS_SEARCHABLE><I_IS_TAGGED>image tagged (t|f)</I_IS_TAGGED><I_RATING>image rating (null|0|1|2|3|4|5)</I_RATING></input></usage></BitShelterAPI>

