Skip to content
This repository was archived by the owner on May 8, 2020. It is now read-only.

Commit b483068

Browse files
committed
Updating board version to long
1 parent b35336a commit b483068

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎LeanKit.API.Client.Library/ILeanKitApi.cs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public interface ILeanKitApi
1818
IEnumerable<Lane> GetBacklogLanes(long boardId);
1919
IEnumerable<HierarchicalLane> GetArchiveLanes(long boardId);
2020
IEnumerable<CardView> GetArchiveCards(long boardId);
21-
Board GetNewerIfExists(long boardId, int version);
22-
IEnumerable<BoardHistoryEvent> GetBoardHistorySince(long boardId, int version);
21+
Board GetNewerIfExists(long boardId, long version);
22+
IEnumerable<BoardHistoryEvent> GetBoardHistorySince(long boardId, long version);
2323
CardView GetCard(long boardId, long cardId);
2424
Card GetCardByExternalId(long boardId, string externalCardId);
2525
BoardIdentifiers GetBoardIdentifiers(long boardId);
@@ -38,7 +38,7 @@ public interface ILeanKitApi
3838
long DeleteCard(long boardId, long cardId);
3939
CardsDeleteResult DeleteCards(long boardId, IEnumerable<long> cardIds);
4040
CardDelegationResult DelegateCard(long cardId, long delegationBoardId);
41-
BoardUpdates CheckForUpdates(long boardId, int version);
41+
BoardUpdates CheckForUpdates(long boardId, long version);
4242
IEnumerable<Comment> GetComments(long boardId, long cardId);
4343
long PostComment(long boardId, long cardId, Comment comment);
4444
long PostCommentByExternalId(long boardId, string externalId, Comment comment);

‎LeanKit.API.Client.Library/LeanKitClient.cs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ public IEnumerable<CardView> GetArchiveCards(long boardId)
134134
return _restCommandProcessor.Get<List<CardView>>(_accountAuth, resource);
135135
}
136136

137-
public Board GetNewerIfExists(long boardId, int version)
137+
public Board GetNewerIfExists(long boardId, long version)
138138
{
139139
var resource = string.Format("/Kanban/Api/Board/{0}/BoardVersion/{1}/GetNewerIfExists", boardId, version);
140140
return _restCommandProcessor.Get<Board>(_accountAuth, resource);
141141
}
142142

143-
public IEnumerable<BoardHistoryEvent> GetBoardHistorySince(long boardId, int version)
143+
public IEnumerable<BoardHistoryEvent> GetBoardHistorySince(long boardId, long version)
144144
{
145145
var resource = string.Format("/Kanban/Api/Board/{0}/BoardVersion/{1}/GetBoardHistorySince", boardId, version);
146146
return _restCommandProcessor.Get<List<BoardHistoryEvent>>(_accountAuth, resource);
@@ -260,7 +260,7 @@ public CardDelegationResult DelegateCard(long cardId, long delegationBoardId)
260260
return _restCommandProcessor.Post<CardDelegationResult>(_accountAuth, resource);
261261
}
262262

263-
public BoardUpdates CheckForUpdates(long boardId, int version)
263+
public BoardUpdates CheckForUpdates(long boardId, long version)
264264
{
265265
var resource = "/Kanban/Api/Board/" + boardId + "/BoardVersion/" + version + "/CheckForUpdates";
266266
return _restCommandProcessor.Get<BoardUpdates>(_accountAuth, resource);

0 commit comments

Comments
 (0)