Download OpenAPI specification:Download
intdash Edge Agent 2のデーモンの操作はUnix Domain Socket経由のREST APIから行うことができます。
http://unix/api/v1を付加することで、完全なURLとして使用できます。/versionの完全なURLはhttp://unix/api/v1/versionになります。 curlを使用する場合は、以下のようにします。 --requestまたは-Xフラグを使用し、その後にHTTPメソッドを指定します。--unix-socketフラグを使用し、その後にUnix Domain Socketのパスを指定します。--urlフラグを使用し、その後に完全なURLを指定します。curl --request GET --unix-socket /var/run/intdash/agentd.sock --url "http://unix/api/v1/version"
{- "project_uuid": "b1c54490-f275-452b-96ae-6e318e7df5ec",
- "edge_uuid": "fa12ae1b-7cfc-4e06-ae7a-210a1f0318b8",
- "client_secret": "cK6YdByyZkT06dbDrdHxXCROwIumeJ1cqDccErxa7V4RhCvsdivfdKW0sCnYBEMN",
- "tls_client_certificate": "",
- "tls_client_private_key": "",
- "tls_skip_server_cert_verification": false
}Agentとintdashサーバー間の接続に関する設定を更新します。
| server_url | string <uri> Default: "https://xxxxx.intdash.jp" 接続先intdashサーバーのURL( Get Transport Settingsのprotocolが Get Transport Settingsのprotocolが Get Transport Settingsのprotocolが |
| project_uuid | string <uuid> Default: "00000000-0000-0000-0000-000000000000" プロジェクトUUID |
| edge_uuid | string <uuid> Default: "00000000-0000-0000-0000-000000000000" intdashサーバーに接続する際に使用する、このエッジのUUID |
| client_secret | string <password> non-empty intdashサーバーに接続する際に使用するクライアントシークレット |
| tls_client_certificate | string Default: "" Mutual-TLS Client Authentication のためのクライアント証明書のファイルパス。空文字の場合は Mutual-TLS Client Authentication の処理は行いません。 |
| tls_client_private_key | string Default: "" Mutual-TLS Client Authentication のための秘密鍵のファイルパス。 Mutual-TLS Client Authentication の処理を行う場合にのみ使用されます。 |
| tls_skip_server_cert_verification | boolean Default: false サーバー証明書の検証をスキップする( |
{- "project_uuid": "b1c54490-f275-452b-96ae-6e318e7df5ec",
- "edge_uuid": "fa12ae1b-7cfc-4e06-ae7a-210a1f0318b8",
- "client_secret": "cK6YdByyZkT06dbDrdHxXCROwIumeJ1cqDccErxa7V4RhCvsdivfdKW0sCnYBEMN",
- "tls_client_certificate": "",
- "tls_client_private_key": "",
- "tls_skip_server_cert_verification": false
}{- "project_uuid": "b1c54490-f275-452b-96ae-6e318e7df5ec",
- "edge_uuid": "fa12ae1b-7cfc-4e06-ae7a-210a1f0318b8",
- "client_secret": "cK6YdByyZkT06dbDrdHxXCROwIumeJ1cqDccErxa7V4RhCvsdivfdKW0sCnYBEMN",
- "tls_client_certificate": "",
- "tls_client_private_key": "",
- "tls_skip_server_cert_verification": false
}Agentとintdashサーバー間の接続をテストします。トランスポートにはGet Transport Settingsに設定されている値を使用します。
{- "verified": true,
- "edge_name": "edge01",
- "edge_nickname": "nickname01"
}{- "protocol": "websocket",
- "quic_port": 11443,
- "webtransport_port": 13443,
- "ping_timeout": 2,
- "compression": "per_message",
- "compression_level": 6,
- "compression_window_bits": 9
}Agentとintdashサーバー間の接続方法に関する設定を更新します。
| protocol | string Default: "websocket" Enum: "quic" "websocket" "webtransport"
|
| quic_port | integer [ 1 .. 65535 ] Default: 11443 QUICで使用するポート。QUICによる接続を使用する場合、intdashサーバーがQUICを待ち受けるポート番号に合わせて設定してください。 |
| webtransport_port | integer [ 1 .. 65535 ] Default: 13443 WebTransportで使用するポート。WebTransportによる接続を使用する場合、intdashサーバーがWebTransportを待ち受けるポート番号に合わせて設定してください。 |
| send_queue_size | integer [ 1 .. 4294967295 ] Deprecated Default: 4096 互換性維持のために公開されたままですが、v1.4.0以降ではこの設定は内部的に使用されておらず、指定しても動作に影響しません。 |
| ping_timeout | integer [ 1 .. 4294967295 ] Default: 2 iSCPの接続状態を維持するためのping/pongのタイムアウト(秒)。この時間内にpongが返ってこない場合、接続が切断されます。 |
| compression | string Default: "per_message" Enum: "none" "per_message" "context_takeover"
|
| compression_level | integer [ 0 .. 9 ] Default: 6 iSCPのメッセージをDEFLATE圧縮する場合に使用する、圧縮の強さ。 |
| compression_window_bits | integer [ 9 .. 15 ] Default: 9 iSCPのメッセージをDEFLATE圧縮する時に、前回の圧縮コンテキストを引き継ぐ場合に使用するウィンドウサイズのビット数。 Note: iSCP 2.0 では ウィンドウビット で使用できる値は |
{- "protocol": "quic",
- "quic_port": 11443,
- "webtransport_port": 13443,
- "send_queue_size": 4096,
- "ping_timeout": 2,
- "compression": "none",
- "compression_level": 6,
- "compression_window_bits": 9
}{- "protocol": "websocket",
- "quic_port": 11443,
- "webtransport_port": 13443,
- "ping_timeout": 2,
- "compression": "per_message",
- "compression_level": 6,
- "compression_window_bits": 9
}[- {
- "id": "recoverable",
- "enabled": true,
- "skip_realtime": false,
- "persist": true,
- "persist_realtime_data": true,
- "recover": true,
- "deferred_upload": true,
- "suspend_deferred_upload": false,
- "qos": "unreliable",
- "flush_policy": "interval",
- "flush_interval": 5
}
]アップストリームに関する設定を作成します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters ストリームのID。 |
| enabled | boolean Default: true ストリームの有効( |
| skip_realtime | boolean Default: false リアルタイム送信を試みることなく遅延アップロード用データとして保存する( |
| persist | boolean Deprecated Default: true persist_realtime_dataのエイリアス。 Deprecated: v1.3.0 以降では、persist_realtime_data を使用してください。 |
| persist_realtime_data | boolean Default: true リアルタイム送信したデータをサーバーで永続化する( |
| recover | boolean Deprecated Default: true deferred_uploadのエイリアス。 Deprecated: v1.3.0 以降では、deferred_upload を使用してください。 |
| deferred_upload | boolean Default: true リアルタイム送信したデータのうちサーバーでの受信を確認できなかったデータを遅延アップロード用データとして保存する( |
| suspend_deferred_upload | boolean Default: false 遅延アップロード用データとして保存したのち、遅延アップロードを保留する( |
| qos | string Default: "unreliable" Enum: "unreliable" "partial" "reliable" トランスポートの信頼性とコネクション切断時の動作。
|
| flush_policy | string Default: "interval" Enum: "interval" "immediately"
|
| flush_interval | integer [ 1 .. 100000 ] Default: 5 リアルタイム送信をフラッシュする間隔(ミリ秒)。flush_policyが |
{- "id": "recoverable",
- "enabled": true,
- "skip_realtime": false,
- "persist_realtime_data": true,
- "deferred_upload": true,
- "suspend_deferred_upload": false,
- "qos": "partial",
- "flush_policy": "interval",
- "flush_interval": 5
}{- "id": "recoverable",
- "enabled": true,
- "skip_realtime": false,
- "persist": true,
- "persist_realtime_data": true,
- "recover": true,
- "deferred_upload": true,
- "suspend_deferred_upload": false,
- "qos": "unreliable",
- "flush_policy": "interval",
- "flush_interval": 5
}アップストリームに関する設定を取得します。
| id required | string [ 1 .. 100 ] characters Example: recoverable ストリームID。 |
{- "id": "recoverable",
- "enabled": true,
- "skip_realtime": false,
- "persist": true,
- "persist_realtime_data": true,
- "recover": true,
- "deferred_upload": true,
- "suspend_deferred_upload": false,
- "qos": "unreliable",
- "flush_policy": "interval",
- "flush_interval": 5
}アップストリームに関する設定を更新します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: recoverable ストリームID。 |
| enabled | boolean Default: true ストリームの有効( |
| skip_realtime | boolean Default: false リアルタイム送信を試みることなく遅延アップロード用データとして保存する( |
| persist | boolean Deprecated Default: true persist_realtime_dataのエイリアス。 Deprecated: v1.3.0 以降では、persist_realtime_data を使用してください。 |
| persist_realtime_data | boolean Default: true リアルタイム送信したデータをサーバーで永続化する( |
| recover | boolean Deprecated Default: true deferred_uploadのエイリアス。 Deprecated: v1.3.0 以降では、deferred_upload を使用してください。 |
| deferred_upload | boolean Default: true リアルタイム送信したデータのうちサーバーでの受信を確認できなかったデータを遅延アップロード用データとして保存する( |
| suspend_deferred_upload | boolean Default: false 遅延アップロード用データとして保存したのち、遅延アップロードを保留する( |
| qos | string Default: "unreliable" Enum: "unreliable" "partial" "reliable" トランスポートの信頼性とコネクション切断時の動作。
|
| flush_policy | string Default: "interval" Enum: "interval" "immediately"
|
| flush_interval | integer [ 1 .. 100000 ] Default: 5 リアルタイム送信をフラッシュする間隔(ミリ秒)。flush_policyが |
{- "enabled": true,
- "skip_realtime": false,
- "persist_realtime_data": true,
- "deferred_upload": true,
- "suspend_deferred_upload": false,
- "qos": "partial",
- "flush_policy": "interval",
- "flush_interval": 5
}{- "id": "recoverable",
- "enabled": true,
- "skip_realtime": false,
- "persist": true,
- "persist_realtime_data": true,
- "recover": true,
- "deferred_upload": true,
- "suspend_deferred_upload": false,
- "qos": "unreliable",
- "flush_policy": "interval",
- "flush_interval": 5
}アップストリームに関する設定を削除します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: recoverable ストリームID。 |
{- "title": "Resource is not found",
- "status": 404,
- "detail": "'{id}' is not found.",
- "instance": "/pkg/error.go#300"
}アップストリームの状態のリストを取得します。
| enabled | boolean Example: enabled=true 取得対象をフィルターします。 |
[- {
- "id": "recoverable",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}
]アップストリームの状態を取得します。
| id required | string [ 1 .. 100 ] characters Example: recoverable ストリームID。 |
{- "id": "recoverable",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}[- {
- "id": "recoverable",
- "dest_ids": [
- "dc1"
], - "qos": "unreliable",
- "reordering": "none",
- "filters": [
- {
- "src_edge_uuid": "568ff243-d200-43c4-9942-473c08ccfac1",
- "data_filters": [
- {
- "type": "bytes",
- "name": "abc/efg"
}
]
}
]
}
]ダウンストリームに関する設定を作成します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters ストリームのID。 |
| enabled | boolean Default: true ストリームの有効( |
| dest_ids required | Array of strings[ items [ 1 .. 100 ] characters ] 送信先のダウンストリーム用デバイスコネクターIPCのid |
| qos | string Default: "unreliable" Enum: "unreliable" "partial" "reliable" トランスポートの信頼性とコネクション切断時の動作。
|
| reordering | string Default: "strict" Enum: "none" "best_effort" "strict" qosが
|
Array of objects |
{- "id": "recoverable",
- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "unreliable",
- "reordering": "none",
- "filters": [
- {
- "src_edge_uuid": "568ff243-d200-43c4-9942-473c08ccfac1",
- "data_filters": [
- {
- "type": "bytes",
- "name": "abc/efg"
}
]
}
]
}{- "id": "recoverable",
- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "unreliable",
- "reordering": "none",
- "filters": [
- {
- "src_edge_uuid": "568ff243-d200-43c4-9942-473c08ccfac1",
- "data_filters": [
- {
- "type": "bytes",
- "name": "abc/efg"
}
]
}
]
}ダウンストリームに関する設定を取得します。
| id required | string [ 1 .. 100 ] characters Example: recoverable ストリームID。 |
{- "id": "recoverable",
- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "unreliable",
- "reordering": "none",
- "filters": [
- {
- "src_edge_uuid": "568ff243-d200-43c4-9942-473c08ccfac1",
- "data_filters": [
- {
- "type": "bytes",
- "name": "abc/efg"
}
]
}
]
}ダウンストリームに関する設定を設定します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: recoverable ストリームID。 |
| enabled | boolean Default: true ストリームの有効( |
| dest_ids | Array of strings[ items [ 1 .. 100 ] characters ] 送信先のダウンストリーム用デバイスコネクターIPCのid |
| qos | string Default: "unreliable" Enum: "unreliable" "partial" "reliable" トランスポートの信頼性とコネクション切断時の動作。
|
| reordering | string Default: "strict" Enum: "none" "best_effort" "strict" qosが
|
Array of objects |
{- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "unreliable",
- "reordering": "none",
- "filters": [
- {
- "src_edge_uuid": "568ff243-d200-43c4-9942-473c08ccfac1",
- "data_filters": [
- {
- "type": "bytes",
- "name": "abc/efg"
}
]
}
]
}{- "id": "recoverable",
- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "unreliable",
- "reordering": "none",
- "filters": [
- {
- "src_edge_uuid": "568ff243-d200-43c4-9942-473c08ccfac1",
- "data_filters": [
- {
- "type": "bytes",
- "name": "abc/efg"
}
]
}
]
}ダウンストリームに関する設定を削除します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: recoverable ストリームID。 |
{- "title": "Resource is not found",
- "status": 404,
- "detail": "'{id}' is not found.",
- "instance": "/pkg/error.go#300"
}ダウンストリームの状態のリストを取得します。
| enabled | boolean Example: enabled=true 取得対象をフィルターします。 |
[- {
- "id": "recoverable",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}
]ダウンストリームの状態を取得します。
| id required | string [ 1 .. 100 ] characters Example: recoverable ストリームID。 |
{- "id": "recoverable",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}[- {
- "id": "dc1",
- "data_name_prefix": "",
- "dest_ids": [
- "recoverable"
], - "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/up-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}
]アップストリーム用デバイスコネクターIPC設定を作成します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters デバイコネクターIPCのID |
| data_name_prefix | string Default: "" データ名称のプリフィックスとして使用する文字列。 アップストリーム用のデバイスコネクターIPC設定では、プリフィックスをデータ名称に付加します。 プリフィックスが付加されたデータ名称は、iSCPのデータ名称の仕様である以下のルールに従う必要があります。
|
| dest_ids required | Array of strings[ items [ 1 .. 100 ] characters ] 送信先のアップストリームのID。または、 |
| enabled | boolean Default: true デバイスコネクターIPCの有効( |
| format required | string Enum: "iscp-v2-compat" "logger-msg" デバイスコネクターとの通信に使用するデータフォーマット
|
object | |
object |
{- "id": "dc1",
- "data_name_prefix": "",
- "dest_ids": [
- "recoverable"
], - "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/up-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}{- "id": "dc1",
- "data_name_prefix": "",
- "dest_ids": [
- "recoverable"
], - "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/up-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}アップストリーム用デバイスコネクターIPC設定を取得します。
| id required | string [ 1 .. 100 ] characters Example: dc1 デバイコネクターIPCのID |
{- "id": "dc1",
- "data_name_prefix": "",
- "dest_ids": [
- "recoverable"
], - "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/up-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}アップストリーム用デバイスコネクターIPC設定を更新します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: dc1 デバイコネクターIPCのID |
| data_name_prefix | string Default: "" データ名称のプリフィックスとして使用する文字列。 アップストリーム用のデバイスコネクターIPC設定では、プリフィックスをデータ名称に付加します。 プリフィックスが付加されたデータ名称は、iSCPのデータ名称の仕様である以下のルールに従う必要があります。
|
| dest_ids | Array of strings[ items [ 1 .. 100 ] characters ] 送信先のアップストリームのID。または、 |
| enabled | boolean Default: true デバイスコネクターIPCの有効( |
| format | string Enum: "iscp-v2-compat" "logger-msg" デバイスコネクターとの通信に使用するデータフォーマット
|
object | |
object |
{- "data_name_prefix": "",
- "dest_ids": [
- "recoverable"
], - "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/up-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}{- "id": "dc1",
- "data_name_prefix": "",
- "dest_ids": [
- "recoverable"
], - "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/up-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}アップストリーム用デバイスコネクターIPC設定を削除します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: dc1 デバイコネクターIPCのID |
{- "title": "Resource is not found",
- "status": 404,
- "detail": "'{id}' is not found.",
- "instance": "/pkg/error.go#300"
}アップストリーム用デバイスコネクターIPCの状態のリストを取得します。
| enabled | boolean Example: enabled=true 取得対象をフィルターします。 |
[- {
- "id": "dc1",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}
]アップストリーム用デバイスコネクターIPCの状態を取得します。
| id required | string [ 1 .. 100 ] characters Example: dc1 デバイコネクターIPCのID |
{- "id": "dc1",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}[- {
- "id": "dc1",
- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}
]ダウンストリーム用デバイスコネクターIPC設定を作成します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters デバイコネクターIPCのID |
| data_name_prefix | string Default: "" データ名称のプリフィックスとして使用する文字列。 ダウンストリーム用デバイスコネクターIPC設定では、プリフィックスが指定されている場合、以下の処理を行います。
|
| enabled | boolean Default: true デバイスコネクターIPCの有効( |
| format required | string Enum: "iscp-v2-compat" "logger-msg" デバイスコネクターとの通信に使用するデータフォーマット
|
object | |
object |
{- "id": "dc1",
- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}{- "id": "dc1",
- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}ダウンストリーム用デバイスコネクターIPC設定を取得します。
| id required | string [ 1 .. 100 ] characters Example: dc1 デバイコネクターIPCのID |
{- "id": "dc1",
- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}ダウンストリーム用デバイスコネクターIPC設定を更新します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: dc1 デバイコネクターIPCのID |
| data_name_prefix | string Default: "" データ名称のプリフィックスとして使用する文字列。 ダウンストリーム用デバイスコネクターIPC設定では、プリフィックスが指定されている場合、以下の処理を行います。
|
| enabled | boolean Default: true デバイスコネクターIPCの有効( |
| format | string Enum: "iscp-v2-compat" "logger-msg" デバイスコネクターとの通信に使用するデータフォーマット
|
object | |
object |
{- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}{- "id": "dc1",
- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "launch": {
- "cmd": "device-connector-intdash",
- "args": [
- "--config"
], - "environment": [
- "KEY=value"
]
}
}ダウンストリーム用デバイスコネクターIPC設定を削除します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: dc1 デバイコネクターIPCのID |
{- "title": "Resource is not found",
- "status": 404,
- "detail": "'{id}' is not found.",
- "instance": "/pkg/error.go#300"
}ダウンストリーム用デバイスコネクターIPCの状態のリストを取得します。
| enabled | boolean Example: enabled=true 取得対象をフィルターします。 |
[- {
- "id": "dc1",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}
]ダウンストリーム用デバイスコネクターIPCの状態を取得します。
| id required | string [ 1 .. 100 ] characters Example: dc1 デバイコネクターIPCのID |
{- "id": "dc1",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}フィルター(アップストリーム方向)に関する設定を作成します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters フィルターのID |
| enabled | boolean Default: true フィルターの有効( |
| type required | string non-empty フィルターの種類 |
required | always (object) or type (object) or name (object) or src-id (object) or rename (object) or sampling (object) or h264-essential-nal-units (object) 対象データポイントの条件指定。条件の指定方法はフィルターのタイプによって異なります。データポイントがここで記載された条件に一致した場合、データポイントに |
required | always (object) or type (object) or name (object) or src-id (object) or rename (object) or sampling (object) or h264-essential-nal-units (object) フィルターの条件に合致したデータポイントは、ここに指定された変更が行われます。 |
{- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "recoverable"
}
}{- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "recoverable"
}
}フィルター(アップストリーム方向)に関する設定を取得します。
| id required | string [ 1 .. 100 ] characters Example: data_sampling フィルターのID |
{- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "recoverable"
}
}フィルター(アップストリーム方向)に関する設定を更新します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: data_sampling フィルターのID |
| enabled | boolean Default: true フィルターの有効( |
| type | string non-empty フィルターの種類 |
always (object) or type (object) or name (object) or src-id (object) or rename (object) or sampling (object) or h264-essential-nal-units (object) 対象データポイントの条件指定。条件の指定方法はフィルターのタイプによって異なります。データポイントがここで記載された条件に一致した場合、データポイントに | |
always (object) or type (object) or name (object) or src-id (object) or rename (object) or sampling (object) or h264-essential-nal-units (object) フィルターの条件に合致したデータポイントは、ここに指定された変更が行われます。 |
{- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "recoverable"
}
}{- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "recoverable"
}
}フィルター(アップストリーム方向)に関する設定を削除します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: data_sampling フィルターのID |
{- "title": "Resource is not found",
- "status": 404,
- "detail": "'{id}' is not found.",
- "instance": "/pkg/error.go#300"
}フィルター(ダウンストリーム方向)に関する設定を作成します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters フィルターのID |
| enabled | boolean Default: true フィルターの有効( |
| type required | string non-empty フィルターの種類 |
required | always (object) or type (object) or name (object) or src-id (object) or rename (object) or sampling (object) or h264-essential-nal-units (object) 対象データポイントの条件指定。条件の指定方法はフィルターのタイプによって異なります。データポイントがここで記載された条件に一致した場合、データポイントに |
required | always (object) or type (object) or name (object) or src-id (object) or rename (object) or sampling (object) or h264-essential-nal-units (object) フィルターの条件に合致したデータポイントは、ここに指定された変更が行われます。 |
{- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "dc1"
}
}{- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "dc1"
}
}フィルター(ダウンストリーム方向)に関する設定を取得します。
| id required | string [ 1 .. 100 ] characters Example: data_sampling フィルターのID |
{- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "dc1"
}
}フィルター(ダウンストリーム方向)に関する設定を更新します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: data_sampling フィルターのID |
| enabled | boolean Default: true フィルターの有効( |
| type | string non-empty フィルターの種類 |
always (object) or type (object) or name (object) or src-id (object) or rename (object) or sampling (object) or h264-essential-nal-units (object) 対象データポイントの条件指定。条件の指定方法はフィルターのタイプによって異なります。データポイントがここで記載された条件に一致した場合、データポイントに | |
always (object) or type (object) or name (object) or src-id (object) or rename (object) or sampling (object) or h264-essential-nal-units (object) フィルターの条件に合致したデータポイントは、ここに指定された変更が行われます。 |
{- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "dc1"
}
}{- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "dc1"
}
}フィルター(ダウンストリーム方向)に関する設定を削除します。ストリーマーが起動中の場合は次回の起動から反映されます。
| id required | string [ 1 .. 100 ] characters Example: data_sampling フィルターのID |
{- "title": "Resource is not found",
- "status": 404,
- "detail": "'{id}' is not found.",
- "instance": "/pkg/error.go#300"
}{- "priority": "higher_than_realtime",
- "limit_data_storage": true,
- "auto_delete": true,
- "data_storage_capacity": 102400,
- "auto_delete_threshold": 102400,
- "upload_request_size": 1048576
}遅延アップロードに関する設定を更新します。
| priority | string Default: "same_as_realtime" Enum: "higher_than_realtime" "same_as_realtime" "lower_than_realtime" 遅延アップロードのネットワーク通信の優先度
|
| limit_data_storage | boolean Deprecated Default: true auto_deleteのエイリアス。 Deprecated: v1.3.0 以降では、auto_delete を使用してください。 |
| auto_delete | boolean Default: true 遅延アップロード用データを保存する計測データベースの自動削除の有効( |
| data_storage_capacity | integer <int64> Deprecated Default: 102400 auto_delete_thresholdのエイリアス。 Deprecated: v1.3.0 以降では、auto_delete_threshold を使用してください。 |
| auto_delete_threshold | integer <int64> Default: 102400 遅延アップロード用のデータを保存する計測データベースが使用するディスク容量の最大値(MiB)。 auto_delete を |
| upload_request_size | integer <int32> [ 1024 .. 2147483647 ] Default: 1048576 遅延アップロードでデータをアップロードする時に、1回のサーバーへのREST APIリクエストでアップロードするデータのサイズ(Byte)。 |
{- "priority": "higher_than_realtime",
- "auto_delete": true,
- "auto_delete_threshold": 102400,
- "upload_request_size": 1048576
}{- "priority": "higher_than_realtime",
- "limit_data_storage": true,
- "auto_delete": true,
- "data_storage_capacity": 102400,
- "auto_delete_threshold": 102400,
- "upload_request_size": 1048576
}[- {
- "uuid": "3c3b9741-51a1-4f22-ad77-2e1a08122531",
- "base_time": "2017-02-11T12:34:56.999999999Z",
- "pending_data_size": 0,
- "chunk_count": 0,
- "total_remaining_data": 0,
- "suspended_data": 0,
- "remaining_data_state": "fully_unsuspended",
- "validation": "valid"
}
]特定の計測データについて、遅延アップロードを保留します。
| uuid required | string <uuid> 計測のUUID。intdashサーバーで管理している計測UUIDと同じです。 |
[- {
- "uuid": "3c3b9741-51a1-4f22-ad77-2e1a08122531"
}
]{- "title": "Invalid request body",
- "status": 400,
- "detail": "Failed to decode request: {detail}.",
- "instance": "/pkg/error.go#200"
}特定の計測データについて、遅延アップロードの保留を解除します。
| uuid required | string <uuid> 計測のUUID。intdashサーバーで管理している計測UUIDと同じです。 |
[- {
- "uuid": "3c3b9741-51a1-4f22-ad77-2e1a08122531"
}
]{- "title": "Invalid request body",
- "status": 400,
- "detail": "Failed to decode request: {detail}.",
- "instance": "/pkg/error.go#200"
}計測データを取得します。
| uuid required | string <uuid> Example: 3c3b9741-51a1-4f22-ad77-2e1a08122531 計測のUUID。intdashサーバーで管理している計測UUIDと同じです。 |
{- "uuid": "3c3b9741-51a1-4f22-ad77-2e1a08122531",
- "base_time": "2017-02-11T12:34:56.999999999Z",
- "pending_data_size": 0,
- "chunk_count": 0,
- "total_remaining_data": 0,
- "suspended_data": 0,
- "remaining_data_state": "fully_unsuspended",
- "validation": "valid"
}計測データを削除します。
| uuid required | string <uuid> Example: 3c3b9741-51a1-4f22-ad77-2e1a08122531 計測のUUID。intdashサーバーで管理している計測UUIDと同じです。 |
{- "title": "Resource is not found",
- "status": 404,
- "detail": "'{id}' is not found.",
- "instance": "/pkg/error.go#300"
}全ての計測データを複製し圧縮した計測データアーカイブを作成しダウンロードします。
一時的に作られた計測データアーカイブはダウンロードが終了(エラー、キャンセル含む)すると削除されます。
計測データアーカイブは数GByteといった大容量となる可能性があります。計測データアーカイブを一時的に保存するための空き容量が足りない場合はtmp_pathで適切なパスに変更してください。
| tmp_path | string Default: "/tmp/intdash-edge-agent2-measurements.zip" 計測データアーカイブを一時的に保存するパス。 |
{- "title": "Invalid request body",
- "status": 400,
- "detail": "Failed to decode request: {detail}.",
- "instance": "/pkg/error.go#200"
}{- "auto_start": false,
- "log_file": "",
- "finalization_timeout": 30,
- "measurement_name_default": "",
- "measurement_description_default": "",
- "disk_usage_limit": 90,
- "channel_capacity": 50000,
- "channel_mode": "wait",
- "base_time_send_interval": 10,
- "base_time_ntp_server": "ntp.intdash.jp",
- "base_time_gps_synchronized_ntp_server": ""
}ストリーマーに関する設定を更新します。ストリーマーが起動中の場合は次回の起動から反映されます。
| auto_start | boolean Default: false ストリーマーをデーモン起動時に自動起動する( |
| log_file | string Default: "" ログを出力するファイルパス。空文字の場合はログの出力をしません。 |
| finalization_timeout | integer <int32> [ 0 .. 2147483647 ] Default: 30 シグナルを受けてから終了処理が完了するまで待つ時間(秒)。この時間を超えるとプロセスは強制的に終了されます。強制終了された場合、未処理のデータが欠損する可能性があります。 |
| measurement_name_default | string Default: "" ストリーマーが作成する計測につける名前のデフォルト |
| measurement_description_default | string Default: "" ストリーマーが作成する計測につける説明のデフォルト |
| disk_usage_limit | integer <int32> [ 1 .. 100 ] Default: 90 ストリーマーの起動に必要なディスク使用率の最小値(%)。ストリーマー起動中でもディスク使用率がこの値以上になるとストリーマーは停止します。 |
| channel_capacity | integer <int64> Default: 50000 スレッド間をつなぐチャンネルのバッファが保持できるデータポイント数。 デバイスコネクターからのデータが一時的に増加することを許容する場合はこの値を大きくしてください。 |
| channel_mode | string Default: "quit" Enum: "wait" "allow_drop" "quit" スレッド間をつなぐチャンネルのバッファが溢れた場合の処理。
|
| base_time_send_interval | integer [ 1 .. 2147483647 ] Default: 10 基準時刻を定期的に送信する間隔(秒)。 |
| base_time_ntp_server | string non-empty Default: "ntp.intdash.jp" NTP基準時刻の取得に使用するNTPサーバーのアドレス。 |
| base_time_gps_synchronized_ntp_server | string Default: "" GPS基準時刻の取得に使用するGPSに同期したNTPサーバーのアドレス。
使用する場合は、ループバックアドレス( |
{- "auto_start": false,
- "log_file": "",
- "finalization_timeout": 30,
- "measurement_name_default": "",
- "measurement_description_default": "",
- "disk_usage_limit": 90,
- "channel_capacity": 50000,
- "channel_mode": "wait",
- "base_time_send_interval": 10,
- "base_time_ntp_server": "ntp.intdash.jp",
- "base_time_gps_synchronized_ntp_server": ""
}{- "auto_start": false,
- "log_file": "",
- "finalization_timeout": 30,
- "measurement_name_default": "",
- "measurement_description_default": "",
- "disk_usage_limit": 90,
- "channel_capacity": 50000,
- "channel_mode": "wait",
- "base_time_send_interval": 10,
- "base_time_ntp_server": "ntp.intdash.jp",
- "base_time_gps_synchronized_ntp_server": ""
}ストリーマーを起動します。
| measurement_name | string ストリーマーが作成する計測につける名前。Get Streamer Configurationのmeasurement_name_defaultが設定されている場合でもこちらの名前が優先されます。 |
| measurement_description | string ストリーマーが作成する計測につける説明。Get Streamer Configurationのmeasurement_description_defaultが設定されている場合でもこちらの説明が優先されます。 |
{- "measurement_name": "name",
- "measurement_description": "description of measurement"
}{- "title": "Invalid request body",
- "status": 400,
- "detail": "Failed to decode request: {detail}.",
- "instance": "/pkg/error.go#200"
}E2Eコーラーに関する設定をします。
| auto_start | boolean Default: false E2Eコーラーをデーモン起動時に自動起動する( |
| log_file | string Default: "" ログを出力するファイルパス。空文字の場合はログの出力をしません。 |
| finalization_timeout | integer <int32> [ 0 .. 2147483647 ] Default: 30 シグナルを受けてから終了処理が完了するまで待つ時間(秒)。この時間を超えるとプロセスは強制的に終了されます。強制終了された場合、未処理のデータが欠損する可能性があります。 |
| bind_address | string <ipv4> Default: "127.0.0.1" E2E Callerが待ち受けのためにバインドするアドレス。 |
| bind_port | integer [ 1 .. 65535 ] Default: 50052 E2E Callerが待ち受けのためにバインドするポート。 |
| suppress_non_loopback_bind_warning | boolean Default: false ループバック以外のアドレスで待ち受ける場合に出力される警告ログを抑止するかどうか。 |
{- "auto_start": false,
- "log_file": "",
- "finalization_timeout": 30,
- "bind_address": "127.0.0.1",
- "bind_port": 50052,
- "suppress_non_loopback_bind_warning": false
}{- "auto_start": false,
- "log_file": "",
- "finalization_timeout": 30,
- "bind_address": "127.0.0.1",
- "bind_port": 50052,
- "suppress_non_loopback_bind_warning": false
}ログに関する設定を更新します。
| level | string Default: "info" Enum: "error" "warn" "info" "debug" "trace" "quiet" デーモンのログレベル。 |
{- "level": "error"
}{- "level": "error"
}