仮想デバイス - 証明書接続
    • PDF

    仮想デバイス - 証明書接続

    • PDF

    Article Summary

    概要

    仮想デバイスと証明書を接続します。

    リクエスト

    リクエストURL

    POST {CLOUD_IOT_CORE_API_URL}/mappings/device-certification
    
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    リクエストボディー

    {
        "deviceName": "string",
        "serialNo":"string"
    }
    
    項目必須の有無タイプ制約事項説明
    deviceNameYesstring仮想デバイス名
    serialNoYesstring1証明書のシリアル番号

    レスポンス

    レスポンスボディ

    {
        "status": "string",
        "body": {
             "deviceName": "string",
             "serialNo": "string",
             "registerTime": "localDateTime"
        }
    }
    
    項目タイプ説明
    statusstringレスポンスの成否
    body.deviceNamestring接続された仮想デバイス名
    body.serialNostring接続された証明書のシリアル番号
    body.registerTimelocalDateTime仮想デバイス - 証明書間の接続日

    {
        "status": "SUCCESS",
        "body": {
             "deviceName": "bulb",
             "serialNo": "7d:94:1c:b1:be:0a:da:b1:c2:20:32:e9:a4:c4:51:f1:56:a3:b1:71",
             "registerTime": "2020-09-11 14:22:48"
       }
    }
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.