- http://onhub.here/api/v1/diagnostic-report
- http://onhub.here/api/v1/get-attestation-information
- http://onhub.here/api/v1/get-endorsement-information
- http://onhub.here/api/v1/get-shmac
- http://onhub.here/api/v1/join-group
- http://onhub.here/api/v1/prove-identity
- http://onhub.here/api/v1/register-device
- http://onhub.here/api/v1/prepare-for-setup
- http://onhub.here/api/v1/status
- http://onhub.here/api/v1/submit-feedback
- http://onhub.here/api/v1/wan-configuration
- http://onhub.here/api/v1/vorlon-registration-complete
- http://onhub.here/api/v1/vorlon-registration-info
- Content-Type: application/json
- Body:
- error: string
- code: int32
- URL: http://onhub.here/api/v1/get-attestation-information
- Methods: GET
- Purpose: ?
- GET
- (none)
- GET; in testing:
- Content-Type: text/plain
- Status: 403
- Body:
Device is registered
- URL: http://onhub.here/api/v1/get-endorsement-information
- Methods: GET
- Purpose: ?
- GET
- (none)
- GET; in testing:
- Content-Type: text/plain
- Status: 403
- Body:
Device is registered
- URL: http://onhub.here/api/v1/prepare-for-setup
- Methods: ?
- Purpose: Resets mesh credentials
- POST
- Content-Type: application/json
- Body: empty JSON object (
{}
)
- POST
- ?
- URL: http://onhub.here/api/v1/wan-configuration
- Methods: GET, POST
- Purpose: Get or change WAN settings
- GET
- (empty)
- POST
- Content-Type: application/json
- Body:
- type: string; one of:
- pppoe
- static
- dhcp
- (see below for others)
- type: string; one of:
- type: string;
"pppoe"
- username: string
- password: string
- type: string;
"static"
- ipAddress: string
- netmask: string
- gateway: string
- type: string;
"dhcp"
- GET
- Content-Type: application/json
- Returns the
type
property of the current configuration; all other properties are omitted - Body:
- type: string
- POST
- ?
- URL: http://onhub.here/api/v1/diagnostic-report
- Methods: GET
- Connect timeout: 5 sec
- Read timeout: 1 min
- Purpose: ?
- Headers:
- X-XSRF-Protection: 1
- GET
- ?
- GET
- ?
- URL: http://onhub.here/api/v1/submit-feedback
- Methods: POST
- Purpose: ?
- POST
- Content-Type: application/json
- Body: ?
- POST
- ?
- URL: http://onhub.here/api/v1/join-group
- Methods: POST
- Timeout: 30 sec
- Purpose: ?
- POST
- Content-Type: application/json
- Body:
- groupConfiguration: string
- kek: string
- mac: string
- POST
- ?
- URL: http://onhub.here/api/v1/prove-identity
- Methods: POST
- Purpose: ?
- POST
- Content-Type: application/x-protobuf
- Body: ?
- POST
- ?
- URL: http://onhub.here/api/v1/register-device
- Methods: POST
- Timeout: 25 sec
- Purpose: ?
- POST
- Content-Type: application/json
- Body:
- ticketId: string
- displayName: string
- URL: http://onhub.here/api/v1/status
- Methods: GET
- Purpose: Retrieve detailed status information
- GET
- Querystring parameters:
- type: string; optional; one of:
- wan
- system
- software
- "" (empty string): triggers a connection check
- type: string; optional; one of:
- Querystring parameters:
Note: If type
was specified as a querystring parameter, the resulting JSON object will be filtered to only include the corresponding key/value. For example, if requested with ?type=software
, the response will resemble {"software":{...}}
.
- software
- softwareVersion: string
- updateChannel: string; e.g.
"stable-channel"
- updateNewVersion: string; if no update,
"0.0.0.0"
- updateProgress: double; if no update in progress,
0.0
- updateRequired: boolean
- updateStatus: string; one of:
- checking
- downloading
- idle
- unknown
- updated
- updating
- waiting
- system
- countryCode: string; e.g.
"us"
- groupRole: string; e.g.
"root"
- hardwareId: string
- lan0Link: boolean
- modelId: string
- uptime: int
- countryCode: string; e.g.
- vorlonInfo
- migrationMode: string; e.g.
"vorlon_all"
- migrationMode: string; e.g.
- wan
- captivePortal: boolean
- ethernetLink: boolean
- gatewayIPAddress: boolean; WAN default gateway
- invalidCredentials: boolean
- ipAddress: boolean
- ipMethod: string; probably one of:
- dhcp
- static
- pppoe
- ipPrefixLength: int; e.g.
24
- leaseDurationSeconds: int; e.g.
86400
- localIpAddress: string; WAN IP address of Google Wifi
- nameservers: string[]; WAN nameservers advertised by DHCP
- online: boolean
- pppoeDetected: boolean
- URL: http://onhub.here/api/v1/connected-devices
- Methods: GET
- Purpose: Probably used to discover home automation devices like Philips Hue bridges
- Note: I couldn't actually find this in the APK, but it definitely exists.
- GET
- ?
- GET
- Content-Type: application/json
- Body:
- _hueBridges: array
- ?
- _hueBridges: array
- URL: http://onhub.here/api/v1/get-shmac
- Methods: GET
- Timeout: 500 ms
- Purpose: Retrieves a station's ID by IP address
- GET
- Content-Type: application/json (ignored)
- Body: (none)
- Querystring parameters:
- ip: string; station's IP address
- GET
- Content-Type: application/json
- Body:
- id: string; 64-digit hex identifier for station
- URL: http://onhub.here/api/v1/vorlon-registration-complete
- Methods: POST
- Purpose: ?
- POST
- Content-Type: application/json
- Body: (empty JSON object?)
- POST
- ?
- URL: http://onhub.here/api/v1/vorlon-registration-info
- Methods: GET
- Purpose: ?
- GET
- empty
- GET
- Content-Type: text/plain
- Body:
- Only known possible value:
Device is already setup
- Only known possible value: