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"
413 Request Entity Too Largeã§æåŠããã ãšã©ãŒã¬ã¹ãã³ã¹ã®titleã¯Request body too largeã«ãªããŸãã AgentãšintdashãµãŒããŒéã®æ¥ç¶ã«é¢ããèšå®ãååŸããŸãã
{- "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ã«èšå®ãããŠããå€ã䜿çšããŸãã
| timeout | integer [ 1 .. 60 ] Default: 5 Example: timeout=10 æ¥ç¶ãã¹ãã®ã¿ã€ã ã¢ãŠãæéïŒç§ïŒãããã©ã«ãã¯5ç§ã§ãã |
{- "verified": true,
- "edge_name": "edge01",
- "edge_nickname": "nickname01",
- "gateway": "192.168.1.1",
- "network_type": "ethernet"
}AgentãšintdashãµãŒããŒéã®æ¥ç¶æ¹æ³ã«é¢ããèšå®ãååŸããŸãã
{- "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ãåŸ ã¡åããããŒãçªå·ã«åãããŠèšå®ããŠãã ããã |
| datagram_send_buffer_size | integer [ 1 .. 4294967295 ] Default: 65535 QUICããŒã¿ã°ã©ã éä¿¡ã§äœ¿çšããå éšãããã¡ã®ãµã€ãºïŒãã€ãïŒãéä¿¡çŽåã®ãããã¡ãªã³ã°å®¹éã調æŽããŸãããããã¯ãŒã¯å質ãéä¿¡ã¬ãŒãã«å¿ããŠæé©ãªå€ã«èšå®ããŠãã ããã |
| 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,
- "datagram_send_buffer_size": 65535,
- "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,
- "upload_mode": "none",
- "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 Deprecated Default: true upload_modeã®ãšã€ãªã¢ã¹ïŒ Deprecated: v1.5.0 以éã§ã¯ãupload_mode ã䜿çšããŠãã ããã |
| suspend_deferred_upload | boolean Deprecated Default: false é
å»¶ã¢ããããŒããä¿çããïŒ Deprecated: v1.5.0 以éã§ã¯ãupload_mode ã䜿çšããŠãã ããã |
| upload_mode | string Enum: "none" "auto" "hold" "export" é å»¶ã¢ããããŒãã®åäœã¢ãŒããæå®ããŸãã
æ¬ãã£ãŒã«ããçç¥ããå Žåãdeprecated 㪠deferred_upload / suspend_deferred_upload ããåäœã¢ãŒãã解決ãããŸãïŒããããçç¥æã¯å®å¹çã« persist_realtime_dataã
Experimental: |
| 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,
- "upload_mode": "none",
- "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,
- "upload_mode": "none",
- "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 Deprecated Default: true upload_modeã®ãšã€ãªã¢ã¹ïŒ Deprecated: v1.5.0 以éã§ã¯ãupload_mode ã䜿çšããŠãã ããã |
| suspend_deferred_upload | boolean Deprecated Default: false é
å»¶ã¢ããããŒããä¿çããïŒ Deprecated: v1.5.0 以éã§ã¯ãupload_mode ã䜿çšããŠãã ããã |
| upload_mode | string Enum: "none" "auto" "hold" "export" é å»¶ã¢ããããŒãã®åäœã¢ãŒããæå®ããŸãã
æ¬ãã£ãŒã«ããçç¥ããå Žåãdeprecated 㪠deferred_upload / suspend_deferred_upload ããåäœã¢ãŒãã解決ãããŸãïŒããããçç¥æã¯å®å¹çã« persist_realtime_dataã
Experimental: |
| 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,
- "upload_mode": "none",
- "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"
}ã¹ããªãŒããŒãå®è¡äžã®å Žåãã¢ããã¹ããªãŒã ã®å®è¡æç¶æ ã®ãªã¹ããååŸããŸãã
[- {
- "id": "recoverable",
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}
]ã¢ããã¹ããªãŒã ã®ç¶æ ã®ãªã¹ããååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /upstreams/-/statuses ã䜿çšããŠãã ããã
| 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"
}
]ã¢ããã¹ããªãŒã ã®ç¶æ ãååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /upstreams/-/statuses ã䜿çšããŠãã ããã
| 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"
}ã¹ããªãŒããŒãå®è¡äžã®å ŽåãããŠã³ã¹ããªãŒã ã®å®è¡æç¶æ ã®ãªã¹ããååŸããŸãã
[- {
- "id": "recoverable",
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}
]ããŠã³ã¹ããªãŒã ã®ç¶æ ã®ãªã¹ããååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /downstreams/-/statuses ã䜿çšããŠãã ããã
| 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"
}
]ããŠã³ã¹ããªãŒã ã®ç¶æ ãååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /downstreams/-/statuses ã䜿çšããŠãã ããã
| 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"
}ã¢ããã¹ããªãŒã çšããã€ã¹ã³ãã¯ã¿ãŒIPCèšå®ã®ãªã¹ããååŸããŸãã
[- {
- "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"
}ã¹ããªãŒããŒãå®è¡äžã®å Žåãããã€ã¹ã³ãã¯ã¿ãŒã®ã¢ããã¹ããªãŒã ã®å®è¡æç¶æ ã®ãªã¹ããååŸããŸãã
[- {
- "id": "dc1",
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}
]ããã€ã¹ã³ãã¯ã¿ãŒã®ã¢ããã¹ããªãŒã ã®ç¶æ ã®ãªã¹ããååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /device_connectors_upstream/-/statuses ã䜿çšããŠãã ããã
| 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"
}
]ããã€ã¹ã³ãã¯ã¿ãŒã®ã¢ããã¹ããªãŒã ã®ç¶æ ãååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /device_connectors_upstream/-/statuses ã䜿çšããŠãã ããã
| 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"
}ããŠã³ã¹ããªãŒã çšããã€ã¹ã³ãã¯ã¿ãŒIPCèšå®ã®ãªã¹ããååŸããŸãã
[- {
- "id": "dc1",
- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "write_policy": "drop-if-not-opened",
- "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 | |
| write_policy | string Default: "always-wait-and-send" Enum: "drop-if-not-opened" "drop-until-first-open" "always-wait-and-send" IPCæ¥ç¶å ãšã®æ¥ç¶ç¶æ ã«å¿ããããŒã¿ã®åŠçæ¹æ³ãæå®ããŸããæ¥ç¶ç¶æ ã®æ€ç¥ã«ã¯ãããŒã¿ãã€ã³ããéä¿¡ã倱æããå¿ èŠããããŸããéä¿¡ã«å€±æããããŒã¿ãã€ã³ãã¯ããããã®èšå®ã§ãéä¿¡ãããŸããã
ããŒã¿ãã€ã³ãã®éä¿¡ã«å€±æããæ¡ä»¶ã¯ã䜿çšããIPCãšå®è¡ç°å¢ã«äŸåããŸããFIFOã®å Žåã忥ç¶ã¯ããã€ã¹ã³ãã¯ã¿ãŒåŽã察å¿ããFIFOãreadãããŸã§åŸ ã€ãããéä¿¡ãããªãããŒã¿ãã€ã³ãã¯æžã蟌ã¿å€±ææã®ãšãã®ã¿ã§ããTCPãšUDPã¯ãIPCã®ãªãŒãã³ãæžã蟌ã¿ãæåããŠããããã€ã¹ã³ãã¯ã¿ãŒã忢ããŠããå ŽåããããŸãã |
object |
{- "id": "dc1",
- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "write_policy": "drop-if-not-opened",
- "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"
}, - "write_policy": "drop-if-not-opened",
- "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"
}, - "write_policy": "drop-if-not-opened",
- "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 | |
| write_policy | string Default: "always-wait-and-send" Enum: "drop-if-not-opened" "drop-until-first-open" "always-wait-and-send" IPCæ¥ç¶å ãšã®æ¥ç¶ç¶æ ã«å¿ããããŒã¿ã®åŠçæ¹æ³ãæå®ããŸããæ¥ç¶ç¶æ ã®æ€ç¥ã«ã¯ãããŒã¿ãã€ã³ããéä¿¡ã倱æããå¿ èŠããããŸããéä¿¡ã«å€±æããããŒã¿ãã€ã³ãã¯ããããã®èšå®ã§ãéä¿¡ãããŸããã
ããŒã¿ãã€ã³ãã®éä¿¡ã«å€±æããæ¡ä»¶ã¯ã䜿çšããIPCãšå®è¡ç°å¢ã«äŸåããŸããFIFOã®å Žåã忥ç¶ã¯ããã€ã¹ã³ãã¯ã¿ãŒåŽã察å¿ããFIFOãreadãããŸã§åŸ ã€ãããéä¿¡ãããªãããŒã¿ãã€ã³ãã¯æžã蟌ã¿å€±ææã®ãšãã®ã¿ã§ããTCPãšUDPã¯ãIPCã®ãªãŒãã³ãæžã蟌ã¿ãæåããŠããããã€ã¹ã³ãã¯ã¿ãŒã忢ããŠããå ŽåããããŸãã |
object |
{- "data_name_prefix": "",
- "enabled": true,
- "format": "iscp-v2-compat",
- "ipc": {
- "type": "fifo",
- "path": "/var/run/intdash/down-{id}.fifo"
}, - "write_policy": "drop-if-not-opened",
- "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"
}, - "write_policy": "drop-if-not-opened",
- "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ã®å®è¡æç¶æ ã®ãªã¹ããååŸããŸãã
[- {
- "id": "dc1",
- "code": "error",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}
]ããŠã³ã¹ããªãŒã çšããã€ã¹ã³ãã¯ã¿ãŒIPCã®ç¶æ ã®ãªã¹ããååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /device_connectors_downstream/-/statuses ã䜿çšããŠãã ããã
| 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ã®ç¶æ ãååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /device_connectors_downstream/-/statuses ã䜿çšããŠãã ããã
| 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": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "dc1"
], - "dest_ids": [
- "recoverable"
], - "type": "h26.+",
- "name": "h26.+"
}, - "change_to": {
- "dest_id": "recoverable"
}
}
]ãã£ã«ã¿ãŒïŒã¢ããã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ãäœæããŸããã¹ããªãŒããŒãèµ·åäžã®å Žåã¯æ¬¡åã®èµ·åããåæ ãããŸãã
| id required | string [ 1 .. 100 ] characters ãã£ã«ã¿ãŒã®ID |
| enabled | boolean Default: true ãã£ã«ã¿ãŒã®æå¹( |
| order | integer <int32> Default: 0 ãã£ã«ã¿ãŒãå®è¡ããé çªãå€ãå°ããã»ã©å ã«å®è¡ãããŸããåãå€ã®å Žåã¯List Filters for Upstreamã®é åã®é çªã§å®è¡ãããŸãã |
| start_active | boolean Default: true ã¹ããªãŒããŒèµ·åæã®ãã£ã«ã¿ãŒã®activeç¶æ
ãenabledã
|
| type required | string ãã£ã«ã¿ãŒã®çš®é¡ã
|
required | object ãã£ã«ã¿ãŒåŠçã®å¯Ÿè±¡ãšãªãããŒã¿ãã€ã³ããéžå¥ããããã®æ¡ä»¶ãæå®ããŸãã æå®ããããã¹ãŠã®ã¡ã³ããŒã®æ¡ä»¶ãæºããããŒã¿ãã€ã³ãã®ã¿ããã£ã«ã¿ãŒåŠçã®å¯Ÿè±¡ãšãªããŸãã ã¡ã³ããŒãã²ãšã€ãæå®ãããŠããªãå Žåã¯ãåžžã«ãã£ã«ã¿ãŒã®å¯Ÿè±¡ã§ãã |
required | object ãã£ã«ã¿ãŒã®æ¡ä»¶ã«åèŽããããŒã¿ãã€ã³ãã«å¯Ÿãã倿Žãæå®ããŸãã |
{- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "dc1"
], - "dest_ids": [
- "recoverable"
], - "type": "h26.+",
- "name": "h26.+"
}, - "change_to": {
- "dest_id": "recoverable"
}
}{- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "dc1"
], - "dest_ids": [
- "recoverable"
], - "type": "h26.+",
- "name": "h26.+"
}, - "change_to": {
- "dest_id": "recoverable"
}
}ãã£ã«ã¿ãŒïŒã¢ããã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ãååŸããŸãã
| id required | string [ 1 .. 100 ] characters Example: data_sampling ãã£ã«ã¿ãŒã®ID |
{- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "dc1"
], - "dest_ids": [
- "recoverable"
], - "type": "h26.+",
- "name": "h26.+"
}, - "change_to": {
- "dest_id": "recoverable"
}
}ãã£ã«ã¿ãŒïŒã¢ããã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ãæŽæ°ããŸããã¹ããªãŒããŒãèµ·åäžã®å Žåã¯æ¬¡åã®èµ·åããåæ ãããŸãã
| id required | string [ 1 .. 100 ] characters Example: data_sampling ãã£ã«ã¿ãŒã®ID |
| enabled | boolean Default: true ãã£ã«ã¿ãŒã®æå¹( |
| order | integer <int32> Default: 0 ãã£ã«ã¿ãŒãå®è¡ããé çªãå€ãå°ããã»ã©å ã«å®è¡ãããŸããåãå€ã®å Žåã¯List Filters for Upstreamã®é åã®é çªã§å®è¡ãããŸãã |
| start_active | boolean Default: true ã¹ããªãŒããŒèµ·åæã®ãã£ã«ã¿ãŒã®activeç¶æ
ãenabledã
|
| type | string ãã£ã«ã¿ãŒã®çš®é¡ã
|
object ãã£ã«ã¿ãŒåŠçã®å¯Ÿè±¡ãšãªãããŒã¿ãã€ã³ããéžå¥ããããã®æ¡ä»¶ãæå®ããŸãã æå®ããããã¹ãŠã®ã¡ã³ããŒã®æ¡ä»¶ãæºããããŒã¿ãã€ã³ãã®ã¿ããã£ã«ã¿ãŒåŠçã®å¯Ÿè±¡ãšãªããŸãã ã¡ã³ããŒãã²ãšã€ãæå®ãããŠããªãå Žåã¯ãåžžã«ãã£ã«ã¿ãŒã®å¯Ÿè±¡ã§ãã | |
object ãã£ã«ã¿ãŒã®æ¡ä»¶ã«åèŽããããŒã¿ãã€ã³ãã«å¯Ÿãã倿Žãæå®ããŸãã |
{- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "dc1"
], - "dest_ids": [
- "recoverable"
], - "type": "h26.+",
- "name": "h26.+"
}, - "change_to": {
- "dest_id": "recoverable"
}
}{- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "dc1"
], - "dest_ids": [
- "recoverable"
], - "type": "h26.+",
- "name": "h26.+"
}, - "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"
}ã¹ããªãŒããŒãå®è¡äžã®å Žåãã¢ããã¹ããªãŒã çšãã£ã«ã¿ãŒã®å®è¡æç¶æ
ãäžæ¬ã§å€æŽããŸãã
ãã®å€æŽã¯äžæçã§ããã¹ããªãŒããŒã忢ãããšå€±ãããåèµ·åæã¯ start_active ãã©ã°ã«åºã¥ããŠåæåãããŸãã
| id required | string [ 1 .. 100 ] characters ãã£ã«ã¿ãŒã®ID |
| active required | boolean ã¹ããªãŒããŒå®è¡äžã®ãã£ã«ã¿ãŒå®è¡ç¶æ ã
ãã®ç¶æ
ã¯ã¹ããªãŒããŒèµ·åæã«ãèšå®ïŒUpdate Filter for Upstreamã® |
[- {
- "id": "data_sampling",
- "active": true
}
][- {
- "id": "data_sampling",
- "active": true
}
]ãã£ã«ã¿ãŒïŒããŠã³ã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ã®ãªã¹ããååŸããŸãã
[- {
- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "recoverable"
], - "dest_ids": [
- "dc1"
], - "type": "h26.+",
- "name": "v1/.+"
}, - "change_to": {
- "dest_id": "dc1"
}
}
]ãã£ã«ã¿ãŒïŒããŠã³ã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ãäœæããŸããã¹ããªãŒããŒãèµ·åäžã®å Žåã¯æ¬¡åã®èµ·åããåæ ãããŸãã
| id required | string [ 1 .. 100 ] characters ãã£ã«ã¿ãŒã®ID |
| enabled | boolean Default: true ãã£ã«ã¿ãŒã®æå¹( |
| order | integer <int32> Default: 0 ãã£ã«ã¿ãŒãå®è¡ããé çªãå€ãå°ããã»ã©å ã«å®è¡ãããŸããåãå€ã®å Žåã¯List Filters for Upstreamã®é åã®é çªã§å®è¡ãããŸãã |
| start_active | boolean Default: true ã¹ããªãŒããŒèµ·åæã®ãã£ã«ã¿ãŒã®activeç¶æ
ãenabledã
|
| type required | string ãã£ã«ã¿ãŒã®çš®é¡ã
|
required | object ãã£ã«ã¿ãŒåŠçã®å¯Ÿè±¡ãšãªãããŒã¿ãã€ã³ããéžå¥ããããã®æ¡ä»¶ãæå®ããŸãã æå®ããããã¹ãŠã®ã¡ã³ããŒã®æ¡ä»¶ãæºããããŒã¿ãã€ã³ãã®ã¿ããã£ã«ã¿ãŒåŠçã®å¯Ÿè±¡ãšãªããŸãã ã¡ã³ããŒãã²ãšã€ãæå®ãããŠããªãå Žåã¯ãåžžã«ãã£ã«ã¿ãŒã®å¯Ÿè±¡ã§ãã |
required | object ãã£ã«ã¿ãŒã®æ¡ä»¶ã«åèŽããããŒã¿ãã€ã³ãã«å¯Ÿãã倿Žãæå®ããŸãã |
{- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "recoverable"
], - "dest_ids": [
- "dc1"
], - "type": "h26.+",
- "name": "v1/.+"
}, - "change_to": {
- "dest_id": "dc1"
}
}{- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "recoverable"
], - "dest_ids": [
- "dc1"
], - "type": "h26.+",
- "name": "v1/.+"
}, - "change_to": {
- "dest_id": "dc1"
}
}ãã£ã«ã¿ãŒïŒããŠã³ã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ãååŸããŸãã
| id required | string [ 1 .. 100 ] characters Example: data_sampling ãã£ã«ã¿ãŒã®ID |
{- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "recoverable"
], - "dest_ids": [
- "dc1"
], - "type": "h26.+",
- "name": "v1/.+"
}, - "change_to": {
- "dest_id": "dc1"
}
}ãã£ã«ã¿ãŒïŒããŠã³ã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ãæŽæ°ããŸããã¹ããªãŒããŒãèµ·åäžã®å Žåã¯æ¬¡åã®èµ·åããåæ ãããŸãã
| id required | string [ 1 .. 100 ] characters Example: data_sampling ãã£ã«ã¿ãŒã®ID |
| enabled | boolean Default: true ãã£ã«ã¿ãŒã®æå¹( |
| order | integer <int32> Default: 0 ãã£ã«ã¿ãŒãå®è¡ããé çªãå€ãå°ããã»ã©å ã«å®è¡ãããŸããåãå€ã®å Žåã¯List Filters for Upstreamã®é åã®é çªã§å®è¡ãããŸãã |
| start_active | boolean Default: true ã¹ããªãŒããŒèµ·åæã®ãã£ã«ã¿ãŒã®activeç¶æ
ãenabledã
|
| type | string ãã£ã«ã¿ãŒã®çš®é¡ã
|
object ãã£ã«ã¿ãŒåŠçã®å¯Ÿè±¡ãšãªãããŒã¿ãã€ã³ããéžå¥ããããã®æ¡ä»¶ãæå®ããŸãã æå®ããããã¹ãŠã®ã¡ã³ããŒã®æ¡ä»¶ãæºããããŒã¿ãã€ã³ãã®ã¿ããã£ã«ã¿ãŒåŠçã®å¯Ÿè±¡ãšãªããŸãã ã¡ã³ããŒãã²ãšã€ãæå®ãããŠããªãå Žåã¯ãåžžã«ãã£ã«ã¿ãŒã®å¯Ÿè±¡ã§ãã | |
object ãã£ã«ã¿ãŒã®æ¡ä»¶ã«åèŽããããŒã¿ãã€ã³ãã«å¯Ÿãã倿Žãæå®ããŸãã |
{- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "recoverable"
], - "dest_ids": [
- "dc1"
], - "type": "h26.+",
- "name": "v1/.+"
}, - "change_to": {
- "dest_id": "dc1"
}
}{- "id": "data_sampling",
- "enabled": true,
- "order": 0,
- "start_active": true,
- "type": "always",
- "target": {
- "src_ids": [
- "recoverable"
], - "dest_ids": [
- "dc1"
], - "type": "h26.+",
- "name": "v1/.+"
}, - "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"
}ã¹ããªãŒããŒãå®è¡äžã®å ŽåãããŠã³ã¹ããªãŒã çšãã£ã«ã¿ãŒã®å®è¡æç¶æ
ãäžæ¬ã§å€æŽããŸãã
ãã®å€æŽã¯äžæçã§ããã¹ããªãŒããŒã忢ãããšå€±ãããåèµ·åæã¯ start_active ãã©ã°ã«åºã¥ããŠåæåãããŸãã
| id required | string ãã£ã«ã¿ãŒã®ID |
| active required | boolean ã¹ããªãŒããŒå®è¡äžã®ãã£ã«ã¿ãŒå®è¡ç¶æ ã
ãã®ç¶æ
ã¯ã¹ããªãŒããŒèµ·åæã«ãèšå®ïŒUpdate Filter for Downstreamã® |
[- {
- "id": "string",
- "active": true
}
][- {
- "id": "string",
- "active": true
}
]é å»¶ã¢ããããŒãã«é¢ããèšå®ãååŸããŸãã
{- "priority": "higher_than_realtime",
- "limit_data_storage": true,
- "auto_delete": true,
- "data_storage_capacity": 102400,
- "auto_delete_threshold": 102400,
- "auto_upload": true,
- "upload_request_size": 1048576,
- "upload_bulk_request_size": 20971520,
- "upload_bitrate_limit": 5000,
- "auto_export": false,
- "export_dir": "/media/usb_sdb1",
- "export_interval_ms": 1000
}é å»¶ã¢ããããŒãã«é¢ããèšå®ãæŽæ°ããŸããèšæž¬äžãæŽæ°ã§ããããã«åæ ãããŸãã
| priority | string Deprecated Default: "same_as_realtime" Enum: "higher_than_realtime" "same_as_realtime" "lower_than_realtime" ã¹ããªãŒããŒãèµ·åäžã®é å»¶ã¢ããããŒãã®ãããã¯ãŒã¯éä¿¡ã®åªå 床
upload_bitrate_limit ãæå®ãããŠããå Žåã¯æ¬ãã£ãŒã«ãã¯äœ¿çšãããŸããã Deprecated: v1.5.0 以éã§ã¯ãupload_bitrate_limit ã䜿çšããŠãã ããã |
| 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 ã |
| auto_upload | boolean Default: true é
å»¶ã¢ããããŒãçšããŒã¿ãèªåçã«ã¢ããããŒããã( |
| upload_request_size | integer <int32> [ 1024 .. 2147483647 ] Default: 1048576 ã¹ããªãŒããŒãèµ·åäžã®é å»¶ã¢ããããŒãã§ãïŒåã®ãµãŒããŒãžã®REST APIãªã¯ãšã¹ãã§ã¢ããããŒãããããŒã¿ã®ãµã€ãº(Byte)ã |
| upload_bulk_request_size | integer <int32> [ 1048576 .. 2147483647 ] Default: 20971520 ã¹ããªãŒããŒã忢äžã®é å»¶ã¢ããããŒãã§ãïŒåã®ãµãŒããŒãžã®REST APIãªã¯ãšã¹ãã§ã¢ããããŒãããããŒã¿ã®ãµã€ãº(Byte)ã |
| upload_bitrate_limit | integer <int32> >= 1 ã¹ããªãŒããŒãèµ·åäžã®é å»¶ã¢ããããŒãã§ãã¢ããããŒããããããã¬ãŒãã®å¶éïŒãããããïŒç§ïŒã ã¹ããªãŒããŒã忢ããŠãããšãã¯ãé å»¶ã¢ããããŒãã¯ãã®å¶éã®å¯Ÿè±¡å€ã§ãã |
| auto_export | boolean Default: false èªåãšã¯ã¹ããŒãã®æå¹(
æ¬èšå®ã®å€æŽã¯ agentd ã®åèµ·åãªãã§åæ ãããæ¬¡ã®ããŒãªã³ã°ãµã€ã¯ã«ããæå¹ã«ãªããŸãã Experimental: agentd ã |
| export_dir | string Default: "" èªåãšã¯ã¹ããŒãã®ãšã¯ã¹ããŒãå
ãã£ã¬ã¯ããªã®ãã¹ãauto_export ã æ¬èšå®ã®å€æŽã¯ agentd ã®åèµ·åãªãã§åæ ãããæ¬¡ã®ãµã€ã¯ã«ããæ°ãããšã¯ã¹ããŒãå ã«åãæ¿ãããŸãã Experimental: agentd ã |
| export_interval_ms | integer <int32> [ 1 .. 4294967295 ] Default: 1000 èªåãšã¯ã¹ããŒãã®ããŒãªã³ã°ééïŒããªç§ïŒãå€éšãã£ã¹ã¯ã®åãå€ãã¿ã€ãã³ã°ãäžå®ãªããã ãã£ã³ã¯ã现ããç²åºŠã§é次ãšã¯ã¹ããŒãããŸãã æ¬èšå®ã®å€æŽã¯ agentd ã®åèµ·åãªãã§åæ ãããŸãã Experimental: agentd ã |
{- "priority": "higher_than_realtime",
- "auto_delete": true,
- "auto_delete_threshold": 102400,
- "upload_request_size": 1048576,
- "auto_export": false,
- "export_dir": "/media/usb_sdb1"
}{- "priority": "higher_than_realtime",
- "limit_data_storage": true,
- "auto_delete": true,
- "data_storage_capacity": 102400,
- "auto_delete_threshold": 102400,
- "auto_upload": true,
- "upload_request_size": 1048576,
- "upload_bulk_request_size": 20971520,
- "upload_bitrate_limit": 5000,
- "auto_export": false,
- "export_dir": "/media/usb_sdb1",
- "export_interval_ms": 1000
}é å»¶ã¢ããããŒãåŠçãå®è¡äžã®å Žåãå®è¡æç¶æ ãååŸããŸãã
{- "id": "deferred",
- "code": "connected",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}é å»¶ã¢ããããŒãã®ç¶æ ãååŸããŸãã
Deprecated: v1.5.0 以éã§ã¯ãGET /deferred_upload/-/status ã䜿çšããŠãã ããã
{- "id": "deferred",
- "enabled": true,
- "code": "connected",
- "error": "uninitialized",
- "bitrate": 1024,
- "data_ids": [
- {
- "id": "bytes:abc/efg",
- "count": 100
}
], - "update_time": "2017-02-11T12:34:56Z"
}[- {
- "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,
- "pending_export_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"
}ç¹å®ã®èšæž¬ããŒã¿ã«ã€ããŠãExportç¶æ ã®ã·ãŒã±ã³ã¹ãAutoïŒãµãŒããŒèªåã¢ããããŒãïŒç¶æ ã«å€æããŸãã
Experimental: ãã®ãšã³ããã€ã³ã㯠agentd ã --experimental-export ä»ãã§èµ·åããå Žåã®ã¿æå¹ã§ããä»åŸã®æ£åŒãªãªãŒã¹ã«åããŠãæ©èœã®è¿œå ã»å€æŽã»åé€ãè¡ãããå¯èœæ§ããããŸãã
| 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,
- "pending_export_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"
}æå®ãããæéç¯å²ã«å«ãŸããããŒã¿ãã€ã³ããæ°ããé å»¶ã¢ããããŒããšããŠäœæããŸãã
| uuid required | string <uuid> Example: 3c3b9741-51a1-4f22-ad77-2e1a08122531 èšæž¬ã®UUIDãintdashãµãŒããŒã§ç®¡çããŠããèšæž¬UUIDãšåãã§ãã |
| start_time | string <date-time> ã¯ãªããéå§æå»ïŒRFC3339NanoïŒãEDGE_RTCãåºæºã«ãã絶察æå»ã§æå®ããŸããstart_elapsed ãšæä»ã§æå®ããŸãã |
| start_elapsed | integer <int64> èšæž¬éå§ããã®çµéæéïŒããç§ïŒã«ããã¯ãªããéå§äœçœ®ãstart_time ãšæä»ã§æå®ããŸãã |
| end_time | string <date-time> ã¯ãªããçµäºæå»ïŒRFC3339NanoïŒãEDGE_RTC ãåºæºã«ãã絶察æå»ã§æå®ããŸããend_elapsed ãšæä»ã§æå®ããŸãã |
| end_elapsed | integer <int64> èšæž¬éå§ããã®çµéæéïŒããç§ïŒã«ããã¯ãªããçµäºäœçœ®ãend_time ãšæä»ã§æå®ããŸãã |
{- "start_time": "2019-08-24T14:15:22Z",
- "start_elapsed": 0,
- "end_time": "2019-08-24T14:15:22Z",
- "end_elapsed": 0
}{- "title": "Invalid request body",
- "status": 400,
- "detail": "Failed to decode request: {detail}.",
- "instance": "/pkg/error.go#200"
}å šãŠã®èšæž¬ããŒã¿ãè€è£œãå§çž®ããèšæž¬ããŒã¿ã¢ãŒã«ã€ããäœæãããŠã³ããŒãããŸãã
äžæçã«äœãããèšæž¬ããŒã¿ã¢ãŒã«ã€ãã¯ããŠã³ããŒããçµäºïŒãšã©ãŒããã£ã³ã»ã«å«ãïŒãããšåé€ãããŸãã
èšæž¬ããŒã¿ã¢ãŒã«ã€ãã¯æ°GByteãšãã£ã倧容éãšãªãå¯èœæ§ããããŸããèšæž¬ããŒã¿ã¢ãŒã«ã€ããäžæçã«ä¿åããããã®ç©ºã容éãè¶³ããªãå Žåã¯tmp_pathã§é©åãªãã¹ã«å€æŽããŠãã ããã
| tmp_path | string Default: "/tmp/intdash-edge-agent2-measurements.zip" èšæž¬ããŒã¿ã¢ãŒã«ã€ããäžæçã«ä¿åãããã¹ã |
| measurement_uuid | Array of strings <uuid> ãšã¯ã¹ããŒãããèšæž¬ã®UUIDã®ãªã¹ãã æå®ãããå Žåããããã®èšæž¬ã®ã¿ãã¢ãŒã«ã€ãã«å«ãŸããŸãã æå®ãããªãå Žåãå šãŠã®èšæž¬ãã¢ãŒã«ã€ãã«å«ãŸããŸãã |
| clean | boolean Default: false ãšã¯ã¹ããŒãåŸã«ãšã¯ã¹ããŒãããèšæž¬ã®ããŒã«ã«ããŒã¿ãåé€ããŸãã |
{- "title": "Invalid query parameter",
- "status": 400,
- "detail": "'{value}' does not follow the rule for '{key}' ({regex}).",
- "instance": "/pkg/error.go#219"
}{- "auto_start": false,
- "log_file": "/dev/stdout",
- "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: "/dev/stdout" ãã°ãåºåãããã¡ã€ã«ãã¹ãããã©ã«ãã¯æšæºåºå ( |
| 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": "/dev/stdout",
- "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": "/dev/stdout",
- "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": ""
}ã¹ããªãŒããŒã®å®è¡ã«é¢ãããã§ãã¯ãªã¹ãã®å€å®çµæãååŸããŸãã
{- "enabled_stream_settings_exists": true,
- "enabled_device_connector_ipc_settings_exists": true,
- "ready_to_run": true
}ã¹ããªãŒããŒãèµ·åããŸãã
| 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"
}{- "auto_start": false,
- "log_file": "/dev/stdout",
- "finalization_timeout": 30,
- "bind_address": "127.0.0.1",
- "bind_port": 50052,
- "suppress_non_loopback_bind_warning": false
}E2Eã³ãŒã©ãŒã«é¢ããèšå®ãããŸãã
| auto_start | boolean Default: false E2Eã³ãŒã©ãŒãããŒã¢ã³èµ·åæã«èªåèµ·åããïŒ |
| log_file | string Default: "/dev/stdout" ãã°ãåºåãããã¡ã€ã«ãã¹ãããã©ã«ãã¯æšæºåºå ( |
| 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": "/dev/stdout",
- "finalization_timeout": 30,
- "bind_address": "127.0.0.1",
- "bind_port": 50052,
- "suppress_non_loopback_bind_warning": false
}{- "auto_start": false,
- "log_file": "/dev/stdout",
- "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"
}