/tmp/upload//tmp/php/php1h4j1o, [type] => image/png, * [size] => 123, [name] = user_file_name.png. * The file is a regular file and should not be moved by the move_uploaded_file method. * @param token security token to authorize this request * @return the created media item */ public function createMediaItem($userId, $groupId, $mediaItem, $file, $token); /** * Updates a media item in an album. Album id and media item id is taken in * from albumMediaItem. * * @param userId id of user whose media item is to be updated * @param groupId group id * @param mediaItem specifies album id, media-item id, fields to update * @param token security token * @return updated album media item */ public function updateMediaItem($userId, $groupId, $mediaItem, $token); /** * Deletes an album media item. * * @param id id of user whose media item is to be deleted * @param groupId group id * @param albumId id of album to update * @param mediaItemIds ids of media item to update * @param token security token to authorize this update request * @return void on successful completion */ public function deleteMediaItems($userId, $groupId, $albumId, $mediaItemIds, $token); }