Skip to content

Instantly share code, notes, and snippets.

@JanHalozan
Last active January 5, 2016 08:50
Show Gist options
  • Select an option

  • Save JanHalozan/32c7f7bb0f8a474eb114 to your computer and use it in GitHub Desktop.

Select an option

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, ...

@mcungl

mcungl commented Jan 4, 2016

Copy link
Copy Markdown

On login in user there is lastLogin, created
On users list in user there is lastSeen
On post comment in comment there is date, created
On alert there in message there is created

@markokramer

Copy link
Copy Markdown

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