数据接入服务 DIS-更新通道信息:请求示例

时间:2024-10-21 14:17:49

请求示例

  • 更新通道生命周期

    PUT https://{Endpoint}/v3/{project_id}/streams/{stream_name}
    
    {
      "stream_name" : "stz_test",
      "data_duration" : 48
    }
  • 更新通道类型

    PUT https://{Endpoint}/v3/{project_id}/streams/{stream_name}
    
    {
      "stream_name" : "stz_test",
      "data_type" : "JSON"
    }
support.huaweicloud.com/api-dis/UpdateStream.html