Skip to content

Instantly share code, notes, and snippets.

@JanHalozan
Last active January 5, 2016 08:50
Show Gist options
  • Save JanHalozan/32c7f7bb0f8a474eb114 to your computer and use it in GitHub Desktop.
Save JanHalozan/32c7f7bb0f8a474eb114 to your computer and use it in GitHub Desktop.
2.2 Migration helpers

Fields which are used for date conversion:

####iOS

On /activity:

  • created
  • sent
  • created v activity.content.comments

On login in user there is lastLogin

date on DataItem v responsu blokov, ...

@markokramer
Copy link

BE

  • /auth/login: user.created, user.lastLogin
  • GET /me: user.created, user.lastLogin
  • PUT /me: user.created, user.lastLogin
  • GET /activity/{id}: created, sent, content.comments.created, content.comments.sent
  • GET /users, /users/{id}: lastSeen, lastLoginMobile
  • GET /settings: lastSeen, lastLogin
  • POST /comments (request): date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment