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"
|
send_queue_size | integer [ 1 .. 4294967295 ] Default: 4096 iSCPã§ã®éä¿¡ã§äœ¿çšããéä¿¡ãã¥ãŒã®ãµã€ãºãWebSocketã«ããæ¥ç¶ã䜿çšããŠããŠããããã¯ãŒã¯å質ãäœãç°å¢ã«ãããŠç§éããŒã¿éã倧ãããšãã«èšæž¬ãåæ¢ããŠããŸãå Žåã¯ã倧ããªå€ãèšå®ããŠãã ããã |
{- "protocol": "quic",
- "send_queue_size": 4096
}
{- "protocol": "quic",
- "send_queue_size": 4096
}
ã¢ããã¹ããªãŒã ã«é¢ããèšå®ã®ãªã¹ããååŸããŸãã
{- "items": [
- {
- "id": "recoverable",
- "enabled": true,
- "recover": true,
- "persist": true,
- "qos": "partial",
- "flush_policy": "interval",
- "flush_interval": 5
}
]
}
ã¢ããã¹ããªãŒã ã«é¢ããèšå®ãäœæããŸãã
id required | string [ 1 .. 100 ] characters ã¹ããªãŒã ã®IDã |
enabled | boolean Default: true ã¹ããªãŒã ã®æå¹( |
recover | boolean Default: true ã¢ããã¹ããªãŒã ã§éä¿¡ãåºæ¥ãªãã£ããšå€æããå Žåã®é
延ã¢ããããŒãã®æå¹( |
persist | boolean Default: true ãµãŒããŒã§ã®ããŒã¿æ°žç¶åã®æå¹( |
qos | string Default: "unreliable" Enum: "partial" "unreliable" ã³ãã¯ã·ã§ã³ã®ãã©ã³ã¹ããŒããä¿¡é Œæ§ã®ããæ¥ç¶ãšãªãæ¥ç¶ããµããŒãããŠããå Žåã«ã©ã¡ãã䜿çšããããè¡šããŸãã
|
flush_policy | string Default: "interval" Enum: "interval" "immediately"
|
flush_interval | integer [ 1 .. 100000 ] Default: 5 ãªã¢ã«ã¿ã€ã éä¿¡ããã©ãã·ã¥ããééïŒããªç§ïŒã |
{- "id": "recoverable",
- "enabled": true,
- "recover": true,
- "persist": true,
- "qos": "partial",
- "flush_policy": "interval",
- "flush_interval": 5
}
{- "id": "recoverable",
- "enabled": true,
- "recover": true,
- "persist": true,
- "qos": "partial",
- "flush_policy": "interval",
- "flush_interval": 5
}
ã¢ããã¹ããªãŒã ã«é¢ããèšå®ãååŸããŸãã
id required | string [ 1 .. 100 ] characters Example: recoverable ã¹ããªãŒã IDã |
{- "id": "recoverable",
- "enabled": true,
- "recover": true,
- "persist": true,
- "qos": "partial",
- "flush_policy": "interval",
- "flush_interval": 5
}
ã¢ããã¹ããªãŒã ã«é¢ããèšå®ãæŽæ°ããŸãã
id required | string [ 1 .. 100 ] characters Example: recoverable ã¹ããªãŒã IDã |
enabled | boolean Default: true ã¹ããªãŒã ã®æå¹( |
recover | boolean Default: true ã¢ããã¹ããªãŒã ã§éä¿¡ãåºæ¥ãªãã£ããšå€æããå Žåã®é
延ã¢ããããŒãã®æå¹( |
persist | boolean Default: true ãµãŒããŒã§ã®ããŒã¿æ°žç¶åã®æå¹( |
qos | string Default: "unreliable" Enum: "partial" "unreliable" ã³ãã¯ã·ã§ã³ã®ãã©ã³ã¹ããŒããä¿¡é Œæ§ã®ããæ¥ç¶ãšãªãæ¥ç¶ããµããŒãããŠããå Žåã«ã©ã¡ãã䜿çšããããè¡šããŸãã
|
flush_policy | string Default: "interval" Enum: "interval" "immediately"
|
flush_interval | integer [ 1 .. 100000 ] Default: 5 ãªã¢ã«ã¿ã€ã éä¿¡ããã©ãã·ã¥ããééïŒããªç§ïŒã |
{- "enabled": true,
- "recover": true,
- "persist": true,
- "qos": "partial",
- "flush_policy": "interval",
- "flush_interval": 5
}
{- "id": "recoverable",
- "enabled": true,
- "recover": true,
- "persist": true,
- "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 | bool 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"
}
ããŠã³ã¹ããªãŒã ã«é¢ããèšå®ã®ãªã¹ããååŸããŸãã
{- "items": [
- {
- "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 | bool 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èšå®ã®ãªã¹ããååŸããŸãã
{- "items": [
- {
- "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 | bool 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èšå®ã®ãªã¹ããååŸããŸãã
{- "items": [
- {
- "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 | bool 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"
}
ãã£ã«ã¿ãŒïŒã¢ããã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ã®ãªã¹ããååŸããŸãã
{- "items": [
- {
- "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"
}
ãã£ã«ã¿ãŒïŒããŠã³ã¹ããªãŒã æ¹åïŒã«é¢ããèšå®ã®ãªã¹ããååŸããŸãã
{- "items": [
- {
- "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 | string Default: "same_as_realtime" Enum: "higher_than_realtime" "same_as_realtime" "lower_than_realtime" é 延ã¢ããããŒãã®ãããã¯ãŒã¯éä¿¡ã®åªå 床
|
limit_data_storage | boolean Default: true èšæž¬ããŒã¿ããŒã¹ã®å®¹éãäžå®ã®å®¹é以äžã«ããåŠçã®æå¹( |
data_storage_capacity | integer <int64> Default: 102400 é
延ã¢ããããŒãçšã®ããŒã¿ã®ä¿åã®ããã«äœ¿çšãããã£ã¹ã¯å®¹é(MiB)ã |
{- "priority": "higher_than_realtime",
- "limit_data_storage": true,
- "data_storage_capacity": 102400
}
{- "priority": "higher_than_realtime",
- "limit_data_storage": true,
- "data_storage_capacity": 102400
}
èšæž¬ãååŸããŸãã
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
}
èšæž¬ãåé€ããŸãã
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"
}