-
Notifications
You must be signed in to change notification settings - Fork 5
Availability
Takayuki Hoshi edited this page May 31, 2019
·
4 revisions
ホストデバイス上でDevice Connect Managerが起動しているかどうかを確認する機能を提供する。
| API | 概要 |
|---|---|
| GET /gotapi/availability | Device Connect Managerが起動しているかどうかを確認する。 |
one-shot
Device Connect Managerが起動しているかどうかを確認する。
Managerの設定によっては、Managerの名前を取得することができる。
| 物理名 | データ型 | 必須 | 説明 |
|---|
| 論理名 | 物理名 | データ型 | 必須 | 説明 |
|---|---|---|---|---|
| 処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
| システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
| システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
| 署名 | hmac | string | No | レスポンスに対する署名。 アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
| Managerの名前 | name | string | No | Managerの設定画面の「Managerの名前を表示」をONにすることで追加される。 |
{
"result" : 0,
"product" : "Example System",
"version" : "1.0.0",
"name" : "Manager-xxxx"
}
- Swagger 定義
-
Device Connect API リファレンス
- AirConditioner
- AtmosphericPressure
- Authorization
- Availability
- Battery
- Camera
- Canvas
- Connection
- Device
- DeviceOrientation
- DriveController
- Ecg
- EchonetLite
- File
- FileDescriptor
- Geolocation
- Gpio
- Health
- HumanDetection
- Humidity
- Illuminance
- KeyEvent
- Light
- MediaPlayer
- MediaStreamRecording
- MessageHook
- Notification
- OmnidirectionalImage
- Phone
- PoseEstimation
- Power
- PowerMeter
- Proximity
- RemoteController
- ServiceDiscovery
- ServiceInformation
- Setting
- Sphero
- StressEstimation
- System
- Temperature
- Touch
- Tv
- Vibration
- VideoChat
- WalkState