Skip to content

Instantly share code, notes, and snippets.

@zelark
Last active August 29, 2015 14:22
Show Gist options
  • Save zelark/4ac040ba9d102b30109d to your computer and use it in GitHub Desktop.
Save zelark/4ac040ba9d102b30109d to your computer and use it in GitHub Desktop.
Design vk-activity REST

Design

HTTP Method URI Action
GET http://[hostname]/activity/api/v1/users Retrive list of available users
GET http://[hostname]/activity/api/v1/users/[user_id] Retrive a user's activity for the current day
GET http://[hostname]/activity/api/v1/users/[user_id]?date=dd-mm-yyyy Retrive a user's activity for the specified day

Links

  1. http://vk-activity.herokuapp.com
  2. Proper rest formatted URL with date ranges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment