Skip to content

Instantly share code, notes, and snippets.

@evansb
Created July 21, 2015 11:51
Show Gist options
  • Save evansb/42583f3aac0136aa30ad to your computer and use it in GitHub Desktop.
Save evansb/42583f3aac0136aa30ad to your computer and use it in GitHub Desktop.
Conventions: When I specify "simple" as result it means simply return all json of format { table_field_name: table_field_value }
GET /achievements
Table: achievements
Return list of all achievements.
GET /annotations/:code_id
Table: annotate
GET /code/:
GET /missions
Table: mission
Return list of all open missions. Open missions means open_time < now.
Still show the missions even now > close_time.
Parameters
order optional
The order of the mission, e.g 2.1 or 22
Note:
- If mission open_time > now, return 403.
- The date format should be compatible with Javascript Date object.
Result: List of Simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment