AbstractInterface | +--photos.upload.UploadInterface
| Method Summary | |
public array |
checkTickets(string tickets)
Checks the status of one or more asynchronous photo upload tickets. |
private Response |
post([struct params="#structnew()#"], [string url="#flickr.getUrl('upload')#"])
|
public string |
replacePhoto(string photo, string photo_id, [boolean async="0"])
Replace a photo with a new image |
public string |
uploadPhoto(string photo, [string title], [string description], [string tags], [boolean is_public], [boolean is_friend], [boolean is_family], [boolean async="0"])
Upload a photo to Flickr |
| Methods inherited from AbstractInterface |
init
|
| Method Detail |
public array checkTickets(string tickets)
string tickets (Required) - A comma-delimited list of ticket ids
private CFlickr.Response post([struct params="#structnew()#"], [string url="#flickr.getUrl('upload')#"])
struct params="#structnew()#" (Optional)string url="#flickr.getUrl('upload')#" (Optional)public string replacePhoto(string photo, string photo_id, [boolean async="0"])
string photo (Required) - Absolute path to an image file to uploadstring photo_id (Required) - The ID of the photo to replaceboolean async="0" (Optional) - If true will return a upload ticket, if false will return the photoidpublic string uploadPhoto(string photo, [string title], [string description], [string tags], [boolean is_public], [boolean is_friend], [boolean is_family], [boolean async="0"])
string photo (Required) - Absolute path to an image file to uploadstring title (Optional) - The title of the photo. string description (Optional) - A description of the photo. May contain some limited HTML.string tags (Optional) - A space-seperated list of tags to apply to the photo. boolean is_public (Optional) - Set to false for no, true for yes. Specifies who can view the photo. boolean is_friend (Optional) - Set to false for no, true for yes. Specifies who can view the photo. boolean is_family (Optional) - Set to false for no, true for yes. Specifies who can view the photo. boolean async="0" (Optional) - If true will return an upload ticket, if false will return the photoid