Setting up the HTTP endpoints for Live Caller ID Lookup
Connect the on-device system to your server.
Overview
For the Live Caller ID Lookup extension, your client-side app needs your serviceURL so the system can fetch information from your server. Communication between the system and the server uses protocol buffer messages over HTTP. For more information, see Homomorphic Encryption Protobuf.
Implement your server with the following HTTP endpoints:
/config/key/queries
Get configuration and status
The system calls the configuration endpoint periodically to get information about the use case configuration and evaluation key status. Set up the following /config endpoint by posting to /config:
Request | Value | Description |
|---|---|---|
Header |
| A pseudorandom identifier for the user. |
Header |
| The value that contains a private access token. |
Request body |
| A serialized protocol buffer message. |
Response |
| A serialized protocol buffer message. The |
Response field |
| A field that maps from the use case names to the corresponding configuration. |
Response field |
| A list of the |
Upload the evaluation key
You store the evaluation key on your server. When the system detects a new evaluation key, it uses the /key endpoint to upload it. Set up the following /key endpoint to upload an evaluation key by posting to /key:
Request | Value | Description |
|---|---|---|
Header |
| A pseudorandom identifier for the user. |
Header |
| The value that contains a private access token. |
Request body |
| A serialized protocol buffer message. |
Update PIR requests
The system updates your private information retrieval (PIR) request through the /queries endpoint. Set up the /queries endpoint to evaluate PIR requests.
Request | Value | Description |
|---|---|---|
Header |
| A pseudorandom identifier for the user. This value looks up the previously stored evaluation key and uses it to evaluate the PIR request. |
Header |
| The value that contains a private access token. |
Request body |
| A serialized protocol buffer message. |
Response |
| A serialized protocol buffer message. |
See Also
Live Caller ID Lookup
Understanding how Live Caller ID Lookup preserves privacyFormatting data for blocking and identity informationGetting up-to-date calling and blocking information for your appLiveCallerIDLookupProtocolLiveCallerIDLookupExtensionConfigurationLiveCallerIDLookupExtensionContextCallLookupExtensionStatusLiveCallerIDLookupManager