API Diff between 0.4.0 and 0.2.0
120 Additions
53 Removals
Little
-
public class AssetDriver : IAssetDriver
- public AssetDriver(IRequestContext context)
- public int CountByType(int type)
- public void Delete(string asset, int type)
- public ICollection<UserAsset> ForAsset(string asset, int type, int page, int records)
- public ICollection<UserAsset> ForAsset(string asset, int type, bool? vote, bool? rated_only, int page, int records)
- public int ForAssetCount(string asset, int type)
- public int ForAssetCount(string asset, int type, bool? vote, bool? rated_only)
- public ICollection<UserAsset> ForUser(string user, int page, int records)
- public ICollection<UserAsset> ForUser(string user, bool? vote, bool? rated_only, int page, int records)
- public int ForUserCount(string user)
- public int ForUserCount(string user, bool? vote, bool? rated_only)
- public ICollection<AssetRank> HighestRated(int type, int page, int records)
- public ICollection<AssetRank> MostVotes(int type, int page, int records)
- public RateResponse Rate(string user, string asset, int type, int rating)
- public string RateSignature(string user, string asset, int type)
- public UserAsset UserAsset(string user, string asset, int type)
- public VoteResponse Vote(string user, string asset, int type, bool up)
- public string VoteSignature(string user, string asset, int type)
-
public class AssetRank
-
public class Communicator
- public const string Delete = "DELETE"
- public void Send(string method, string resource, IDictionary<string, object> partialPayload, string[] signatureKeys)
- public T Send<T>(string method, string resource, IDictionary<string, object> partialPayload, string[] signatureKeys)
- public void Send(string method, string resource, string endpoint, IDictionary<string, object> partialPayload, string[] signatureKeys)
- public T Send<T>(string method, string resource, string endpoint, IDictionary<string, object> partialPayload, string[] signatureKeys)
-
public class Driver : IDriver, IRequestContext
- public static readonly string[] BlankSigature
- public IAssetDriver Asset { get; }
- public INotificationDriver Notification { get; }
- public ITagDriver Tag { get; }
- public IUserDriver User { get; }
- public int AssetTagCount(string asset, int type)
- public ICollection<Tag> AssetTags(string asset, int type, int page, int records)
- public void Like(string user, string asset, int type)
- public string LikeSignature(string user)
- public LoginFailureRate LoginAttempt(string user, string ipAddress, bool success)
- public ICollection<LoginAttempt> LoginAttempts(string user, int count)
- public string LoginAttemptsSignature(string user)
- public Notification Notification(string user, int type)
- public LoginAttempt PreviousSuccessfulLoginAttempt(string user)
- public void RespondToNotification(string user, string notificationId, int response)
- public string RespondToNotificationSignature(string user, string notificationId)
- public string Tag(string user, string asset, int type, bool share)
- public string Tag(string user, string asset, int type, bool share, string data)
- public Tag TagById(string id, bool sharedOnly)
- public string TagSignature(string user)
- public ICollection<Like> UserLikes(string user, int page, int records)
- public int UserTagCount(string user, bool sharedOnly)
- public int UserTagCount(string user, string asset, int type, bool sharedOnly)
- public ICollection<Tag> UserTags(string user, int page, int records, bool sharedOnly)
- public ICollection<Tag> UserTags(string user, string asset, int type, int page, int records, bool sharedOnly)
- public string UserTagsSignature(string user)
- public string UserTagsSignature(string user, string asset, int type)
- public ICollection<UserAsset> UserLikes(string user, int page, int records)
-
public interface IAssetDriver
- int CountByType(int type)
- void Delete(string asset, int type)
- ICollection<UserAsset> ForAsset(string asset, int type, int page, int records)
- ICollection<UserAsset> ForAsset(string asset, int type, bool? vote, bool? rated_only, int page, int records)
- int ForAssetCount(string asset, int type)
- int ForAssetCount(string asset, int type, bool? vote, bool? rated_only)
- ICollection<UserAsset> ForUser(string user, int page, int records)
- ICollection<UserAsset> ForUser(string user, bool? vote, bool? rated_only, int page, int records)
- int ForUserCount(string user)
- int ForUserCount(string user, bool? vote, bool? rated_only)
- ICollection<AssetRank> HighestRated(int type, int page, int records)
- ICollection<AssetRank> MostVotes(int type, int page, int records)
- RateResponse Rate(string user, string asset, int type, int rating)
- string RateSignature(string user, string asset, int type)
- UserAsset UserAsset(string user, string asset, int type)
- VoteResponse Vote(string user, string asset, int type, bool up)
- string VoteSignature(string user, string asset, int type)
-
public interface IDriver
- ICollection<string> AssetLikedBy(string asset, int type, int page, int records)
- int AssetLikedCount(string asset, int type)
- int AssetTagCount(string asset, int type)
- ICollection<Tag> AssetTags(string asset, int type, int page, int records)
- bool DoesUserLikeAsset(string user, string asset, int type)
- void Like(string user, string asset, int type)
- ICollection<LikeTypeGroup> LikedAssetsByType(int type, int page, int records)
- int LikedAssetsByTypeCount(int type)
- string LikeSignature(string user)
- LoginFailureRate LoginAttempt(string user, string ipAddress, bool success)
- ICollection<LoginAttempt> LoginAttempts(string user, int count)
- string LoginAttemptsSignature(string user)
- Notification Notification(string user, int type)
- LoginAttempt PreviousSuccessfulLoginAttempt(string user)
- void RespondToNotification(string user, string notificationId, int response)
- string RespondToNotificationSignature(string user, string notificationId)
- string Tag(string user, string asset, int type, bool share)
- string Tag(string user, string asset, int type, bool share, string data)
- Tag TagById(string id, bool sharedOnly)
- string TagSignature(string user)
- int UserLikeCount(string user)
- ICollection<Like> UserLikes(string user, int page, int records)
- int UserTagCount(string user, bool sharedOnly)
- int UserTagCount(string user, string asset, int type, bool sharedOnly)
- ICollection<Tag> UserTags(string user, int page, int records, bool sharedOnly)
- ICollection<Tag> UserTags(string user, string asset, int type, int page, int records, bool sharedOnly)
- string UserTagsSignature(string user)
- string UserTagsSignature(string user, string asset, int type)
- IAssetDriver Asset { get; }
- INotificationDriver Notification { get; }
- ITagDriver Tag { get; }
- IUserDriver User { get; }
-
public interface INotificationDriver
-
public class Like
-
public interface ITagDriver
- Tag ById(string id, bool sharedOnly)
- string Create(string user, string asset, int type, bool share)
- string Create(string user, string asset, int type, bool share, string data)
- string CreateSignature(string user)
- void Delete(string id)
- ICollection<Tag> ForAsset(string asset, int type, int page, int records)
- int ForAssetCount(string asset, int type)
- ICollection<Tag> ForUser(string user, int page, int records, bool sharedOnly)
- ICollection<Tag> ForUser(string user, string asset, int type, int page, int records, bool sharedOnly)
- int ForUserCount(string user, bool sharedOnly)
- int ForUserCount(string user, string asset, int type, bool sharedOnly)
- string ForUserSignature(string user, string asset, int type)
-
public interface IUserDriver
-
public class NotificationDriver : INotificationDriver
-
public class RateResponse
-
public class TagDriver : ITagDriver
- public TagDriver(IRequestContext context)
- public Tag ById(string id, bool sharedOnly)
- public string Create(string user, string asset, int type, bool share)
- public string Create(string user, string asset, int type, bool share, string data)
- public string CreateSignature(string user)
- public void Delete(string id)
- public ICollection<Tag> ForAsset(string asset, int type, int page, int records)
- public int ForAssetCount(string asset, int type)
- public ICollection<Tag> ForUser(string user, int page, int records, bool sharedOnly)
- public ICollection<Tag> ForUser(string user, string asset, int type, int page, int records, bool sharedOnly)
- public int ForUserCount(string user, bool sharedOnly)
- public int ForUserCount(string user, string asset, int type, bool sharedOnly)
- public string ForUserSignature(string user, string asset, int type)
-
public class UserAsset
- public string Asset { get; set; }
- public int? Rating { get; set; }
- public int Type { get; set; }
- public string User { get; set; }
- public bool? Vote { get; set; }
- public UserAsset()
-
public class UserDriver : IUserDriver
-
public class VoteResponse