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"
AgentãšintdashãµãŒããŒéã®æ¥ç¶ã«é¢ããèšå®ãååŸããŸãã
{- "project_uuid": "b1c54490-f275-452b-96ae-6e318e7df5ec",
- "edge_uuid": "fa12ae1b-7cfc-4e06-ae7a-210a1f0318b8",
- "client_secret": "cK6YdByyZkT06dbDrdHxXCROwIumeJ1cqDccErxa7V4RhCvsdivfdKW0sCnYBEMN"
}AgentãšintdashãµãŒããŒéã®æ¥ç¶ã«é¢ããèšå®ãæŽæ°ããŸãã
| server_url | string <uri> Default: "https://xxxxx.intdash.jp" æ¥ç¶å intdashãµãŒããŒã®URL |
| 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ãµãŒããŒã«æ¥ç¶ããéã«äœ¿çšããã¯ã©ã€ã¢ã³ãã·ãŒã¯ã¬ãã |
{- "project_uuid": "b1c54490-f275-452b-96ae-6e318e7df5ec",
- "edge_uuid": "fa12ae1b-7cfc-4e06-ae7a-210a1f0318b8",
- "client_secret": "cK6YdByyZkT06dbDrdHxXCROwIumeJ1cqDccErxa7V4RhCvsdivfdKW0sCnYBEMN"
}{- "project_uuid": "b1c54490-f275-452b-96ae-6e318e7df5ec",
- "edge_uuid": "fa12ae1b-7cfc-4e06-ae7a-210a1f0318b8",
- "client_secret": "cK6YdByyZkT06dbDrdHxXCROwIumeJ1cqDccErxa7V4RhCvsdivfdKW0sCnYBEMN"
}AgentãšintdashãµãŒããŒéã®æ¥ç¶ããã¹ãããŸãããã©ã³ã¹ããŒãã«ã¯Get Transport Settingsã«èšå®ãããŠããå€ã䜿çšããŸãã
{- "verified": true,
- "edge_name": "edge01",
- "edge_nickname": "nickname01"
}AgentãšintdashãµãŒããŒéã®æ¥ç¶æ¹æ³ã«é¢ããèšå®ãæŽæ°ããŸãã
| protocol | string Default: "websocket" Enum: "quic" "websocket"
|
| quic_port | integer [ 1 .. 65535 ] Default: 11443 QUICã§äœ¿çšããããŒããQUICã«ããæ¥ç¶ã䜿çšããå ŽåãintdashãµãŒããŒãQUICãåŸ ã¡åããããŒãçªå·ã«åãããŠèšå®ããŠãã ããã |
| send_queue_size | integer [ 1 .. 4294967295 ] Default: 4096 iSCPã§ã®éä¿¡ã§äœ¿çšããéä¿¡ãã¥ãŒã®ãµã€ãºãWebSocketã«ããæ¥ç¶ã䜿çšããŠããŠããããã¯ãŒã¯åž¯åãçãç§éããŒã¿éãå€ãå©ç𿹿³ã§Streamerãé »ç¹ã«åæ¢ããŠããŸãå Žåã¯ããã®èšå®é ç®ã«å€§ããªå€ãèšå®ããŠãã ããã |
| compression | string Default: "per_message" Enum: "none" "per_message"
|
| compression_level | integer [ 0 .. 9 ] Default: 6 iSCPã®ã¡ãã»ãŒãžãDEFLATEå§çž®ããå Žåã«äœ¿çšãããå§çž®ã®åŒ·ãã |
{- "protocol": "quic",
- "quic_port": 11443,
- "send_queue_size": 4096,
- "compression": "none",
- "compression_level": 6
}{- "protocol": "quic",
- "quic_port": 11443,
- "send_queue_size": 4096,
- "compression": "none",
- "compression_level": 6
}ã¢ããã¹ããªãŒã ã«é¢ããèšå®ã®ãªã¹ããååŸããŸãã
[- {
- "id": "recoverable",
- "enabled": true,
- "skip_realtime": false,
- "persist": true,
- "persist_realtime_data": true,
- "recover": true,
- "deferred_upload": true,
- "suspend_deferred_upload": false,
- "qos": "partial",
- "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: "partial" "unreliable" ã³ãã¯ã·ã§ã³ã®ãã©ã³ã¹ããŒããä¿¡é Œæ§ã®ããæ¥ç¶ãšãªãæ¥ç¶ããµããŒãããŠããå Žåã«ã©ã¡ãã䜿çšãããã衚ããŸãã
|
| 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": "partial",
- "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": "partial",
- "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: "partial" "unreliable" ã³ãã¯ã·ã§ã³ã®ãã©ã³ã¹ããŒããä¿¡é Œæ§ã®ããæ¥ç¶ãšãªãæ¥ç¶ããµããŒãããŠããå Žåã«ã©ã¡ãã䜿çšãããã衚ããŸãã
|
| 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": "partial",
- "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,
- "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,
- "update_time": "2017-02-11T12:34:56Z"
}ããŠã³ã¹ããªãŒã ã«é¢ããèšå®ã®ãªã¹ããååŸããŸãã
[- {
- "id": "recoverable",
- "dest_ids": [
- "dc1"
], - "qos": "partial",
- "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: "partial" "unreliable" ã³ãã¯ã·ã§ã³ã®ãã©ã³ã¹ããŒããä¿¡é Œæ§ã®ããæ¥ç¶ãšãªãæ¥ç¶ããµããŒãããŠããå Žåã«ã©ã¡ãã䜿çšãããã衚ããŸãã
|
Array of objects |
{- "id": "recoverable",
- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "partial",
- "filters": [
- {
- "src_edge_uuid": "568ff243-d200-43c4-9942-473c08ccfac1",
- "data_filters": [
- {
- "type": "bytes",
- "name": "abc/efg"
}
]
}
]
}{- "id": "recoverable",
- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "partial",
- "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": "partial",
- "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: "partial" "unreliable" ã³ãã¯ã·ã§ã³ã®ãã©ã³ã¹ããŒããä¿¡é Œæ§ã®ããæ¥ç¶ãšãªãæ¥ç¶ããµããŒãããŠããå Žåã«ã©ã¡ãã䜿çšãããã衚ããŸãã
|
Array of objects |
{- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "partial",
- "filters": [
- {
- "src_edge_uuid": "568ff243-d200-43c4-9942-473c08ccfac1",
- "data_filters": [
- {
- "type": "bytes",
- "name": "abc/efg"
}
]
}
]
}{- "id": "recoverable",
- "enabled": true,
- "dest_ids": [
- "dc1"
], - "qos": "partial",
- "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,
- "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,
- "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"
}ã¢ããã¹ããªãŒã çšããã€ã¹ã³ãã¯ã¿ãŒIPCã®ç¶æ ã®ãªã¹ããååŸããŸãã
| enabled | boolean Example: enabled=true ååŸå¯Ÿè±¡ããã£ã«ã¿ãŒããŸãã |
[- {
- "id": "dc1",
- "enabled": true,
- "code": "error",
- "error": "uninitialized",
- "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",
- "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"
}, - "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",
- "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",
- "update_time": "2017-02-11T12:34:56Z"
}ãã£ã«ã¿ãŒïŒã¢ããã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ã®ãªã¹ããååŸããŸãã
[- {
- "id": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "recoverable"
}
}
]ãã£ã«ã¿ãŒïŒã¢ããã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ãäœæããŸããã¹ããªãŒããŒãèµ·åäžã®å Žåã¯æ¬¡åã®èµ·åããåæ ãããŸãã
| 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": "data_sampling",
- "enabled": true,
- "type": "sampling",
- "target": {
- "dest_ids": [
- "recoverable"
]
}, - "change_to": {
- "dest_id": "dc1"
}
}
]ãã£ã«ã¿ãŒïŒããŠã³ã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ãäœæããŸããã¹ããªãŒããŒãèµ·åäžã®å Žåã¯æ¬¡åã®èµ·åããåæ ãããŸãã
| 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 é å»¶ã¢ããããŒãã§ããŒã¿ãã¢ããããŒãããæã«ãïŒåã®ãµãŒããŒãžã®REST APIãªã¯ãšã¹ãã§ã¢ããããŒãããããŒã¿ã®ãµã€ãºã |
{- "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"
}
]ç¹å®ã®èšæž¬ããŒã¿ã«ã€ããŠãé å»¶ã¢ããããŒããä¿çããŸãã
| 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"
}èšæž¬ããŒã¿ãåé€ããŸãã
| 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"
}ã¹ããªãŒããŒã«é¢ããèšå®ãæŽæ°ããŸããã¹ããªãŒããŒãèµ·åäžã®å Žåã¯æ¬¡åã®èµ·åããåæ ãããŸãã
| 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ãµãŒããŒã®ãã¹ãåã |
{- "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"
}{- "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"
}ã¹ããªãŒããŒãèµ·åããŸãã
| 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": "",
- "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: "" ãã°ãåºåãããã¡ã€ã«ãã¹ã空æåã®å Žåã¯ãã°ã®åºåãããŸããã |
| 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
}