public static Task <Photo> UploadJpegPhoto(this IPlanGridApi api, string projectUid, string title, Stream payload, CancellationToken cancellationToken = default(CancellationToken)) { return(api.UploadPhoto(projectUid, PhotoUpload.Jpeg, title, payload, cancellationToken)); }