Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement endpoint to get last finished sync mts for ui/ux #410

Conversation

ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Aug 29, 2024

This PR implements endpoint to get the last finished sync mts for the UI/UX


Basic changes:

  • Add getLastFinishedSyncMts endpoint
  • Add test coverage for getLastFinishedSyncMts method

Request example:

{
  "auth": {
    "token": "user-token"
  },
  "method": "getLastFinishedSyncMts"
}

Response example:

{
  "jsonrpc": "2.0",
  "result": {
    "lastSyncMts": 1720504804336 // or `null` if never synced
  },
  "id": null
}

@ZIMkaRU ZIMkaRU changed the base branch from master to staging August 29, 2024 08:11
Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@ezewer ezewer merged commit 6b6f7be into bitfinexcom:staging Sep 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants