When participants open our App Ops launcher on their Android 4.3 phone, the launcher will notify our server. This will allow us to ensure that participants are using App Ops on a regular basis. This document describes the mechanism and format of the notification message.
The message will be transmitted to our server via an HTTP or HTTPS POST request.
The message will contain a JSON object with the hashed and salted identifier. A nominal request would be:
POST / HTTP/1.1
Host: <API hostname>
Accept: application/json
Content-Type: application/json
Content-Length:
{"id": "8843d7f92416211de9ebb963ff4ce28125932878"}
The server will respond to the message with an HTTP status code, typically 200. The response need not contain any data.
HTTP/1.1 200 OK
Date: <date of response>
If there was an error, the response code should be in the 4xx or 5xx range, but 500 is the most likely.
HTTP/1.1 500 INTERNAL SERVER ERROR
Date: <date of response>