-
Notifications
You must be signed in to change notification settings - Fork 6
URLs for the Server
taeyeon edited this page Apr 26, 2012
·
12 revisions
As we are implementing more stuffs, we can see the needs for URLs that the server should provide. Here are some:
Registration: When we first (and later) run the PhoneLab application, it needs to send the registration id (which is taken from Google C2DM server) for C2DM to work (we can also send Device Id too). In addition, registration id can be replaced by C2DM Server so we may need to run this URL occasionally to update server side.
Download-Manifest: /manifest/{deviceId}
Download-Application: /experiment/{app_id.apk}
Error: /error/{deviceId}
Device Registration: /device/ [POST]
Device Attribute Update: /device/ [POST]
Log: /log/{deviceId} [POST]
Deviceapplication Insert or Update: /deviceapplication/ [POST]