Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticEcho committed Jul 27, 2018
1 parent d3875a6 commit dd901b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 0 additions & 4 deletions SharpExchange/Api/2.2/Endpoints/Badges.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ public static Task<Result<Badge[]>> GetNamedByNameAsync(string name, QueryOption
/// Returns recently awarded badges in the system. As these
/// badges have been awarded, they will have the
/// <see cref="Badge.User"/> property set.
///
/// Does not support the following <see cref="QueryOptions"/> properties:
/// <see cref="QueryOptions.Sort"/>, <see cref="QueryOptions.Order"/>,
/// <see cref="QueryOptions.Max"/>, <see cref="QueryOptions.Min"/>.
/// </summary>
public static Task<Result<Badge[]>> GetRecentAsync(QueryOptions options = null)
{
Expand Down
6 changes: 6 additions & 0 deletions SharpExchange/Api/2.2/Endpoints/Revisions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ namespace SharpExchange.Api.V22.Endpoints
{
public static class Revisions
{
/// <summary>
/// Gets the revisions on the posts identified by a set of ids.
/// </summary>
public static Task<Result<Revision[]>> GetByPostIdsAsync(IEnumerable<int> postIds, QueryOptions options = null)
{
postIds.ThrowIfNullOrEmpty(nameof(postIds));
Expand All @@ -17,6 +20,9 @@ public static Task<Result<Revision[]>> GetByPostIdsAsync(IEnumerable<int> postId
return ApiRequestScheduler.ScheduleRequestAsync<Revision[]>(endpoint, options);
}

/// <summary>
/// Gets all revisions identified by a set of ids.
/// </summary>
public static Task<Result<Revision[]>> GetByRevisionGuidsAsync(IEnumerable<string> revGuids, QueryOptions options = null)
{
revGuids.ThrowIfNullOrEmpty(nameof(revGuids));
Expand Down

0 comments on commit dd901b3

Please sign in to comment.