IoT Connect Gateway SDP APIリファレンス (1.0.0)
Download OpenAPI specification:Download
IoT Connect Gateway SDP APIリファレンス
SIMの一覧情報を取得する
SIMの一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-fA-F]{32}$ テナントID |
query Parameters
| imsi | string Example: imsi=dummy_imsi 検索に使うIMSI(部分一致) |
| imei | string Example: imei=NA 検索に使うIMEI(部分一致) |
| msisdn | string Example: msisdn=NA 検索に使うMSISDN(部分一致) |
| deviceName | string Example: deviceName=dummy_device_name 検索に使うデバイス名(部分一致) |
| ipAddress | string <ipv4> Example: ipAddress=dummy_ip_address 検索に使うIPアドレス(部分一致) |
| systemId | string Example: systemId=dummy_system_id 検索に使うシステムID(部分一致) |
| mqttClientId | string Example: mqttClientId=dummy_mqtt_client_id 検索に使うMQTTクライアントID(部分一致) |
| hsn | string Example: hsn=dummy_hsn 検索に使うHSN(部分一致) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
| azureDeviceId | string Example: azureDeviceId=dummy_azure_device_id 検索に使うAzureデバイスID(部分一致) |
| gcpDeviceId | string Example: gcpDeviceId=dummy_gcp_device_id 検索に使うGCPデバイスID(部分一致) |
| standardDeviceId | string Example: standardDeviceId=dummy_standard_device_id 検索に使うスタンダードデバイスID(部分一致) |
| description | string Example: description=This is sample 検索に使う詳細情報(部分一致) |
| appletInfo | boolean Example: appletInfo=false eSIMアプレットステータス |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "sims": [
- {
- "imsi": "dummy_imsi",
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "dummy_device_name",
- "ipAddresses": [
- "dummy_address_1",
- "dummy_address_2"
], - "groupId": "dummy_group_id",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "gcpDeviceId": "dummy_gcp_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_sim",
- "appletInfo": {
- "enabled": false,
- "updatedAt": "2023-10-02T02:42:07.491Z"
}
}
]
}SIMの詳細情報を取得する
SIMの詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| imsi required | string Example: dummy_imsi IMSI |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "imsi": "dummy_imsi",
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "dummy_device_name",
- "ipAddresses": [
- "dummy_address_1",
- "dummy_address_2"
], - "groupId": "dummy_group_id",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "gcpDeviceId": "dummy_gcp_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_sim",
- "appletInfo": {
- "enabled": false,
- "updatedAt": "2023-10-02T02:42:07.491Z"
}
}SIMを更新する
SIMを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| imsi required | string Example: dummy_imsi IMSI |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- imei、msisdn、deviceName、optionData1、optionData2、optionData3がnullの場合はNAが自動的に入力される
| imei | string [ 1 .. 16 ] characters ^[0-9]+$ IMEI |
| msisdn | string [ 1 .. 15 ] characters ^[0-9]+$ MSISDN |
| deviceName | string <= 100 characters ^\S*$ デバイス名 (空白類文字列は含められない) |
| groupId | string ^[0-9a-f]{24}$ グループID |
| systemId | string <= 10 characters システムID |
| mqttClientId | string <= 24 characters MQTTクライアントID |
| azureDeviceId | string <= 24 characters AzureデバイスID |
| gcpDeviceId | string <= 24 characters GCPデバイスID |
| standardDeviceId | string <= 24 characters スタンダードデバイスID |
| optionData1 | string <= 256 characters 予備 |
| optionData2 | string <= 256 characters 予備 |
| optionData3 | string <= 256 characters 予備 |
| description | string <= 200 characters 説明 |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_id",
- "groupId": "dummy_group_id",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "gcpDeviceId": "dummy_gcp_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_sim"
}Response samples
- 200
- 401
- 409
{- "imsi": "dummy_imsi",
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "dummy_device_name",
- "ipAddresses": [
- "dummy_address_1",
- "dummy_address_2"
], - "groupId": "dummy_group_id",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "gcpDeviceId": "dummy_gcp_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_sim",
- "appletInfo": {
- "enabled": false,
- "updatedAt": "2023-10-02T02:42:07.491Z"
}
}Applet情報を取得する
該当IMSIのApplet情報を取得
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| imsi required | string Example: dummy_imsi IMSI |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "imsi": "123456789012345",
- "imei": "123456789012345",
- "msisdn": "123456789012345",
- "iccid": "1234567890123456789F",
- "languageIndication": "1A23",
- "rsrp": -100,
- "rsrq": -10,
- "locationInfo": {
- "mcc": "123",
- "mnc": "12",
- "lac": "1234",
- "cid": "123EE12"
}, - "geolocationInfo": {
- "location": {
- "lat": 35.7819116,
- "lng": 139.6291181
}, - "accuracy": 1408,
- "sourceTime": "2022-12-01T01:43:28.400Z",
- "updatedAt": "2022-12-01T01:43:28.400Z"
}, - "appletState": "01",
- "createdAt": "2022-12-01T01:43:28.400Z"
}Applet情報の位置情報を更新する
該当IMSIのApplet情報の位置情報を更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| imsi required | string Example: dummy_imsi IMSI |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "status": "UNCHANGED",
- "message": "Geolocation remains unchanged."
}SIMのログ機能の有効化状況を取得する
SIMのログ機能の有効化状況を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| imsi | string Example: imsi=dummy_imsi 検索に使うIMSI(部分一致、カンマ区切りで複数指定可能) |
| enabled | string Enum: "true" "false" Example: enabled=true 検索に使うenabled |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "activate": [
- {
- "target": "dummy_imsi",
- "enabled": "true"
}
]
}SIMのログ機能を有効化する
SIMのログ機能を有効化する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| activate | Array of objects non-empty |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "activate": [
- {
- "target": "dummy_imsi",
- "enabled": true
}
]
}Response samples
- 200
- 400
- 401
{- "activate": {
- "success": [
- {
- "target": "dummy_imsi",
- "enabled": true
}
], - "failure": [
- {
- "target": "dummy_imsi",
- "enabled": true
}
]
}
}全てのSIMの利用量を取得する
全てのSIMの利用量を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| month | string Default: "当月" Example: month=2021-10 取得対象月 |
| imsi | string Example: imsi=dummy_imsi 検索に使うIMSI(部分一致) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "month": "2022-12",
- "tenantId": "dummy_tenant_id",
- "sims": [
- {
- "imsi": "dummy_imsi",
- "usages": [
- {
- "type": "pconv",
- "usage": 5000
}, - {
- "type": "event",
- "usage": 0
}, - {
- "type": "func",
- "usage": 0
}, - {
- "type": "storage",
- "usage": 0
}, - {
- "type": "config",
- "usage": 0
}, - {
- "type": "fconv",
- "usage": 0
}
], - "usage": 5000
}
]
}SIMの利用量を取得する
SIMの利用量を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| imsi required | string Example: dummy_imsi IMSI |
query Parameters
| month | string Default: "当月" Example: month=2021-10 取得対象月 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "month": "2022-12",
- "tenantId": "dummy_tenant_id",
- "sims": {
- "imsi": "dummy_imsi",
- "usages": [
- {
- "type": "pconv",
- "usage": 5000
}, - {
- "type": "event",
- "usage": 0
}, - {
- "type": "func",
- "usage": 0
}, - {
- "type": "storage",
- "usage": 0
}, - {
- "type": "config",
- "usage": 0
}, - {
- "type": "fconv",
- "usage": 0
}
], - "usage": 5000
}
}ユーザーの利用量を取得する
ユーザーの利用量を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| from required | string <date> Example: from=2021-10-18 取得期間の開始日 |
| to required | string <date> Example: to=2021-10-19 取得期間の終了日 |
| groupId | string Example: groupId=dummy_group_id_1,dummy_group_id_2 検索に使うグループID(カンマ区切りで複数指定可能) |
| imsi | string Example: imsi=dummy_imsi 検索に使うIMSI(部分一致) |
| type | string Enum: "pconv" "event" "func" "storage" "config" Example: type=pconv,event 検索に使う機能種別(カンマ区切りで複数指定可能) |
| cloudType | string Enum: "gcp" "aws" "azure" "things" "standard-http" "standard-mqtt/aws" "wasabi" "others" "icgw" "standard-tcp" Example: cloudType=gcp,aws 検索に使うクラウド種別(カンマ区切りで複数指定可能) |
| protocol | string Enum: "http" "mqtt" "tcp" Example: protocol=http 検索に使うプロトコル |
| deviceGroupId | string Example: deviceGroupId=dummy_device_group_id1,dummy_device_group_id2 検索に使うデバイスグループID(カンマ区切りで複数指定可能) |
| vconnId | string Example: vconnId=dummy_vconn_id 検索に使う仮想コネクションID(部分一致) |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Bad Request
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 400
- 401
- 404
{- "tenantId": "dummy_tenant_id",
- "usages": [
- {
- "date": "2021-10-19",
- "groups": [
- {
- "groupId": "dummy_group_id1",
- "deviceGroupId": "dummy_group_id1",
- "imsi": "dummy_imsi",
- "vconnId": null,
- "type": "pconv",
- "cloudType": "aws",
- "protocol": "http",
- "usage": 900
}, - {
- "groupId": "dummy_group_id2",
- "deviceGroupId": "dummy_group_id2",
- "imsi": null,
- "vconnId": "dummy_vconn_id",
- "type": "pconv",
- "cloudType": "azure",
- "protocol": "http",
- "usage": 1000
}
]
}
]
}全てのvConnの利用量を取得する
全てのvConnの利用量を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| vconnId | string Example: vconnId=dummy_vconn_id 検索に使う仮想コネクションID(部分一致) |
| month | string Default: "当月" Example: month=2021-10 取得対象月 |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "month": "2022-12",
- "tenantId": "dummy_tenant_id",
- "vconns": [
- {
- "vconnId": "dummy_vconn_id1",
- "usages": [
- {
- "type": "pconv",
- "usage": 5000
}, - {
- "type": "event",
- "usage": 0
}, - {
- "type": "func",
- "usage": 0
}, - {
- "type": "storage",
- "usage": 0
}, - {
- "type": "config",
- "usage": 0
}, - {
- "type": "fconv",
- "usage": 0
}
], - "usage": 5000
}, - {
- "vconnId": "dummy_vconn_id2",
- "usages": [
- {
- "type": "pconv",
- "usage": 0
}, - {
- "type": "event",
- "usage": 5000
}, - {
- "type": "func",
- "usage": 0
}, - {
- "type": "storage",
- "usage": 0
}, - {
- "type": "config",
- "usage": 0
}, - {
- "type": "fconv",
- "usage": 0
}
], - "usage": 5000
}, - {
- "vconnId": "dummy_vconn_id3",
- "usages": [
- {
- "type": "pconv",
- "usage": 2000
}, - {
- "type": "event",
- "usage": 2000
}, - {
- "type": "func",
- "usage": 1000
}, - {
- "type": "storage",
- "usage": 0
}, - {
- "type": "config",
- "usage": 0
}, - {
- "type": "fconv",
- "usage": 0
}
], - "usage": 5000
}
]
}vConnの利用量を取得する
vConnの利用量を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| vconnId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_vconn_id 仮想コネクションID |
query Parameters
| month | string Default: "当月" Example: month=2021-10 取得対象月 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "month": "2022-12",
- "tenantId": "dummy_tenant_id",
- "vconns": {
- "vconnId": "dummy_vconn_id",
- "usages": [
- {
- "type": "pconv",
- "usage": 5000
}, - {
- "type": "event",
- "usage": 0
}, - {
- "type": "func",
- "usage": 0
}, - {
- "type": "storage",
- "usage": 0
}, - {
- "type": "config",
- "usage": 0
}, - {
- "type": "fconv",
- "usage": 0
}
], - "usage": 5000
}
}認証の一覧情報を取得する
認証の一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| type | string Enum: "azure-iot-credentials" "x.509-credentials" "pre-shared-key-id" "azure-sap-credentials" "gcp-sa-credentials" "aws-credentials" "things-iot-credentials" "azure-function-key" "things-iot-device-registration-credentials" Example: type=aws-credentials 検索に使う認証種別 |
| name | string Example: name=sample 検索に使う名前(部分一致) |
| description | string Example: description=This is sample 検索に使う詳細情報(部分一致) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "authentications": [
- {
- "id": "dummy_authentication_id",
- "type": "aws-credentials",
- "name": "AWS Authentication",
- "description": "An example AWS Authentication setting",
- "accessKeyId": "dummy_access_key_id",
- "secretAccessKey": "dummy_secret_access_key"
}, - {
- "id": "dummy_authentication_id",
- "type": "things-iot-credentials",
- "name": "Things IoT Authentication",
- "description": "An example Things IoT Authentication setting",
- "tenantId": "dummy_tenant_id",
- "userName": "dummy_user_name",
- "password": "dummy_password"
}
]
}認証を登録する
認証を登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- X509CredentialParams
- AzureIotCredentialParams
- PresharedkeyParams
- AzureSapCredentialParams
- GcpSaCredentialParams
- AwsCredentialParams
- ThingsIotCredentialParams
- AzureFunctionKeyParams
- ThingsIotDeviceRegistrationCredentialParams
| type required | string Value: "x.509-credentials" 認証種別 |
| name | string <= 50 characters 認証名 |
| description | string <= 200 characters Default: "X.509" 詳細情報 |
| privateKey required | string [ 1 .. 5000 ] characters 秘密鍵 |
| rootCaCertificate | string [ 1 .. 5000 ] characters ルートCA |
| tlsCertificate required | string [ 1 .. 5000 ] characters TLS証明書 |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "type": "x.509-credentials",
- "name": "AWS certificate",
- "description": "For testing only",
- "privateKey": "dummy_private_key",
- "rootCaCertificate": "dummy_root_ca_certificate",
- "tlsCertificate": "dummy_tls_certificate"
}Response samples
- 201
- 400
- 401
{- "id": "dummy_id",
- "type": "x.509-credentials",
- "name": "AWS certificate",
- "description": "For testing only",
- "privateKey": "dummy_private_key",
- "rootCaCertificate": "dummy_root_ca_certificate",
- "tlsCertificate": "dummy_tls_certificate"
}認証の詳細情報を取得する
認証の詳細情報を取得する
path Parameters
| authenticationId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_authentication_id 認証ID |
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_id",
- "type": "x.509-credentials",
- "name": "AWS certificate",
- "description": "For testing only",
- "privateKey": "dummy_private_key",
- "rootCaCertificate": "dummy_root_ca_certificate",
- "tlsCertificate": "dummy_tls_certificate"
}認証を更新する
認証を更新する
path Parameters
| authenticationId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_authentication_id 認証ID |
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- X509CredentialParams
- AzureIotCredentialParams
- PresharedkeyParams
- AzureSapCredentialParams
- GcpSaCredentialParams
- AwsCredentialParams
- ThingsIotCredentialParams
- AzureFunctionKeyParams
- ThingsIotDeviceRegistrationCredentialParams
| type required | string Value: "x.509-credentials" 認証種別 |
| name | string <= 50 characters 認証名 |
| description | string <= 200 characters Default: "X.509" 詳細情報 |
| privateKey required | string [ 1 .. 5000 ] characters 秘密鍵 |
| rootCaCertificate | string [ 1 .. 5000 ] characters ルートCA |
| tlsCertificate required | string [ 1 .. 5000 ] characters TLS証明書 |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "type": "x.509-credentials",
- "name": "AWS certificate",
- "description": "For testing only",
- "privateKey": "dummy_private_key",
- "rootCaCertificate": "dummy_root_ca_certificate",
- "tlsCertificate": "dummy_tls_certificate"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_id",
- "type": "x.509-credentials",
- "name": "AWS certificate",
- "description": "For testing only",
- "privateKey": "dummy_private_key",
- "rootCaCertificate": "dummy_root_ca_certificate",
- "tlsCertificate": "dummy_tls_certificate"
}認証を削除する
認証を削除する
path Parameters
| authenticationId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_authentication_id 認証ID |
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}グループの一覧情報を取得する
グループの一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| groupId | string Example: groupId=dummy_group_id 検索に使うグループID(部分一致) |
| name | string Example: name=sample 検索に使う名前(部分一致) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "groups": [
- {
- "id": "dummy_id",
- "name": "sample",
- "sims": [
- {
- "imsi": "dummy_imsi",
- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_name",
- "ipAddresses": [
- "dummy_address_1",
- "dummy_address_2",
- "dummy_address_3"
], - "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "azureDeviceId": "dummy_azure_device_id",
- "gcpDeviceId": "dummy_gcp_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_sim"
}
], - "vconns": [
- {
- "vconnId": "dummy_vconn_id",
- "vimsi": "dummy_vimsi",
- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_name",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "gcpDeviceId": "dummy_gcp_device_id",
- "azureDeviceId": "dummy_azure_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "hardwareId": "dummy_hardware_id",
- "registeredIp": "11.22.33.44",
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_vconn"
}
]
}
]
}グループを登録する
グループを登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters グループ名 |
| sims | Array of strings (Imsi) |
| vconns | Array of strings |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "sample",
- "sims": [
- "dummy_imsi"
], - "vconns": [
- "dummy_vconn_id"
]
}Response samples
- 201
- 400
- 401
{- "id": "dummy_id",
- "name": "sample",
- "sims": [
- "dummy_imsi"
], - "vconns": [
- "dummy_vconn_id"
]
}グループの詳細情報を取得する
グループの詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_id",
- "name": "sample",
- "sims": [
- {
- "imsi": "dummy_imsi",
- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_name",
- "ipAddresses": [
- "dummy_address_1",
- "dummy_address_2",
- "dummy_address_3"
], - "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "azureDeviceId": "dummy_azure_device_id",
- "gcpDeviceId": "dummy_gcp_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_sim"
}
], - "vconns": [
- {
- "vconnId": "dummy_vconn_id",
- "vimsi": "NA",
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "NA",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "gcpDeviceId": "dummy_gcp_device_id",
- "azureDeviceId": "dummy_azure_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "NA",
- "activation": true,
- "hardwareId": "dummy_hardware_id",
- "registeredIp": null,
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_vconn"
}
]
}グループを更新する
グループを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters グループ名 |
| sims | Array of strings (Imsi) |
| vconns | Array of strings |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "sample",
- "sims": [
- "dummy_imsi"
], - "vconns": [
- "dummy_vconn_id"
]
}Response samples
- 200
- 401
- 409
{- "id": "dummy_id",
- "name": "sample",
- "sims": [
- "dummy_imsi"
], - "vconns": [
- "dummy_vconn_id"
]
}グループを削除する
グループを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}グループからSIMを削除する
グループからSIMを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| imsi required | string Example: dummy_imsi IMSI |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}グループから仮想コネクションを削除する
グループから仮想コネクションを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| vconnId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_vconn_id 仮想コネクションID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}スタンダード機能の一覧情報を取得する
スタンダード機能の一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
query Parameters
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "pconv": [
- {
- "id": "dummy_id",
- "type": "mqtt",
- "name": "Sample Standard MQTT",
- "enabled": true,
- "destination": {
- "serviceType": "standard-mqtt",
- "authenticationId": "dummy_authentication_id",
- "protocol": "mqtts",
- "host": "dummy_host",
- "port": 8883,
- "userName": null,
- "password": null,
- "passthrough": true,
- "customSubfolder": null
}, - "options": {
- "topicImsi": true,
- "topicImei": false,
- "topicMsisdn": true,
- "topicDeviceName": false,
- "topicVconnId": false
}, - "appletInfo": {
- "append": true,
- "topic": "dummy_topic"
}, - "fconvId": "dummy_fconv_id"
}, - {
- "id": "dummy_id",
- "type": "http",
- "name": "Sample AWS HTTP",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "standard-http",
- "authenticationId": "dummy_authentication_id",
- "host": "dummy_host",
- "path": "/"
}, - "headers": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": true,
- "appendDeviceName": false,
- "appendVconnId": false
}, - "fconvId": "dummy_fconv_id"
}
]
}スタンダード機能を登録する
スタンダード機能を登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- AzureIotMqttRequestParams
- StandardMqttRequestParams
- ThingsIotMqttRequestParams
- AwsIotHttpRequestParams
- AzureIotHttpRequestParams
- StandardHttpRequestParams
- ThingsIotHttpRequestParams
- StandardHttpTcpRequestParams
- AwsIotTcpRequestParams
- AzureIotTcpRequestParams
- ThingsIotTcpRequestParams
- StandardTcpRequestParams
| enabled | boolean Default: true 有効/無効 |
| name required | string [ 1 .. 50 ] characters スタンダード機能名 |
| type required | string Value: "mqtt" 変換タイプ |
| destination required | object |
| options | object |
| fconvId | string Nullable ^[0-9a-f]{24}$ フォーマット変換テンプレートID |
| appletInfo | object |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "enabled": true,
- "name": "sample",
- "type": "mqtt",
- "destination": {
- "serviceType": "azure-iot",
- "host": "dummy_host",
- "authenticationId": "dummy_authentication_id",
- "customSubfolder": "dummy_custom_subfolder"
}, - "options": {
- "topicImsi": true,
- "topicImei": false,
- "topicMsisdn": false,
- "topicDeviceName": false,
- "topicVconnId": false
}, - "fconvId": "string",
- "appletInfo": {
- "append": false,
- "topic": "some-topic"
}
}Response samples
- 201
- 400
- 401
{- "id": "dummy_id",
- "enabled": true,
- "name": "sample",
- "type": "mqtt",
- "destination": {
- "serviceType": "azure-iot",
- "host": "dummy_host",
- "authenticationId": "dummy_authentication_id",
- "customSubfolder": "dummy_custom_subfolder"
}, - "options": {
- "topicImsi": true,
- "topicImei": false,
- "topicMsisdn": false,
- "topicDeviceName": false,
- "topicVconnId": false
}, - "fconvId": "string",
- "appletInfo": {
- "append": false,
- "topic": "some-topic"
}
}スタンダード機能の詳細情報を取得する
スタンダード機能の詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| pconvId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_pconv_id スタンダード機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
{- "id": "dummy_id",
- "type": "mqtt",
- "name": "Sample AZURE MQTT",
- "enabled": true,
- "destination": {
- "serviceType": "azure-iot",
- "authenticationId": "dummy_authentication_id",
- "host": "dummy_host"
}, - "options": {
- "topicImsi": true,
- "topicImei": false,
- "topicMsisdn": true,
- "topicDeviceName": false,
- "topicVconnId": false
}, - "fconvId": "dummy_fconv_id",
- "appletInfo": {
- "append": true,
- "topic": "some-topic"
}
}スタンダード機能を更新する
スタンダード機能を更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| pconvId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_pconv_id スタンダード機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- AzureIotMqttRequestParams
- StandardMqttRequestParams
- ThingsIotMqttRequestParams
- AwsIotHttpRequestParams
- AzureIotHttpRequestParams
- StandardHttpRequestParams
- ThingsIotHttpRequestParams
- StandardHttpTcpRequestParams
- AwsIotTcpRequestParams
- AzureIotTcpRequestParams
- ThingsIotTcpRequestParams
- StandardTcpRequestParams
| enabled | boolean Default: true 有効/無効 |
| name required | string [ 1 .. 50 ] characters スタンダード機能名 |
| type required | string Value: "mqtt" 変換タイプ |
| destination required | object |
| options | object |
| fconvId | string Nullable ^[0-9a-f]{24}$ フォーマット変換テンプレートID |
| appletInfo | object |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "enabled": true,
- "name": "sample",
- "type": "mqtt",
- "destination": {
- "serviceType": "azure-iot",
- "host": "dummy_host",
- "authenticationId": "dummy_authentication_id",
- "customSubfolder": "dummy_custom_subfolder"
}, - "options": {
- "topicImsi": true,
- "topicImei": false,
- "topicMsisdn": false,
- "topicDeviceName": false,
- "topicVconnId": false
}, - "fconvId": "string",
- "appletInfo": {
- "append": false,
- "topic": "some-topic"
}
}Response samples
- 200
- 401
- 409
{- "id": "dummy_id",
- "enabled": true,
- "name": "sample",
- "type": "mqtt",
- "destination": {
- "serviceType": "azure-iot",
- "host": "dummy_host",
- "authenticationId": "dummy_authentication_id",
- "customSubfolder": "dummy_custom_subfolder"
}, - "options": {
- "topicImsi": true,
- "topicImei": false,
- "topicMsisdn": false,
- "topicDeviceName": false,
- "topicVconnId": false
}, - "fconvId": "string",
- "appletInfo": {
- "append": false,
- "topic": "some-topic"
}
}スタンダード機能を削除する
スタンダード機能を削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| pconvId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_pconv_id スタンダード機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}イベント機能の一覧情報を取得する
イベント機能の一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
query Parameters
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "event": [
- {
- "id": "dummy_id",
- "name": "Sample GCP PubSub",
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "gcp-pubsub",
- "authenticationId": "dummy_authentication_id",
- "topic": "berna-test",
- "contentType": "text"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}, - {
- "id": "dummy_id",
- "name": "Azure Event Hub Example",
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "azure-event-hubs",
- "authenticationId": "dummy_authentication_id",
- "host": "dummy_host",
- "contentType": "text"
}, - "headers": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customHeaders": [ ]
}, - "fconvId": "dummy_fconv_id"
}
]
}イベント機能を登録する
イベント機能を登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- AzureEventHubsRequestParams
- GcpPubsubRequestParams
| enabled | boolean Default: true 有効/無効 |
| name required | string [ 1 .. 50 ] characters イベント機能名 |
| entrypoint required | object |
| destination required | object |
| headers | object |
| fconvId | string Nullable ^[0-9a-f]{24}$ フォーマット変換テンプレートID |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "Sample GCP PubSub",
- "entrypoint": {
- "path": "/"
}, - "destination": {
- "serviceType": "gcp-pubsub",
- "authenticationId": "dummy_authentication_id",
- "topic": "dummy_topic",
- "contentType": "text"
}
}Response samples
- 201
- 400
- 401
{- "id": "dummy_id",
- "name": "Sample GCP PubSub",
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "gcp-pubsub",
- "authenticationId": "dummy_authentication_id",
- "topic": "dummy_topic",
- "contentType": "text"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}イベント機能の詳細情報を取得する
イベント機能の詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| eventId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_event_id イベント機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_id",
- "name": "Sample GCP PubSub",
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "gcp-pubsub",
- "authenticationId": "dummy_authentication_id",
- "topic": "dummy_topic",
- "contentType": "text"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}イベント機能を更新する
イベント機能を更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| eventId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_event_id イベント機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- AzureEventHubsRequestParams
- GcpPubsubRequestParams
| enabled | boolean Default: true 有効/無効 |
| name required | string [ 1 .. 50 ] characters イベント機能名 |
| entrypoint required | object |
| destination required | object |
| headers | object |
| fconvId | string Nullable ^[0-9a-f]{24}$ フォーマット変換テンプレートID |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "Sample GCP PubSub",
- "entrypoint": {
- "path": "/"
}, - "destination": {
- "serviceType": "gcp-pubsub",
- "authenticationId": "dummy_authentication_id",
- "topic": "dummy_topic",
- "contentType": "text"
}
}Response samples
- 200
- 400
- 401
{- "id": "dummy_id",
- "name": "Sample GCP PubSub",
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "gcp-pubsub",
- "authenticationId": "dummy_authentication_id",
- "topic": "dummy_topic",
- "contentType": "text"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}イベント機能を削除する
イベント機能を削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| eventId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_event_id イベント機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
No Content
Internal Server Error
Not Found
Internal Server Error
Response samples
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}ファンクション機能の一覧情報を取得する
ファンクション機能の一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
query Parameters
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "func": [
- {
- "id": "dummy_id",
- "name": "Sample Azure Function",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "azure-functions",
- "authenticationId": "dummy_authentication_id",
- "url": "dummy_url"
}, - "metadata": {
- "appendImsi": true,
- "aapendImei": false,
- "appendmsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}, - {
- "id": "dummy_id",
- "name": "Sample AWS Lambda",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-lambda",
- "authenticationId": "dummy_authentication_id",
- "arn": "dummy_arn"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}, - {
- "id": "dummy_id",
- "name": "Sample GCP Function",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "gcp-functions",
- "authenticationId": "dummy_authentication_id",
- "url": "dummy_url"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}
]
}ファンクション機能を登録する
ファンクション機能を登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- AzureFunctionKeyFunctionRequestParams
- AwsLambdaFunctionRequestParams
- GcpFunctionsFunctionRequestParams
| enabled | boolean Default: true 有効/無効 |
| name required | string [ 1 .. 50 ] characters ファンクション機能名 |
| entrypoint required | object |
| destination required | object |
| metadata | object |
| fconvId | string Nullable ^[0-9a-f]{24}$ フォーマット変換テンプレートID |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "Sample AWS Lambda",
- "entrypoint": {
- "path": "/"
}, - "destination": {
- "serviceType": "aws-lambda",
- "authenticationId": "dummy_authentication_id",
- "arn": "dummy_arn"
}
}Response samples
- 201
- 400
- 401
{- "id": "dummy_id",
- "name": "Sample AWS Lambda",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-lambda",
- "authenticationId": "dummy_authentication_id",
- "arn": "dummy_arn"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}ファンクション機能の詳細情報を取得する
ファンクション機能を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| funcId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_func_id ファンクション機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_id",
- "name": "Sample AWS Lambda",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-lambda",
- "authenticationId": "dummy_authentication_id",
- "arn": "dummy_arn"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}ファンクション機能を更新する
ファンクション機能を更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| funcId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_func_id ファンクション機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- AzureFunctionKeyFunctionRequestParams
- AwsLambdaFunctionRequestParams
- GcpFunctionsFunctionRequestParams
| enabled | boolean Default: true 有効/無効 |
| name required | string [ 1 .. 50 ] characters ファンクション機能名 |
| entrypoint required | object |
| destination required | object |
| metadata | object |
| fconvId | string Nullable ^[0-9a-f]{24}$ フォーマット変換テンプレートID |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "Sample AWS Lambda",
- "entrypoint": {
- "path": "/"
}, - "destination": {
- "serviceType": "aws-lambda",
- "authenticationId": "dummy_authentication_id",
- "arn": "dummy_arn"
}
}Response samples
- 200
- 400
- 401
{- "id": "dummy_id",
- "name": "Sample AWS Lambda",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-lambda",
- "authenticationId": "dummy_authentication_id",
- "arn": "dummy_arn"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [ ]
}, - "fconvId": "dummy_fconv_id"
}ファンクション機能を削除する
ファンクション機能を削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| funcId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_func_id ファンクション機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}ストレージ機能の一覧情報を取得する
ストレージ機能の一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
query Parameters
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "storage": [
- {
- "id": "dummy_id",
- "type": "http",
- "enabled": true,
- "name": "sample",
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-s3",
- "endpoint": "dummy_endpoint",
- "authenticationId": "dummy_authentication_id",
- "bucket": "dummy_bucket",
- "filePath": "dummy_file_path"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [
- {
- "enabled": false,
- "action": "add",
- "headerName": "dummy_header_name",
- "headerValue": "dummy_header_value"
}
], - "customTags": [
- {
- "enabled": false,
- "tagName": "dummy_tag_name",
- "tagValue": "dummy_tag_value"
}
]
}
}
]
}ストレージ機能を登録する
ストレージ機能を登録する
typeキーのデフォルト値はhttp
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- AwsS3HttpRequestParams
- AwsS3TcpRequestParams
| type | string Default: "http" Value: "http" 変換タイプ |
| name required | string [ 1 .. 50 ] characters ストレージ機能名 |
| enabled | boolean Default: true 有効/無効 |
| entrypoint required | object |
| destination required | object |
| metadata | object |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "type": "http",
- "name": "sample",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-s3",
- "endpoint": "dummy_endpoint",
- "authenticationId": "dummy_authentication_id",
- "bucket": "dummy_bucket",
- "filePath": "dummy_file_path"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [
- {
- "enabled": false,
- "action": "add",
- "headerName": "dummy_header_name",
- "headerValue": "dummy_header_value"
}
], - "customTags": [
- {
- "enabled": false,
- "tagName": "dummy_tag_name",
- "tagValue": "dummy_tag_value"
}
]
}
}Response samples
- 201
- 400
- 401
{- "id": "dummy_id",
- "type": "http",
- "name": "dummy_name",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-s3",
- "endpoint": "dummy_endpoint",
- "authenticationId": "dummy_authentication_id",
- "bucket": "dummy_bucket",
- "filePath": "dummy_file_path"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [
- {
- "enabled": true,
- "action": "add",
- "headerName": "dummy_header_name",
- "headerValue": "dummy_header_value"
}
], - "customTags": [
- {
- "enabled": true,
- "tagName": "dummy_tag_name",
- "tagValue": "dummy_tag_value"
}
]
}
}ストレージ機能の詳細情報を取得する
ストレージ機能の詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| storageId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_storage_id ストレージ機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_id",
- "type": "http",
- "name": "dummy_name",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-s3",
- "endpoint": "dummy_endpoint",
- "authenticationId": "dummy_authentication_id",
- "bucket": "dummy_bucket",
- "filePath": "dummy_file_path"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [
- {
- "enabled": true,
- "action": "add",
- "headerName": "dummy_header_name",
- "headerValue": "dummy_header_value"
}
], - "customTags": [
- {
- "enabled": true,
- "tagName": "dummy_tag_name",
- "tagValue": "dummy_tag_value"
}
]
}
}ストレージ機能を更新する
ストレージ機能を更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| storageId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_storage_id ストレージ機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- AwsS3HttpRequestParams
- AwsS3TcpRequestParams
| type | string Default: "http" Value: "http" 変換タイプ |
| name required | string [ 1 .. 50 ] characters ストレージ機能名 |
| enabled | boolean Default: true 有効/無効 |
| entrypoint required | object |
| destination required | object |
| metadata | object |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "type": "http",
- "name": "sample",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-s3",
- "endpoint": "dummy_endpoint",
- "authenticationId": "dummy_authentication_id",
- "bucket": "dummy_bucket",
- "filePath": "dummy_file_path"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [
- {
- "enabled": false,
- "action": "add",
- "headerName": "dummy_header_name",
- "headerValue": "dummy_header_value"
}
], - "customTags": [
- {
- "enabled": false,
- "tagName": "dummy_tag_name",
- "tagValue": "dummy_tag_value"
}
]
}
}Response samples
- 200
- 401
- 409
{- "id": "dummy_id",
- "type": "http",
- "name": "dummy_name",
- "enabled": true,
- "entrypoint": {
- "path": "/",
- "priority": 100
}, - "destination": {
- "serviceType": "aws-s3",
- "endpoint": "dummy_endpoint",
- "authenticationId": "dummy_authentication_id",
- "bucket": "dummy_bucket",
- "filePath": "dummy_file_path"
}, - "metadata": {
- "appendImsi": true,
- "appendImei": false,
- "appendMsisdn": false,
- "appendDeviceName": false,
- "appendVconnId": false,
- "customMetadata": [
- {
- "enabled": true,
- "action": "add",
- "headerName": "dummy_header_name",
- "headerValue": "dummy_header_value"
}
], - "customTags": [
- {
- "enabled": true,
- "tagName": "dummy_tag_name",
- "tagValue": "dummy_tag_value"
}
]
}
}ストレージ機能を削除する
ストレージ機能を削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| groupId required | string ^[0-9a-f]{24}$ Example: dummy_group_id グループID |
| storageId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_storage_id ストレージ機能ID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}テンプレートの一覧情報を取得する
テンプレートの一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| name | string Example: name=sample 検索に使う名前(部分一致) |
| labels | string Example: labels=label1,label2 検索に使うラベル(部分一致, カンマ区切りで複数指定可能) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "templates": [
- {
- "id": "dummy_template_id",
- "name": "dummy_template",
- "labels": [
- "label1",
- "label2"
], - "description": "dummy_template",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}
]
}テンプレートを登録する
テンプレートを登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters テンプレート名 |
| labels | Array of strings [ 1 .. 10 ] items Nullable ラベル(コンマは含められない) |
| description | string <= 200 characters 説明 |
| content required | string <Jinja2-string> [ 1 .. 10485760 ] characters コンテンツ |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "dummy_template",
- "labels": [
- "label1",
- "label2"
], - "description": "dummy_template",
- "content": "dummy_content"
}Response samples
- 201
- 400
- 401
{- "id": "dummy_template_id",
- "name": "dummy_template",
- "labels": [
- "label1",
- "label2"
], - "description": "dummy_template",
- "content": "dummy_content",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}テンプレートの詳細情報を取得する
テンプレートの詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| templateId required | string ^[0-9a-f]{24}$ Example: dummy_template_id テンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_template_id",
- "name": "dummy_template",
- "labels": [
- "label1",
- "label2"
], - "description": "dummy_template",
- "content": "dummy_content",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}テンプレートを更新する
テンプレートを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| templateId required | string ^[0-9a-f]{24}$ Example: dummy_template_id テンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters テンプレート名 |
| labels | Array of strings [ 1 .. 10 ] items Nullable ラベル(コンマは含められない) |
| description | string <= 200 characters 説明 |
| content required | string <Jinja2-string> [ 1 .. 10485760 ] characters コンテンツ |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "dummy_template",
- "labels": [
- "label1",
- "label2"
], - "description": "dummy_template",
- "content": "dummy_content"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_template_id",
- "name": "dummy_template",
- "labels": [
- "label1",
- "label2"
], - "description": "dummy_template",
- "content": "dummy_content",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}テンプレートを削除する
テンプレートを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| templateId required | string ^[0-9a-f]{24}$ Example: dummy_template_id テンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successfule operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}共通パラメーターの一覧情報を取得する
共通パラメーターの一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| name | string Example: name=sample 検索に使う名前(部分一致) |
| labels | string Example: labels=label1,label2 検索に使うラベル(部分一致, カンマ区切りで複数指定可能) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "parameters": [
- {
- "id": "dummy_global_parameter_id",
- "name": "dummy_global_parameter",
- "labels": [
- "dummy_label"
], - "description": "dummy_global_parameter",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}
]
}共通パラメーターを登録する
共通パラメーターを登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters 共通パラメーター名 |
| labels | Array of strings [ 1 .. 10 ] items Nullable ラベル(コンマは含められない) |
| description | string <= 200 characters 説明 |
| content required | string <json-string> [ 1 .. 10485760 ] characters コンテンツ |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "dummy_global_parameter",
- "labels": [
- "dummy_label"
], - "description": "dummy_global_parameter",
- "content": "dummy_content"
}Response samples
- 201
- 400
- 401
{- "id": "dummy_global_parameter_id",
- "name": "dummy_global_parameter",
- "labels": [
- "dummy_label"
], - "description": "dummy_global_parameter",
- "content": "dummy_content",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}共通パラメーターの詳細情報を取得する
共通パラメーターの詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| parameterId required | string ^[0-9a-f]{24}$ Example: dummy_global_parameter_id 共通パラメータID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_global_parameter_id",
- "name": "dummy_global_parameter",
- "labels": [
- "dummy_label"
], - "description": "dummy_global_parameter",
- "content": "dummy_content",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}共通パラメーターを更新する
共通パラメーターを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| parameterId required | string ^[0-9a-f]{24}$ Example: dummy_global_parameter_id 共通パラメータID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters 共通パラメーター名 |
| labels | Array of strings [ 1 .. 10 ] items Nullable ラベル(コンマは含められない) |
| description | string <= 200 characters 説明 |
| content required | string <json-string> [ 1 .. 10485760 ] characters コンテンツ |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "dummy_global_parameter",
- "labels": [
- "dummy_label"
], - "description": "dummy_global_parameter",
- "content": "dummy_content"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_global_parameter_id",
- "name": "dummy_global_parameter",
- "labels": [
- "dummy_label"
], - "description": "dummy_global_parameter",
- "content": "dummy_content",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}共通パラメーターを削除する
共通パラメーターを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| parameterId required | string ^[0-9a-f]{24}$ Example: dummy_global_parameter_id 共通パラメータID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}デバイスグループの一覧情報を取得する
デバイスグループの一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| name | string Example: name=sample 検索に使う名前(部分一致) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
| sims | string 検索に使うsims(部分一致, カンマ区切りで複数指定可能) |
| labels | string Example: labels=label1,label2 検索に使うラベル(部分一致, カンマ区切りで複数指定可能) |
| vconns | string 検索に使うvconnID(部分一致, カンマ区切りで複数指定可能) |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "deviceGroups": [
- {
- "id": "61adb1109e44c70047fddecd",
- "name": "dummy device group",
- "sims": [
- "12345678",
- "23456789"
], - "vconns": [
- "dummy_vconn_id1",
- "dummy_vconn_id2"
], - "labels": [
- "dummy_label"
], - "description": "dummy_description",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}
]
}デバイスグループを登録する
デバイスグループを登録する
- 少なくともSIMまたは仮想コネクションを指定する必要がある
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters デバイスグループ名 |
| sims | Array of strings SIM |
| labels | Array of strings [ 1 .. 10 ] items Nullable ラベル(コンマは含められない) |
| vconns | Array of strings 仮想コネクションID |
| description | string <= 200 characters 説明 |
| content | string <json-string> [ 1 .. 10485740 ] characters Nullable コンテンツ |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "dummy device group",
- "sims": [
- "12345678",
- "23456789"
], - "vconns": [
- "dummy_vconn_id1",
- "dummy_vconn_id2"
], - "labels": [
- "dummy_label"
], - "description": "dummy_description",
- "content": "{ \"Default\": { \"hostname\": \"default.device\" }, \"IMSI_7123456789\": { \"hostname\": \"device.7123456789.com\" }, \"IMSI_7123456788\": { \"hostname\": \"device.7123456788.com\" }}"
}Response samples
- 201
- 400
- 401
{- "id": "61adb1109e44c70047fddecd",
- "name": "dummy device group",
- "sims": [
- "12345678",
- "23456789"
], - "vconns": [
- "dummy_vconn_id1",
- "dummy_vconn_id2"
], - "labels": [
- "dummy_label"
], - "description": "dummy_description",
- "content": "{ \"Default\": { \"hostname\": \"default.device\" }, \"IMSI_7123456789\": { \"hostname\": \"device.7123456789.com\" }, \"IMSI_7123456788\": { \"hostname\": \"device.7123456788.com\" }}",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}デバイスグループの詳細情報を取得する
デバイスグループの詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| deviceGroupId required | string ^[0-9a-f]{24}$ Example: dummy_device_group_id デバイスグループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "61adb1109e44c70047fddecd",
- "name": "dummy device group",
- "sims": [
- "12345678",
- "23456789"
], - "vconns": [
- "dummy_vconn_id1",
- "dummy_vconn_id2"
], - "labels": [
- "dummy_label"
], - "description": "dummy_description",
- "content": "{ \"Default\": { \"hostname\": \"default.device\" }, \"IMSI_7123456789\": { \"hostname\": \"device.7123456789.com\" }, \"IMSI_7123456788\": { \"hostname\": \"device.7123456788.com\" }}",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}デバイスグループを更新する
デバイスグループを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| deviceGroupId required | string ^[0-9a-f]{24}$ Example: dummy_device_group_id デバイスグループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters デバイスグループ名 |
| sims | Array of strings SIM |
| labels | Array of strings [ 1 .. 10 ] items Nullable ラベル(コンマは含められない) |
| vconns | Array of strings 仮想コネクションID |
| description | string <= 200 characters 説明 |
| content | string <json-string> [ 1 .. 10485740 ] characters Nullable コンテンツ |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "dummy device group",
- "sims": [
- "12345678",
- "23456789"
], - "vconns": [
- "dummy_vconn_id1",
- "dummy_vconn_id2"
], - "labels": [
- "dummy_label"
], - "description": "dummy_description",
- "content": "{ \"Default\": { \"hostname\": \"default.device\" }, \"IMSI_7123456789\": { \"hostname\": \"device.7123456789.com\" }, \"IMSI_7123456788\": { \"hostname\": \"device.7123456788.com\" }}"
}Response samples
- 200
- 401
- 409
{- "id": "61adb1109e44c70047fddecd",
- "name": "dummy device group",
- "sims": [
- "12345678",
- "23456789"
], - "vconns": [
- "dummy_vconn_id1",
- "dummy_vconn_id2"
], - "labels": [
- "dummy_label"
], - "description": "dummy_description",
- "content": "{ \"Default\": { \"hostname\": \"default.device\" }, \"IMSI_7123456789\": { \"hostname\": \"device.7123456789.com\" }, \"IMSI_7123456788\": { \"hostname\": \"device.7123456788.com\" }}",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}デバイスグループを削除する
デバイスグループを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| deviceGroupId required | string ^[0-9a-f]{24}$ Example: dummy_device_group_id デバイスグループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}プロファイルの一覧情報を取得する
プロファイルの一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| name | string Example: name=sample 検索に使う名前(部分一致) |
| generated | boolean 作成済みフラグ |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "configProfiles": [
- {
- "id": "dummy_config_profile_id",
- "name": "dummy_config_profile",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "generated": true,
- "description": "dummy_config_profile",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}
]
}プロファイルを登録する
プロファイルを登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters プロファイル名 |
| template required | string 24 characters テンプレートID |
| globalParameter | string 24 characters Nullable 共通パラメーターID |
| deviceGroup required | string 24 characters デバイスグループID |
| description | string <= 200 characters 説明 |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "dummy_config_profile",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "description": "dummy_config_profile"
}Response samples
- 201
- 400
- 401
{- "id": "dummy_config_profile_id",
- "name": "dummy_config_profile",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "generated": true,
- "description": "dummy_config_profile",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}プロファイルの詳細情報を取得する
プロファイルの詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_config_profile_id",
- "name": "dummy_config_profile",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "generated": true,
- "description": "dummy_config_profile",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}プロファイル情報を更新する
プロファイルを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters プロファイル名 |
| template required | string 24 characters テンプレートID |
| globalParameter | string 24 characters Nullable 共通パラメーターID |
| deviceGroup required | string 24 characters デバイスグループID |
| description | string <= 200 characters 説明 |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "dummy_config_profile",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "description": "dummy_config_profile"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_config_profile_id",
- "name": "dummy_config_profile",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "generated": true,
- "description": "dummy_config_profile",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}プロファイルを削除する
プロファイルを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}プロファイルをチェックする
プロファイルをチェックする
path Parameters
| tenantId required | string |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| template required | string 24 characters テンプレート |
| globalParameter | string 24 characters 共通パラメーター |
| deviceGroup required | string 24 characters デバイスグループ |
| imsi | string [ 1 .. 15 ] characters ^[0-9]*$ imsi |
| vconnId | string 36 characters 仮想コネクションID |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "imsi": "12345678"
}Response samples
- 200
- 400
- 401
{- "success": true,
- "content": "sample"
}プロファイルを生成する
プロファイルを生成する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Response samples
- 400
- 401
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}プロファイルセットを作成する
プロファイルセットを作成する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name | string [ 1 .. 50 ] characters プロファイルセット名 |
| description | string <= 200 characters 説明 |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "dummy_profile_set",
- "description": "dummy"
}Response samples
- 201
- 400
- 401
{- "id": "dummy_config_profile_id",
- "histories": [
- {
- "info": {
- "name": "dummy_profile_set",
- "description": "dummy"
}, - "versionId": "dummy_version_id",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "description": "dummy",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}
]
}プロファイルセットの一覧情報を取得する
プロファイルセットの一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_config_profile_id",
- "histories": [
- {
- "info": {
- "name": "dummy_profile_set",
- "description": "dummy"
}, - "versionId": "dummy_version_id",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "description": "dummy",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}
]
}プロファイルセットを更新する
プロファイルセットを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
| versionId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_version_id バージョンID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name | string [ 1 .. 50 ] characters プロファイルセット名 |
| description | string <= 200 characters 説明 |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "dummy_profile_set",
- "description": "dummy"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_config_profile_id",
- "histories": [
- {
- "info": {
- "name": "dummy_profile_set",
- "description": "dummy"
}, - "versionId": "dummy_version_id",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "description": "dummy",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}
]
}プロファイルセットを削除する
プロファイルセットを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
| versionId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_version_id バージョンID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}プロファイルをロールバックする
プロファイルをロールバックする
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configProfileId required | string ^[0-9a-f]{24}$ Example: dummy_config_profile_id プロファイルID |
| versionId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_version_id バージョンID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Response samples
- 200
- 400
- 401
{- "id": "dummy_config_profile_id",
- "name": "dummy_config_profile",
- "template": "dummy_template",
- "globalParameter": "dummy_global_parameter",
- "deviceGroup": "dummy_device_group",
- "generated": true,
- "description": "dummy_config_profile",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}ポリシーの一覧情報を取得する
ポリシーの一覧情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
| name | string Example: name=sample 検索に使う名前(部分一致) |
| protocol | string Value: "http" Example: protocol=http 検索に使うプロトコル |
| entrypoint | string Example: entrypoint=/ 検索に使うエントリーポイント(部分一致) |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "configPolicies": [
- {
- "id": "dummy_config_id",
- "name": "Dummy Config Policy",
- "entrypoint": "/",
- "enabled": true,
- "protocol": "http",
- "configProfile": "dummy_config_policy",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}
]
}ポリシーを登録する
ポリシーを登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters ポリシー名 |
| entrypoint required | string [ 1 .. 200 ] characters ^\/\S*$ エントリーポイント
|
| enabled | boolean Default: true 有効/無効 |
| protocol required | string Value: "http" プロトコル |
| configProfile required | string 24 characters プロファイル |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "Dummy Config Policy",
- "entrypoint": "/",
- "enabled": true,
- "protocol": "http",
- "configProfile": "dummy_config_policy"
}Response samples
- 201
- 400
- 401
{- "id": "dummy_config_id",
- "name": "Dummy Config Policy",
- "entrypoint": "/",
- "enabled": true,
- "protocol": "http",
- "configProfile": "dummy_config_policy",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}ポリシーの詳細情報を取得する
ポリシーの詳細情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configPolicyId required | string ^[0-9a-f]{24}$ Example: dummy_config_policy_id ポリシーID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_config_id",
- "name": "Dummy Config Policy",
- "entrypoint": "/",
- "enabled": true,
- "protocol": "http",
- "configProfile": "dummy_config_policy",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}ポリシーを更新する
ポリシーを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configPolicyId required | string ^[0-9a-f]{24}$ Example: dummy_config_policy_id ポリシーID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters ポリシー名 |
| entrypoint required | string [ 1 .. 200 ] characters ^\/\S*$ エントリーポイント
|
| enabled | boolean Default: true 有効/無効 |
| protocol required | string Value: "http" プロトコル |
| configProfile required | string 24 characters プロファイル |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "Dummy Config Policy",
- "entrypoint": "/",
- "enabled": true,
- "protocol": "http",
- "configProfile": "dummy_config_policy"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_config_id",
- "name": "Dummy Config Policy",
- "entrypoint": "/",
- "enabled": true,
- "protocol": "http",
- "configProfile": "dummy_config_policy",
- "createdAt": "2021-12-06T06:43:28.400+00:00",
- "updatedAt": "2021-12-06T06:43:28.400+00:00"
}ポリシーを削除する
ポリシーを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| configPolicyId required | string ^[0-9a-f]{24}$ Example: dummy_config_policy_id ポリシーID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}リモートアクセス設定の一覧を取得する
リモートアクセス設定の一覧を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| imsi | string Example: imsi=dummy_imsi 検索に使うIMSI(部分一致) |
| imei | string Example: imei=NA 検索に使うIMEI(部分一致) |
| deviceName | string Example: deviceName=dummy_device_name 検索に使うデバイス名(部分一致) |
| hsn | string Example: hsn=dummy_hsn 検索に使うHSN(部分一致) |
| msisdn | string Example: msisdn=NA 検索に使うMSISDN(部分一致) |
| endpointHost | string Example: endpointHost=dummy_endpoint_host 検索に使うエンドポイントホスト(部分一致) |
| endpointPort | number Example: endpointPort=1234 検索に使うエンドポイントポート(完全一致) |
| devicePort | number Example: devicePort=1234 検索に使うデバイスポート(完全一致) |
| portStatus | boolean Example: portStatus=false 検索に使うポートステータス(完全一致) |
| sourcePrefix | string Example: sourcePrefix=1.2.3.4/32 検索に使うソースプリフィックス(部分一致) |
| isTls | boolean Example: isTls=false TLS終端機能有効/無効 |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "accesses": [
- {
- "id": "dummy_id",
- "imsi": "dummy_imsi",
- "sourcePrefixes": [
- "1.2.3.4/32"
], - "endpointHost": "dummy_endpoint_host",
- "endpointPort": 1234,
- "devicePort": 1235,
- "startTime": "2022-06-15T00:00:00.000Z",
- "endTime": "2022-06-15T00:00:00.000Z",
- "infinityMode": false,
- "isTls": false,
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "NA",
- "hsn": "dummy_hsn",
- "activeIp": [
- "1.2.3.4"
], - "portStatus": true
}
]
}リモートアクセス設定を登録する
リモートアクセス設定を登録する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- RemoteAccessPostRequestParams
- RemoteAccessPostRequestParamsInfinityMode
| imsi required | string [ 1 .. 15 ] characters ^[0-9]+$ IMSI
|
| sourcePrefixes required | Array of strings <ipv4 with subnet> [ 1 .. 5 ] items アクセス元Prefix
|
| devicePort required | number [ 1 .. 65535 ] 接続先デバイスポート |
| endTime required | string <yyyy-MM-ddTHH:mm:ss.fffZ> 終了時刻
|
| infinityMode | boolean Default: false Value: false infinity Mode(要別途申請) |
| isTls | boolean Default: false TLS終端機能有効/無効 |
Responses
successful operation
Bad Request
Unauthorized
Example response
Internal Server Error
Request samples
- Payload
{- "imsi": "44010123456789",
- "devicePort": 1235,
- "sourcePrefixes": [
- "1.2.3.4/32"
], - "endTime": "2022-06-15T16:37:00.400Z",
- "infinityMode": false,
- "isTls": false
}Response samples
- 201
- 400
- 401
- 403
{- "id": "dummy_id",
- "imsi": "dummy_imsi",
- "sourcePrefixes": [
- "1.2.3.4/32"
], - "endpointHost": "dummy_endpoint_host",
- "endpointPort": 1234,
- "devicePort": 1235,
- "startTime": "2022-06-15T00:00:00.000Z",
- "endTime": "2022-06-15T00:00:00.000Z",
- "infinityMode": false,
- "isTls": false,
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "NA",
- "hsn": "dummy_hsn",
- "activeIp": [
- "1.2.3.4"
], - "portStatus": true
}リモートアクセスの設定を取得する
リモートアクセスの設定を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| accessId required | string ^[0-9a-f]{24}$ Example: dummy_remote_access_id リモートアクセスID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_id",
- "imsi": "dummy_imsi",
- "sourcePrefixes": [
- "1.2.3.4/32"
], - "endpointHost": "dummy_endpoint_host",
- "endpointPort": 1234,
- "devicePort": 1235,
- "startTime": "2022-06-15T00:00:00.000Z",
- "endTime": "2022-06-15T00:00:00.000Z",
- "infinityMode": false,
- "isTls": false,
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "NA",
- "hsn": "dummy_hsn",
- "activeIp": [
- "1.2.3.4"
], - "portStatus": true
}リモートアクセスの設定を更新する
リモートアクセスの設定を更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| accessId required | string ^[0-9a-f]{24}$ Example: dummy_remote_access_id リモートアクセスID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
- RemoteAccessPutParams
- RemoteAccessPutParamsInfinityMode
| devicePort required | integer [ 1 .. 65535 ] 接続先デバイスポート |
| sourcePrefixes required | Array of strings <ipv4 with subnet> [ 1 .. 5 ] items アクセス元Prefix
|
| endTime required | string <yyyy-MM-ddTHH:mm:ss.fffZ> 終了時刻 |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "devicePort": 1234,
- "sourcePrefixes": [
- "1.2.3.4/32"
], - "endTime": "2022-06-15T00:00:00.000Z"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_id",
- "imsi": "dummy_imsi",
- "sourcePrefixes": [
- "1.2.3.4/32"
], - "endpointHost": "dummy_endpoint_host",
- "endpointPort": 1234,
- "devicePort": 1235,
- "startTime": "2022-06-15T00:00:00.000Z",
- "endTime": "2022-06-15T00:00:00.000Z",
- "infinityMode": false,
- "isTls": false,
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "NA",
- "hsn": "dummy_hsn",
- "activeIp": [
- "1.2.3.4"
], - "portStatus": true
}リモートアクセスを停止する
リモートアクセスを停止する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| accessId required | string ^[0-9a-f]{24}$ Example: dummy_remote_access_id リモートアクセスID |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}リモートアクセス設定の履歴を取得する
リモートアクセスの設定の履歴を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| imsi | string Example: imsi=dummy_imsi 検索に使うIMSI(部分一致) |
| imei | string Example: imei=NA 検索に使うIMEI(部分一致) |
| deviceName | string Example: deviceName=dummy_device_name 検索に使うデバイス名(部分一致) |
| hsn | string Example: hsn=dummy_hsn 検索に使うHSN(部分一致) |
| msisdn | string Example: msisdn=NA 検索に使うMSISDN(部分一致) |
| sourcePrefix | string Example: sourcePrefix=1.2.3.4/32 検索に使うソースプリフィックス(部分一致) |
| devicePort | number Example: devicePort=1234 検索に使うデバイスポート(完全一致) |
| isTls | boolean Example: isTls=false TLS終端機能有効/無効 |
| from | string Example: from=YYYY-MM-DD hh:mm:ss 取得期間の開始日時 |
| to | string Example: to=YYYY-MM-DD hh:mm:ss 取得期間の終了日時 |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "histories": [
- {
- "imsi": "dummy_imsi",
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "NA",
- "hsn": "dummy_hsn",
- "sourcePrefixes": [
- "1.2.3.4/32"
], - "endpointHost": "dummy_endpoint_host",
- "endpointPort": 1234,
- "devicePort": 1235,
- "startTime": "2022-06-15T00:00:00.000Z",
- "endTime": "2022-06-15T00:00:00.000Z",
- "isTls": false
}
]
}グローバルIPを取得する
グローバルIPを取得する
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Response samples
- 200
- 400
- 401
{- "globalIp": "1.1.1.1"
}テナントに登録されたモードを取得する
テナントに登録されたモードを取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Internal Server Error
Response samples
- 200
{- "infinityMode": true,
- "fixedRemoteMode": true
}フォーマット変換テンプレート一覧を取得する
フォーマット変換テンプレート一覧を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| name | string 検索に使う名前(部分一致) |
| groupId | string 検索に使うグループID |
| convertType | string Enum: "csv" "json" 検索に使う変換種別 |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
| policyId | string 検索に使うポリシーID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 10,
- "page": 3,
- "pageSize": 10,
- "fconv": [
- {
- "id": "dummy_fconv_id",
- "name": "Sample Format Conversion Template",
- "description": "Sample Format Conversion",
- "convertType": "csv",
- "policies": [
- {
- "policyId": "dummy_policy_id",
- "groupId": "dummy_group_id"
}
]
}
]
}フォーマット変換テンプレートを作成する
フォーマット変換テンプレートを作成する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters フォーマット変換テンプレート名 |
| description | string [ 0 .. 200 ] characters 説明 |
| convertType required | string Enum: "csv" "json" 転送先のクラウド種別 |
| policies | Array of objects |
| template required | string [ 1 .. 1000000 ] characters フォーマット変換テンプレート |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "Sample Format Conversion Template",
- "description": "Sample Format Conversion",
- "convertType": "csv",
- "policies": [
- {
- "policyId": "dummy_policy_id",
- "groupId": "dummy_group_id"
}
], - "template": "dummy_template"
}Response samples
- 201
{- "id": "dummy_fconv_id",
- "name": "Sample Format Conversion Template",
- "description": "Sample Format Conversion",
- "convertType": "csv",
- "policies": [
- {
- "name": "sample pconv name",
- "groupName": "sample group name",
- "policyId": "dummy_policy_id",
- "groupId": "dummy_group_id",
- "serviceCategory": "pconv"
}
], - "template": "dummy_template"
}フォーマット変換テンプレートを取得する
フォーマット変換テンプレートを取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| fconvId required | string ^[0-9a-f]{24}$ Example: dummy_fconv_id フォーマット変換テンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 404
{- "id": "dummy_fconv_id",
- "name": "Sample Format Conversion Template",
- "description": "Sample Format Conversion",
- "convertType": "csv",
- "policies": [
- {
- "name": "sample pconv name",
- "groupName": "sample group name",
- "policyId": "dummy_policy_id",
- "groupId": "dummy_group_id",
- "serviceCategory": "pconv"
}
], - "template": "dummy_template"
}フォーマット変換テンプレートを更新する
フォーマット変換テンプレートを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| fconvId required | string ^[0-9a-f]{24}$ Example: dummy_fconv_id フォーマット変換テンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters フォーマット変換テンプレート名 |
| description | string [ 0 .. 200 ] characters 説明 |
| convertType required | string Enum: "csv" "json" 転送先のクラウド種別 |
| policies | Array of objects |
| template required | string [ 1 .. 1000000 ] characters フォーマット変換テンプレート |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "Sample Format Conversion Template",
- "description": "Sample Format Conversion",
- "convertType": "csv",
- "policies": [
- {
- "policyId": "dummy_policy_id",
- "groupId": "dummy_group_id"
}
], - "template": "dummy_template"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_fconv_id",
- "name": "Sample Format Conversion Template",
- "description": "Sample Format Conversion",
- "convertType": "csv",
- "policies": [
- {
- "name": "sample pconv name",
- "groupName": "sample group name",
- "policyId": "dummy_policy_id",
- "groupId": "dummy_group_id",
- "serviceCategory": "pconv"
}
], - "template": "dummy_template"
}フォーマット変換テンプレートを削除する
フォーマット変換テンプレートを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| fconvId required | string ^[0-9a-f]{24}$ Example: dummy_fconv_id フォーマット変換テンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
No Content
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}変換結果の統計を取得する
変換結果の統計を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| fconvId required | string ^[0-9a-f]{24}$ Example: dummy_fconv_id フォーマット変換テンプレートID |
query Parameters
| from required | string Example: from=2022-11-01 取得期間の開始日 |
| to required | string Example: to=2022-12-01 取得期間の終了日 |
| cloudType | string Enum: "gcp" "aws" "azure" "things" "standard-http" "standard-mqtt/aws" "standard-tcp" 検索に使うクラウド種別 |
| type | string Enum: "pconv" "event" "func" 検索に使うポリシー種別 |
| protocol | string Enum: "mqtt" "http" "tcp" 検索に使うプロトコル種別 |
| groupId | string 検索に使うグループID |
| successCountFrom | number 成功数の下限 |
| successCountTo | number 成功数の上限 |
| failCountFrom | number 失敗数の下限 |
| failCountTo | number 失敗数の上限 |
| policyId | string 検索に使うポリシーID |
| imsi | string 検索に使うIMSI |
| vconnId | string Example: vconnId=dummy_vconn_id 検索に使う仮想コネクションID(部分一致) |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "from": "2022-11-01",
- "to": "2022-12-01",
- "tenantId": "dummy_tenant_id",
- "usages": [
- {
- "groups": [
- {
- "groupId": "dummy_group_id",
- "policyId": "dummy_policy_id",
- "imsi": [
- 123456789012345
], - "vconnId": [
- "dummy_vconn_id"
], - "type": "pconv",
- "cloudType": "standard-http",
- "protocol": "http",
- "usage": {
- "failCount": 20,
- "successCount": 30
}
}
]
}
]
}フォーマット変換をテストする
フォーマット変換をテストする
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| template required | string [ 1 .. 1000000 ] characters バイナリーパーサーテンプレート内容 |
| data required | string non-empty データ文字列 |
| convertType required | string Enum: "json" "csv" データの種類. jsonかcsv. |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "template": "{ \"基本情報\": { \"名前\": \"{{ csv_data[1] }}\", \"年齢\": \"{{ csv_data[2] }}\", \"ジャンル\": \"テスト\" }, \"チーム\": \"{{ csv_data[0] }}\", \"number\": {{ csv_data[3] }} }",
- "data": "1,2,3,4,5",
- "convertType": "csv"
}Response samples
- 200
{- "result": {
- "基本情報": {
- "名前": "2",
- "年齢": "3",
- "ジャンル": "テスト"
}, - "チーム": "1",
- "number": 4
}
}バイナリパーサーのテンプレート一覧を取得する
バイナリパーサーのテンプレート一覧を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| name | string 検索に使う名前(部分一致) |
| groupId | string 検索に使うグループID |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
| policyId | string 検索に使うポリシーID |
| predefined | boolean Example: predefined=false 検索に使う定義ステータス |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 10,
- "page": 3,
- "pageSize": 10,
- "bconv": [
- {
- "id": "dummy_bconv_id",
- "name": "Sample Binary Parser Template",
- "description": "Sample Binary Parser",
- "predefined": false,
- "policies": [
- {
- "name": "policy name",
- "groupName": "group name",
- "policyId": "dummy_policy_id",
- "groupId": "dummy_group_id",
- "serviceCategory": "pconv"
}
]
}
]
}バイナリパーサーのテンプレートを作成する
バイナリパーサーのテンプレートを作成する
テンプレート条件
- 少なくとも以下の形式に従う必要がある:
[KEY_NAME]:[INDEX]:[TYPE] [KEY_NAME]に : や空白を含めることはできない[INDEX]は >= 0 でなければならない[TYPE]はbool、char、int、uintまたはfloatに応じて異なる- bool
- 以下の形式に従う:
[KEY_NAME]:[INDEX]:bool:[BIT_OFFSET] [BIT_OFFSET]はオプションで、指定する場合は0~7でなければならない (デフォルトは7)
- 以下の形式に従う:
- char
- 以下の形式に従う:
[KEY_NAME]:[INDEX]:char:[BYTE_LENGTH] [BYTE_LENGTH]は必須で、1~64でなければならない
- 以下の形式に従う:
- int/uint
- 以下の形式に従う:
[KEY_NAME]:[INDEX]:int:[BIT_LENGTH]:[ENDIANNESS]:[BIT_OFFSET] - intの時は
[BIT_LENGTH]∈ [2,32], uintの時は[BIT_LENGTH]∈ [1,32] [ENDIANNESS]はオプションで、指定する場合はbeまたはleでなければならない(デフォルトはbe)[ENDIANNESS]がleの場合、[BIT_LENGTH]は 8|16|24|32 でなければならない[BIT_OFFSET]はオプションで、指定する場合は0~7でなければならない (デフォルトは7)
- 以下の形式に従う:
- float
- 以下の形式に従う:
[KEY_NAME]:[INDEX]:float:[BIT_LENGTH]:[ENDIANNESS]:[BIT_OFFSET] [BIT_LENGTH]は 32|64 でなければならない[ENDIANNESS]はオプションで、指定する場合はbeまたはleでなければならない(デフォルトはbe)[BIT_OFFSET]はオプションで、指定する場合は0~7でなければならない (デフォルトは7)
- 以下の形式に従う:
- bool
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters バイナリーパーサーテンプレート名 |
| description | string <= 200 characters 説明 |
| parserTemplate required | string [ 1 .. 1000000 ] characters バイナリーパーサーテンプレート |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "parserTemplate": "string"
}Response samples
- 201
{- "id": "string",
- "name": "string",
- "description": "string",
- "predefined": true,
- "parserTemplate": "string"
}バイナリパーサーのテンプレートを取得する
バイナリパーサーのテンプレートを取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| bconvId required | string バイナリーパーサーテンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 404
{- "id": "string",
- "name": "string",
- "description": "string",
- "predefined": true,
- "parserTemplate": "string",
- "policies": [
- {
- "name": "string",
- "groupName": "string",
- "groupId": "string",
- "policyId": "stringstringstringstringstringstring",
- "serviceCategory": "pconv"
}
]
}バイナリパーサーのテンプレートを更新する
バイナリパーサーのテンプレートを更新する
テンプレート条件
- 少なくとも以下の形式に従う必要がある:
[KEY_NAME]:[INDEX]:[TYPE] [KEY_NAME]に : や空白を含めることはできない[INDEX]は >= 0 でなければならない[TYPE]はbool、char、int、uintまたはfloatに応じて異なる- bool
- 以下の形式に従う:
[KEY_NAME]:[INDEX]:bool:[BIT_OFFSET] [BIT_OFFSET]はオプションで、指定する場合は0~7でなければならない (デフォルトは7)
- 以下の形式に従う:
- char
- 以下の形式に従う:
[KEY_NAME]:[INDEX]:char:[BYTE_LENGTH] [BYTE_LENGTH]は必須で、1~64でなければならない
- 以下の形式に従う:
- int/uint
- 以下の形式に従う:
[KEY_NAME]:[INDEX]:int:[BIT_LENGTH]:[ENDIANNESS]:[BIT_OFFSET] - intの時は
[BIT_LENGTH]∈ [2,32], uintの時は[BIT_LENGTH]∈ [1,32] [ENDIANNESS]はオプションで、指定する場合はbeまたはleでなければならない(デフォルトはbe)[ENDIANNESS]がleの場合、[BIT_LENGTH]は 8|16|24|32 でなければならない[BIT_OFFSET]はオプションで、指定する場合は0~7でなければならない (デフォルトは7)
- 以下の形式に従う:
- float
- 以下の形式に従う:
[KEY_NAME]:[INDEX]:float:[BIT_LENGTH]:[ENDIANNESS]:[BIT_OFFSET] [BIT_LENGTH]は 32|64 でなければならない[ENDIANNESS]はオプションで、指定する場合はbeまたはleでなければならない(デフォルトはbe)[BIT_OFFSET]はオプションで、指定する場合は0~7でなければならない (デフォルトは7)
- 以下の形式に従う:
- bool
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| bconvId required | string バイナリーパーサーテンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters バイナリーパーサーテンプレート名 |
| description | string <= 200 characters 説明 |
| parserTemplate required | string [ 1 .. 1000000 ] characters バイナリーパーサーテンプレート |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "parserTemplate": "string"
}Response samples
- 200
- 401
- 409
{- "id": "string",
- "name": "string",
- "description": "string",
- "predefined": true,
- "parserTemplate": "string"
}バイナリパーサーのテンプレートを削除する
バイナリパーサーのテンプレートを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| bconvId required | string バイナリーパーサーテンプレートID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
No Content
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}バイナリパーサーをテストする
バイナリパーサーをテストする
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| template required | string [ 1 .. 1000000 ] characters バイナリーパーサーテンプレート内容 |
| data required | string non-empty データ文字列 |
| dataType | string Default: "hex" Enum: "hex" "binary" データの種類. hex(16進数)かbinary(2進数). |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "template": "key1:0:int:32:be:7 key2:4:int:32:be:7",
- "data": "0101010123232323",
- "dataType": "hex"
}Response samples
- 200
{- "result": {
- "key1": 16843009,
- "key2": 589505315
}
}ミラーグループ情報の一覧を取得する
ミラーグループ情報の一覧を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| groupId | string 検索に使うグループID |
| name | string 検索に使うミラーグループ名(部分一致) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "mirrorGroups": [
- {
- "id": "dummy_mirror_group_id",
- "userId": "dummy_user_id",
- "name": "dummy_mirror_group",
- "entrypoint": "/dummy",
- "enabled": true,
- "priority": 100,
- "protocol": "http",
- "destinations": [
- {
- "id": "dummy_pconv_id",
- "groupId": "dummy_group_id",
- "primary": true
}, - {
- "id": "dummy_event_id",
- "groupId": "dummy_group_id",
- "primary": false
}
]
}
]
}ミラーグループを作成する
ミラーグループを作成する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters ミラーグループ名 |
| entrypoint required | string [ 1 .. 200 ] characters ^\/\S*$ エントリーポイント
|
| protocol | string Default: "http" Value: "http" プロトコル |
| priority | integer [ 1 .. 999 ] Default: 100 優先順位 |
| enabled | boolean Default: true 有効/無効 |
| destinations required | Array of objects <= 5 items 転送先ポリシー
|
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "name": "dummy_mirror_group",
- "entrypoint": "/dummy",
- "enabled": true,
- "priority": 100,
- "protocol": "http",
- "destinations": [
- {
- "id": "dummy_pconv_id",
- "groupId": "dummy_group_id_1",
- "primary": true
}, - {
- "id": "dummy_event_id",
- "groupId": "dummy_group_id_2",
- "primary": false
}
]
}Response samples
- 201
- 400
- 401
{- "id": "dummy_mirror_group_id",
- "userId": "dummy_user_id",
- "name": "dummy_mirror_group",
- "entrypoint": "/dummy",
- "enabled": true,
- "priority": 100,
- "protocol": "http",
- "destinations": [
- {
- "id": "dummy_pconv_id",
- "groupId": "dummy_group_id",
- "primary": true
}, - {
- "id": "dummy_event_id",
- "groupId": "dummy_group_id",
- "primary": false
}
]
}ミラーグループ情報を取得する
ミラーグループ情報を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| mirrorGroupId required | string ミラーグループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_mirror_group_id",
- "userId": "dummy_user_id",
- "name": "dummy_mirror_group",
- "entrypoint": "/dummy",
- "enabled": true,
- "priority": 100,
- "protocol": "http",
- "destinations": [
- {
- "id": "dummy_pconv_id",
- "groupId": "dummy_group_id",
- "destinationName": "dummy_pconv_name",
- "groupName": "dummy_group_name",
- "primary": true
}, - {
- "id": "dummy_event_id",
- "groupId": "dummy_group_id",
- "destinationName": "dummy_event_name",
- "groupName": "dummy_group_name",
- "primary": false
}
]
}ミラーグループ情報を更新する
ミラーグループ情報を更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| mirrorGroupId required | string ミラーグループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| name required | string [ 1 .. 50 ] characters ミラーグループ名 |
| entrypoint required | string [ 1 .. 200 ] characters ^\/\S*$ エントリーポイント
|
| protocol | string Default: "http" Value: "http" プロトコル |
| priority | integer [ 1 .. 999 ] Default: 100 優先順位 |
| enabled | boolean Default: true 有効/無効 |
| destinations required | Array of objects <= 5 items 転送先ポリシー
|
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "name": "dummy_mirror_group",
- "entrypoint": "/dummy",
- "enabled": true,
- "priority": 100,
- "protocol": "http",
- "destinations": [
- {
- "id": "dummy_pconv_id",
- "groupId": "dummy_group_id_1",
- "primary": true
}, - {
- "id": "dummy_event_id",
- "groupId": "dummy_group_id_2",
- "primary": false
}
]
}Response samples
- 200
- 401
- 409
{- "id": "dummy_mirror_group_id",
- "userId": "dummy_user_id",
- "name": "dummy_mirror_group",
- "entrypoint": "/dummy",
- "enabled": true,
- "priority": 100,
- "protocol": "http",
- "destinations": [
- {
- "id": "dummy_pconv_id",
- "groupId": "dummy_group_id",
- "primary": true
}, - {
- "id": "dummy_event_id",
- "groupId": "dummy_group_id",
- "primary": false
}
]
}ミラーグループ情報を削除する
ミラーグループ情報を削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| mirrorGroupId required | string ミラーグループID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}仮想コネクション一覧を取得する
仮想コネクション一覧を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| vconnId | string Example: vconnId=dummy_vconn_id 検索に使う仮想コネクションID(部分一致) |
| hardwareId | string Example: hardwareId=dummy_hardware_id 検索に使うハードウェアID(部分一致) |
| registeredIp | string Example: registeredIp=11.22.33.44 検索に使う登録済みIPアドレス(部分一致) |
| vimsi | string Example: vimsi=dummy_vimsi 検索に使う仮想IMSI(部分一致) |
| imei | string Example: imei=NA 検索に使うIMEI(部分一致) |
| msisdn | string Example: msisdn=NA 検索に使うMSISDN(部分一致) |
| deviceName | string Example: deviceName=dummy_device_name 検索に使うデバイス名(部分一致) |
| systemId | string Example: systemId=dummy_system_id 検索に使うシステムID(部分一致) |
| mqttClientId | string Example: mqttClientId=dummy_mqtt_client_id 検索に使うMQTTクライアントID(部分一致) |
| azureDeviceId | string Example: azureDeviceId=dummy_azure_device_id 検索に使うAzureデバイスID(部分一致) |
| hsn | string Example: hsn=dummy_hsn 検索に使うHSN(部分一致) |
| groupId | string Example: groupId=dummy_group_id 検索に使うグループID(部分一致) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
| standardDeviceId | string Example: standardDeviceId=dummy_standard_device_id 検索に使うスタンダードデバイスID(部分一致) |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 1,
- "page": 1,
- "pageSize": 20,
- "vconns": [
- {
- "id": "dummy_vconn_id",
- "devicePassword": "dummy_device_password",
- "commonPassword": "dummy_common_password",
- "vimsi": "dummy_vimsi",
- "hardwareId": "dummy_hardware_id",
- "registeredIp": "11.22.33.44",
- "imei": "NA",
- "msisdn": "NA",
- "deviceName": "NA",
- "groupId": "dummy_group_id",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy_vconn"
}
]
}仮想コネクションを作成する
仮想コネクションを作成する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| hardwareId required | string [ 1 .. 64 ] characters ^[a-zA-Z0-9_\-:]*$ ハードウェアID
|
| description | string <= 200 characters 説明 |
| vimsi | string <= 15 characters ^[0-9]+$ Default: "NA" 仮想IMSI |
| imei | string <= 15 characters ^[0-9]+$ Default: "NA" IMEI |
| msisdn | string <= 15 characters ^[0-9]+$ Default: "NA" MSISDN |
| deviceName | string <= 100 characters ^\S*$ Default: "NA" デバイス名 |
| systemId | string <= 10 characters システムID |
| mqttClientId | string <= 24 characters MQTTクライアントID |
| azureDeviceId | string <= 24 characters AzureデバイスID |
| standardDeviceId | string <= 24 characters スタンダードデバイスID |
| hsn | string <= 10 characters Default: "NA" HSN |
| optionData1 | string <= 256 characters Default: "NA" 予備 |
| optionData2 | string <= 256 characters Default: "NA" 予備 |
| optionData3 | string <= 256 characters Default: "NA" 予備 |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "hardwareId": "dummy_hardware_id",
- "description": "dummy",
- "vimsi": "dummy_vimsi",
- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_name",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA"
}Response samples
- 201
- 400
- 401
{- "id": "dummy_vconn",
- "devicePassword": "dummy_device_password",
- "commonPassword": "dummy_common_password",
- "vimsi": "dummy_vimsi",
- "hardwareId": "dummy_hardware_id",
- "registeredIp": "11.22.33.44",
- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_name",
- "groupId": "dummy_group_id",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy"
}仮想コネクションを取得する
仮想コネクションを取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| vconnId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_vconn_id 仮想コネクションID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_vconn",
- "devicePassword": "dummy_device_password",
- "commonPassword": "dummy_common_password",
- "vimsi": "dummy_vimsi",
- "hardwareId": "dummy_hardware_id",
- "registeredIp": "11.22.33.44",
- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_name",
- "groupId": "dummy_group_id",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy"
}仮想コネクションを更新する
仮想コネクションを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| vconnId required | string ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89aAbB][a-f0-9]{3}\-[a-f0-9]{12}$ Example: dummy_vconn_id 仮想コネクションID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| devicePassword required | string [ 8 .. 64 ] characters ^[a-zA-Z0-9!"#$%&'()+,-./;<=>?@[\]^_`{|}~]$ デバイスパスワード
|
| description | string <= 200 characters 説明 |
| vimsi | string <= 15 characters ^[0-9]+$ Default: "NA" 仮想IMSI |
| imei | string <= 15 characters ^[0-9]+$ Default: "NA" IMEI |
| msisdn | string <= 15 characters ^[0-9]+$ Default: "NA" MSISDN |
| deviceName | string <= 100 characters ^\S*$ Default: "NA" デバイス名 |
| systemId | string <= 10 characters システムID |
| mqttClientId | string <= 24 characters MQTTクライアントID |
| azureDeviceId | string <= 24 characters AzureデバイスID |
| standardDeviceId | string <= 24 characters スタンダードデバイスID |
| hsn | string <= 10 characters Default: "NA" HSN |
| optionData1 | string <= 256 characters Default: "NA" 予備 |
| optionData2 | string <= 256 characters Default: "NA" 予備 |
| optionData3 | string <= 256 characters Default: "NA" 予備 |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "devicePassword": "dummy_device_password",
- "description": "dummy",
- "vimsi": "dummy_vimsi",
- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_name",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_vconn",
- "devicePassword": "dummy_device_password",
- "commonPassword": "dummy_common_password",
- "vimsi": "dummy_vimsi",
- "hardwareId": "dummy_hardware_id",
- "registeredIp": "11.22.33.44",
- "imei": "dummy_imei",
- "msisdn": "dummy_msisdn",
- "deviceName": "dummy_device_name",
- "groupId": "dummy_group_id",
- "systemId": "dummy_system_id",
- "mqttClientId": "dummy_mqtt_client_id",
- "azureDeviceId": "dummy_azure_device_id",
- "standardDeviceId": "dummy_standard_device_id",
- "hsn": "dummy_hsn",
- "activation": true,
- "optionData1": "NA",
- "optionData2": "NA",
- "optionData3": "NA",
- "description": "dummy"
}仮想コネクションを無効化する
仮想コネクションを無効化する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| vconns | Array of strings non-empty |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Request samples
- Payload
{- "vconns": [
- "dummy_vconn_id_1",
- "dummy_vconn_id_2",
- "dummy_vconn_id_3"
]
}Response samples
- 200
- 401
- 404
{- "success": [
- "dummy_vconn_id_1",
- "dummy_vconn_id_2"
], - "failure": [
- "dummy_vconn_id_3"
]
}仮想コネクションの履歴を取得する
仮想コネクションの履歴を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| vconnId | string Example: vconnId=dummy_vconn_id 検索に使う仮想コネクションID(部分一致) |
| hardwareId | string Example: hardwareId=dummy_hardware_id 検索に使うハードウェアID(部分一致) |
| action | string Enum: "create" "update" "delete" 検索に使うアクション |
| vimsi | string Example: vimsi=dummy_vimsi 検索に使う仮想IMSI(部分一致) |
| deviceName | string Example: deviceName=dummy_device_name 検索に使うデバイス名(部分一致) |
| registeredIp | string Example: registeredIp=11.22.33.44 検索に使う登録済みIPアドレス(部分一致) |
| from | string Example: from=2022-06-14 00:00:00 取得期間の開始日 |
| to | string Example: to=2022-06-14 00:00:00 取得期間の終了日 |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Response samples
- 200
{- "histories": [
- {
- "id": "dummy_vconn_history_id",
- "vconnId": "dummy_vconn_id",
- "hardwareId": "dummy_hardware_id",
- "action": "create",
- "deviceName": "dummy_device_name",
- "registeredIp": "11.22.33.44",
- "additionalData": {
- "vimsi": "dummy_vimsi"
}, - "accessTime": "2022-03-12T06:04:20.969+00:00"
}
]
}共通パスワードを取得する
共通パスワードを取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "primary": "password1",
- "secondary": "password2",
- "description": "dummy_common_passwords"
}共通パスワードを作成する
共通パスワードを作成する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| primary required | string [ 8 .. 64 ] characters ^[a-zA-Z0-9!"#$%&'()*+,-./;<=>?@[\]^_`{|}~]*$ パスワード1
|
| secondary required | string [ 8 .. 64 ] characters ^[a-zA-Z0-9!"#$%&'()*+,-./;<=>?@[\]^_`{|}~]*$ パスワード2
|
| description | string <= 200 characters 説明 |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "primary": "password1",
- "secondary": "password2",
- "description": "dummy_common_passwords"
}Response samples
- 201
- 400
- 401
{- "primary": "dummy_password_1",
- "secondary": "dummy_password_2",
- "description": "dummy"
}共通パスワードを更新する
共通パスワードを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| primary required | string [ 8 .. 64 ] characters ^[a-zA-Z0-9!"#$%&'()*+,-./;<=>?@[\]^_`{|}~]*$ パスワード1
|
| secondary required | string [ 8 .. 64 ] characters ^[a-zA-Z0-9!"#$%&'()*+,-./;<=>?@[\]^_`{|}~]*$ パスワード2
|
| description | string <= 200 characters 説明 |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "primary": "password1",
- "secondary": "password2",
- "description": "dummy_common_passwords"
}Response samples
- 200
- 401
- 409
{- "primary": "password1",
- "secondary": "password2",
- "description": "dummy_common_passwords"
}共通パスワードを削除する
共通パスワードを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}登録パスワード一覧を取得する
登録パスワード一覧を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "passwords": [
- {
- "id": "dummy_registration_password_id",
- "password": "dummy_registration_password",
- "enabled": true,
- "description": "dummy"
}
]
}登録パスワードを作成する
登録パスワードを作成する
- enabled: false を含めて最大5つまで作成可能
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| password required | string [ 8 .. 64 ] characters ^[a-zA-Z0-9!"#$%&'()*+,-./;<=>?@[\]^_`{|}~]*$ パスワード
|
| enabled | boolean Default: true 有効/無効 |
| description | string <= 200 characters 説明 |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "password": "dummy_password",
- "enabled": true,
- "description": "dummy"
}Response samples
- 201
- 400
- 401
{- "id": "dummy_registration_password_id",
- "password": "dummy_registration_password",
- "enabled": true,
- "description": "dummy"
}登録パスワードを取得する
登録パスワードを取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| passwordId required | string ^[0-9a-f]{24}$ Example: dummy_password_id 登録パスワードID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "id": "dummy_registration_password_id",
- "password": "dummy_registration_password",
- "enabled": true,
- "description": "dummy"
}登録パスワードを更新する
登録パスワードを更新する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| passwordId required | string ^[0-9a-f]{24}$ Example: dummy_password_id 登録パスワードID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| password required | string [ 8 .. 64 ] characters ^[a-zA-Z0-9!"#$%&'()*+,-./;<=>?@[\]^_`{|}~]*$ パスワード
|
| enabled | boolean Default: true 有効/無効 |
| description | string <= 200 characters 説明 |
Responses
successful operation
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "password": "dummy_password",
- "enabled": true,
- "description": "dummy"
}Response samples
- 200
- 401
- 409
{- "id": "dummy_registration_password_id",
- "password": "dummy_registration_password",
- "enabled": true,
- "description": "dummy"
}登録パスワードを削除する
登録パスワードを削除する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
| passwordId required | string ^[0-9a-f]{24}$ Example: dummy_password_id 登録パスワードID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}仮想コネクションのログの有効化状況を取得する
仮想コネクションのログの有効化状況を取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| vconn | string Example: vconn=dummy_vconn_id 検索に使う仮想コネクションID(部分一致、カンマ区切りで複数指定可能) |
| enabled | string Enum: "true" "false" Example: enabled=true 検索に使うenabled |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "activate": [
- {
- "target": "dummy_vconn_id",
- "enabled": "true"
}
]
}仮想コネクションのログ機能を有効化する
仮想コネクションのログ機能を有効化する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| activate | Array of objects non-empty |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "activate": [
- {
- "target": "dummy_vconn_id",
- "enabled": true
}
]
}Response samples
- 200
- 400
- 401
{- "activate": {
- "success": [
- {
- "target": "dummy_vconn_id",
- "enabled": true
}
], - "failure": [
- {
- "target": "dummy_vconn_id",
- "enabled": true
}
]
}
}ログを取得する
ログを取得する
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
query Parameters
| from required | string <date> Example: from=2021-10-01 取得期間の開始日 |
| to required | string <date> Example: to=2021-10-31 取得期間の終了日 |
| severity | string Example: severity=INFO 検索に使うログレベル |
| groupId | string Example: groupId=dummy_group_id_1,dummy_group_id_2 検索に使うグループID(カンマ区切りで複数指定可能) |
| imsi | string Example: imsi=dummy_imsi 検索に使うIMSI(部分一致) |
| vconnId | string Example: vconnId=dummy_vconn_id 検索に使う仮想コネクションID(部分一致) |
| message | string Example: message=dummy_log_message 検索に使うログメッセージ(部分一致) |
| page | integer Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
| type | string Enum: "pconv" "event" "func" "storage" Example: type=pconv 検索に使うポリシー種別(カンマ区切りで複数指定可能) |
| cloudType | string Enum: "gcp" "aws" "azure" "things" "standard-http" "standard-mqtt/aws" "standard-tcp" Example: cloudType=standard-http 検索に使うクラウド種別(カンマ区切りで複数指定可能) |
| protocol | string Enum: "http" "mqtt" "tcp" Example: protocol=http 検索に使うプロトコル種別 |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
successful operation
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "totalPages": 200,
- "page": 1,
- "pageSize": 20,
- "logs": [
- {
- "timestamp": "dummy_timestamp",
- "severity": "INFO",
- "imsi": "dummy_imsi",
- "vconnId": "dummy_vconn_id",
- "groupId": "dumy_group_id",
- "type": "pconv",
- "cloudType": "standard-http",
- "protocol": "http",
- "size": 100000,
- "message": "dummy_log_message"
}
]
}eSIMの故障メール通知を取得
eSIM Appletの故障メール通知設定の取得
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
OK
Unauthorized
Not Found
Internal Server Error
Response samples
- 200
- 401
- 404
{- "mailAddress": "icgw@example.com",
- "failureThreshold": 10,
- "recoveryNotification": false,
- "additionalInfo": "メールの本文にメッセージを追加することができます。"
}eSIMの故障メール通知を作成
eSIM Appletの故障メール通知設定の作成
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| mailAddress required | string [ 6 .. 254 ] characters ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ eSIM監視アラートの通知先メールアドレス |
| failureThreshold required | integer [ 10 .. 4320 ] 通知抑制期間(分) |
| recoveryNotification | boolean Default: false 回復通知の有効無効設定 |
| additionalInfo | string <= 2000 characters Nullable Default: null メール本文の追加メッセージ |
Responses
Created
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "mailAddress": "icgw@example.com",
- "failureThreshold": 10,
- "recoveryNotification": false,
- "additionalInfo": "メールの本文にメッセージを追加することができます。"
}Response samples
- 201
- 400
- 401
{- "mailAddress": "icgw@example.com",
- "failureThreshold": 10,
- "recoveryNotification": false,
- "additionalInfo": "メールの本文にメッセージを追加することができます。"
}eSIMの故障メール通知を変更
eSIM Appletの故障メール通知設定の更新
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| mailAddress required | string [ 6 .. 254 ] characters ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ eSIM監視アラートの通知先メールアドレス |
| failureThreshold required | integer [ 10 .. 4320 ] 通知抑制期間(分) |
| recoveryNotification | boolean Default: false 回復通知の有効無効設定 |
| additionalInfo | string <= 2000 characters Nullable Default: null メール本文の追加メッセージ |
Responses
OK
Unauthorized
Conflict
Internal Server Error
Request samples
- Payload
{- "mailAddress": "icgw@example.com",
- "failureThreshold": 10,
- "recoveryNotification": false,
- "additionalInfo": "メールの本文にメッセージを追加することができます。"
}Response samples
- 200
- 401
- 409
{- "mailAddress": "icgw@example.com",
- "failureThreshold": 10,
- "recoveryNotification": false,
- "additionalInfo": "メールの本文にメッセージを追加することができます。"
}eSIMの故障メール通知を削除
eSIM Appletの故障メール通知設定の削除
path Parameters
| tenantId required | string ^[0-9a-f]{32}$ Example: dummy_tenant_id テナントID |
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Responses
OK
Unauthorized
Not Found
Internal Server Error
Response samples
- 401
- 404
{- "errorCode": 0,
- "errorMessages": [
- "string"
]
}Pingコマンドを実行する
Pingコマンドを実行する
header Parameters
| X-Auth-Token required | string Example: dummy_token ログイン時に取得するIDトークン |
Request Body schema: application/json
| imsi required | string [ 1 .. 15 ] characters ^[0-9]+$ IMSI |
| count | integer [ 1 .. 5 ] Default: 3 ping送信回数(回) |
| timeout | integer [ 1 .. 3 ] Default: 1 1pingあたりのタイムアウト(秒) |
Responses
successful operation
Bad Request
Unauthorized
Internal Server Error
Request samples
- Payload
{- "imsi": "dummy_imsi",
- "count": 3,
- "timeout": 1
}Response samples
- 200
{- "imsi": "dummy_imsi",
- "deviceName": "dummy_device_name",
- "ip": "dummy_address",
- "status": "success",
- "message": "dummy_message"
}