Help & Support
Follow

LeanKit API (v1): Get Board History Since

This method retrieves a description of events that have occurred since the specified Board Version. The response is limited to 5 events. If more than 5 events have occurred since the specified Board Version, the first 5 will be returned along with a sixth event indicating that "numerous events have occurred".

For a more accurate list of all events, see Check for Updates.

Request URL (GET):

https://reverentgeek.leankit.com/kanban/api/board/256064019/boardversion/3/GetBoardHistorySince

Sample Request:

https://myaccount.leankit.com/kanban/api/board/256064019/boardversion/42/GetBoardHistorySince

Sample Response (no events):

{
  "ReplyData": [
    null
  ],
  "ReplyCode": 200,
  "ReplyText": "No events were found for supplied boardId."
}

Sample Response (one event):

{
  "ReplyData": [
    [
      {
        "CardId": 256395058,
        "EventType": "CardMoveEvent",
        "EventDateTime": "10/14/2015",
        "Message": "David Neal moved the Card [(AZ-1023) Sample Card 1] from Doing Now to Not Started - Future Work: Approved.",
        "ToLaneId": 256392759,
        "FromLaneId": 256392766,
        "RequiresBoardRefresh": false,
        "IsBlocked": false,
        "BlockedComment": null,
        "UserId": 0,
        "AssignedUserId": 0,
        "IsUnassigning": false,
        "CommentText": null,
        "WipOverrideComment": null,
        "WipOverrideLane": 0,
        "WipOverrideUser": 0,
        "TaskboardParentCardId": 0,
        "TaskboardId": 0
      }
    ]
  ],
  "ReplyCode": 200,
  "ReplyText": "Board history since last update successfully retrieved."
}

Sample Response (more than 5 events):

{
  "ReplyData": [
    [
      {
        "CardId": 256395058,
        "EventType": "CardFieldsChangedEvent",
        "EventDateTime": "10/14/2015",
        "Message": "David Neal changed the Card [(AZ-1023) Sample Card 1].",
        "ToLaneId": 256392766,
        "FromLaneId": null,
        "RequiresBoardRefresh": false,
        "IsBlocked": false,
        "BlockedComment": null,
        "UserId": 0,
        "AssignedUserId": 0,
        "IsUnassigning": false,
        "CommentText": null,
        "WipOverrideComment": null,
        "WipOverrideLane": 0,
        "WipOverrideUser": 0,
        "TaskboardParentCardId": 0,
        "TaskboardId": 0
      },
      {
        "CardId": 256395058,
        "EventType": "CardMoveEvent",
        "EventDateTime": "10/14/2015",
        "Message": "David Neal moved the Card [(AZ-1023) Sample Card 1] from Doing Now to Doing Now.",
        "ToLaneId": 256392766,
        "FromLaneId": 256392766,
        "RequiresBoardRefresh": false,
        "IsBlocked": false,
        "BlockedComment": null,
        "UserId": 0,
        "AssignedUserId": 0,
        "IsUnassigning": false,
        "CommentText": null,
        "WipOverrideComment": null,
        "WipOverrideLane": 0,
        "WipOverrideUser": 0,
        "TaskboardParentCardId": 0,
        "TaskboardId": 0
      },
      {
        "CardId": 256395058,
        "EventType": "CardMoveEvent",
        "EventDateTime": "10/14/2015",
        "Message": "David Neal moved the Card [(AZ-1023) Sample Card 1] from Doing Now to Not Started - Future Work: Approved.",
        "ToLaneId": 256392759,
        "FromLaneId": 256392766,
        "RequiresBoardRefresh": false,
        "IsBlocked": false,
        "BlockedComment": null,
        "UserId": 0,
        "AssignedUserId": 0,
        "IsUnassigning": false,
        "CommentText": null,
        "WipOverrideComment": null,
        "WipOverrideLane": 0,
        "WipOverrideUser": 0,
        "TaskboardParentCardId": 0,
        "TaskboardId": 0
      },
      {
        "CardId": 256395058,
        "EventType": "CardMoveEvent",
        "EventDateTime": "10/14/2015",
        "Message": "David Neal moved the Card [(AZ-1023) Sample Card 1] from Not Started - Future Work: Approved to Doing Now.",
        "ToLaneId": 256392766,
        "FromLaneId": 256392759,
        "RequiresBoardRefresh": false,
        "IsBlocked": false,
        "BlockedComment": null,
        "UserId": 0,
        "AssignedUserId": 0,
        "IsUnassigning": false,
        "CommentText": null,
        "WipOverrideComment": null,
        "WipOverrideLane": 0,
        "WipOverrideUser": 0,
        "TaskboardParentCardId": 0,
        "TaskboardId": 0
      },
      {
        "CardId": 256455880,
        "EventType": "CardMoveEvent",
        "EventDateTime": "10/14/2015",
        "Message": "David Neal moved the Card [Sample Card 2] from Doing Now to Under Review.",
        "ToLaneId": 256392767,
        "FromLaneId": 256392766,
        "RequiresBoardRefresh": false,
        "IsBlocked": false,
        "BlockedComment": null,
        "UserId": 0,
        "AssignedUserId": 0,
        "IsUnassigning": false,
        "CommentText": null,
        "WipOverrideComment": null,
        "WipOverrideLane": 0,
        "WipOverrideUser": 0,
        "TaskboardParentCardId": 0,
        "TaskboardId": 0
      },
      {
        "CardId": -1,
        "EventType": null,
        "EventDateTime": null,
        "Message": "Numerous events have occurred on the board.",
        "ToLaneId": 0,
        "FromLaneId": null,
        "RequiresBoardRefresh": false,
        "IsBlocked": false,
        "BlockedComment": null,
        "UserId": 0,
        "AssignedUserId": 0,
        "IsUnassigning": false,
        "CommentText": null,
        "WipOverrideComment": null,
        "WipOverrideLane": 0,
        "WipOverrideUser": 0,
        "TaskboardParentCardId": 0,
        "TaskboardId": 0
      }
    ]
  ],
  "ReplyCode": 200,
  "ReplyText": "Board history since last update successfully retrieved."
}

 

 

 

 

 

 

Doc ID: 1191983824

Have more questions? Submit a request