Default GET read timeout: 10 sec
Request headers:
X-XSRF-Protection: 1
- http://onhub.here/api/v1/get-attestation-information
- GET; in testing:
- Response Content-Type: text/plain
- Status: 403
- Response body:
Device is registered
- GET; in testing:
- http://onhub.here/api/v1/get-endorsement-information
- GET; in testing:
- Response Content-Type: text/plain
- Status: 403
- Response body:
Device is registered
- GET; in testing:
- http://onhub.here/api/v1/prepare-for-setup
- POST
- Content-Type: application/json
- Expects an empty JSON object (
{}
) - Resets mesh credentials
- POST
- http://onhub.here/api/v1/wan-configuration
- GET
- Response Content-Type: application/json
- Returns the
type
property of the current configuration; all other properties are omitted
- POST
- Content-Type: application/json
- GET
- http://onhub.here/api/v1/diagnostic-report
- GET
- Connect timeout: 5 sec
- Read timeout: 45 sec
- GET
- http://onhub.here/api/v1/submit-feedback
- POST
- Content-Type: application/json
- Connect timeout: 5 sec
- Read timeout: 45 sec
- POST
- http://onhub.here/api/v1/join-group
- POST
- Content-Type: application/json
- Read timeout: 30 sec
- POST
- http://onhub.here/api/v1/prove-identity
- POST
- Content-Type: application/x-protobuf
- POST
- http://onhub.here/api/v1/register-device
- POST
- Content-Type: application/json
- Read timeout: 25 sec
- POST
- http://onhub.here/api/v1/status
- GET
- Response Content-Type: application/json
- Optional querystring parameter:
type
; one of:- wan
- system
- software
- GET
- error: string
- code: int32
- wan
- online: boolean
- ethernetLink: boolean
- pppoeDetected: boolean
- invalidCredentials: boolean
- system
- deviceId: string
- countryCode: string
- software
- updateStatus: string; one of:
- checking
- downloading
- idle
- unknown
- updated
- updating
- waiting
- updateProgress: float64
- updateRequired: boolean
- updateStatus: string; one of:
- type: string; one of:
- pppoe
- static
- dhcp
- groupConfiguration: string
- kek: string
- mac: string
- ticketId: string
- displayName: string
Common properties:
- type: string; one of:
- pppoe
- static
- dhcp
- type: string;
"pppoe"
- username: string
- password: string
- type: string;
"static"
- ipAddress: string
- netmask: string
- gateway: string
- type: string;
"dhcp"