forked from LunarLogic/rubytime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG-API.txt
40 lines (30 loc) · 1.25 KB
/
CHANGELOG-API.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Please update this file and increment Application::JSON_API_VERSION if any changes are made to the JSON API (this
includes only the functionality used by external clients (Plasma widget, iPhone app, etc.) - JSON methods used by AJAX
actions are irrelevant in this context).
This is done so that it's possible to handle incompatibilities between client and server versions (e.g. iPhone app has
been updated to the newest version which uses some new API actions, but the server wasn't).
-----
Version 3 - January 5, 2011
changes:
* Added include_activity_types option in /projects.json
-----
Version 2 - December 16, 2010
changes:
* Added price_as_json and role_name to /activities.json
-----
Version 1 - November 16, 2009
API actions available:
* Activities index
- with locked? field added
- also /users/x/activities and /projects/x/activities
* Activities create
* Activities update
* Activities destroy
* Projects index
- adds has_activities flag which says if current user has at least one activity in that project
* Users with_activities
- for admin, returns all users with any activities
- for client user, returns all users with any activities in any of client's projects
* Users authenticate
- returns current_user as JSON
- adds user_type field