Development Specification for Network Camera Apps - Imou Open Platform
Development Specification
Device message callbacks: Receive device messages · Push configuration.
Device control and events (v2): Capability usage · Capabilities overview.
Request body, signature, and the worked sign example have moved to Public conventions. Technical values there are the same as this page used to carry.
1. Interface domain name description
Imou Cloud OpenPlatform provides access domain names in multiple regions. Please select the access domain name address based on the data center to which the developer's account belongs, in order to obtain the best platform service experience. The data center to which the developer belongs can be viewed in "Control Board - Basic Information - My Information".
Host pattern: https://openapi-[DataCenter].easy4ip.com.
| Data center | [DataCenter] | HTTPS POST access domain |
|---|---|---|
| East Asia Data Center | sg | https://openapi-sg.easy4ip.com/openapi/{method} |
| Central Europe Data Center | fk | https://openapi-fk.easy4ip.com/openapi/{method} |
| Western America Data Center | or | https://openapi-or.easy4ip.com/openapi/{method} |
Replace {method} with the method name on each API page. Port :443 is optional.
2. Short call checklist
- Copy
AppId/AppSecretfrom Console → My Apps → App Info. - Build the JSON request body and check
time/nonce: Request conventions. - Calculate
system.signon the server: Signature. - Call accessToken. Valid for 3 days; refresh on
TK1002. - Read
result.codein Return codes. Daily limits: Interface call limits. - First walkthrough: First API call.
3. Error codes on each API page
Match the domestic book: under #### Error codes, compose **`
include 未找到:en/devcap/errors/….md
** fragments (gateway, sub-account, device bind, cloud storage, DV20xx, etc.). Fragments live under .vuepress/fragments/` and stay in sync with Return codes.
- Typical OpenAPI page:
gatewayplus 0–2 context fragments such assub-account,dv10-device-base,dv10-bind, orst-cloud. - Capability property/set/invoke leaves:
gateway+dv20-property-setordv20-invoke(see domain examples). - Return codes is the full HTTP index; Capability errors lists all
DV20xx.
Link-only error sections (no includes) are not allowed.
