Method | Description | |
---|---|---|
Delete ( int photoId ) : bool |
Delete a photo given an id
|
|
Get ( int photoId, bool includeUnpublished = false, string token = null ) : |
||
GetList ( ) : List |
Returns a list of photos by default parameters
|
|
GetList ( |
Returns a list of photos by specific parameters
|
|
GetUploadToken ( string returnUrl, bool backgroundReturn, int userId, int albumId, string title, string description, string tags, bool publish, int validMinutes, int maxUploads ) : |
||
PhotoService ( IApiProvider provider ) : System | ||
RedeemUploadToken ( string filename, string fileContentType, System filestream, string uploadToken ) : bool | ||
Replace ( int photoId, string filename, string fileContentType, System filestream ) : bool |
Replace a photo thumbnail given an id
|
|
Update ( int photoId, int albumId = null, string title = null, string description = null, string tags = null, bool published = null, string>.Dictionary |
Update a photo given the id
|
|
Upload ( string filename, string fileContentType, System filestream, int userId = null, int albumId = null, string title = null, string description = null, string tags = null, bool publish = null, string>.Dictionary |
public Get ( int photoId, bool includeUnpublished = false, string token = null ) : |
||
photoId | int | |
includeUnpublished | bool | |
token | string | |
return |
public GetList ( |
||
requestParameters | ||
return | List |
public GetUploadToken ( string returnUrl, bool backgroundReturn, int userId, int albumId, string title, string description, string tags, bool publish, int validMinutes, int maxUploads ) : |
||
returnUrl | string | |
backgroundReturn | bool | |
userId | int | |
albumId | int | |
title | string | |
description | string | |
tags | string | |
publish | bool | |
validMinutes | int | |
maxUploads | int | |
return |
public PhotoService ( IApiProvider provider ) : System | ||
provider | IApiProvider | |
return | System |
public RedeemUploadToken ( string filename, string fileContentType, System filestream, string uploadToken ) : bool | ||
filename | string | |
fileContentType | string | |
filestream | System | |
uploadToken | string | |
return | bool |
public Replace ( int photoId, string filename, string fileContentType, System filestream ) : bool | ||
photoId | int | Id of photo |
filename | string | The original filename |
fileContentType | string | The meta content type of the file |
filestream | System | An input stream for reading the file |
return | bool |
public Update ( int photoId, int albumId = null, string title = null, string description = null, string tags = null, bool published = null, string>.Dictionary |
||
photoId | int | |
albumId | int | |
title | string | |
description | string | |
tags | string | |
published | bool | |
variables | string>.Dictionary | |
return | bool |
public Upload ( string filename, string fileContentType, System filestream, int userId = null, int albumId = null, string title = null, string description = null, string tags = null, bool publish = null, string>.Dictionary |
||
filename | string | |
fileContentType | string | |
filestream | System | |
userId | int | |
albumId | int | |
title | string | |
description | string | |
tags | string | |
publish | bool | |
variables | string>.Dictionary | |
return | int? |