路网数字化服务 DRIS-修改数据转发配置:请求示例

时间:2024-10-24 18:13:03

请求示例

PUT https://{endpoint}/v1/{project_id}/forwarding-configs/{forwarding_config_id}?forwarding_type={forwarding_type}
Content-Type:application/json
X-Auth-Token:********
Instance-Id:********

{
  "kafka_config" : {
    "topic_prefix" : "abc",
    "user_topics" : [ "v2x-v1-tracks", "v2x-v1-bsm", "v2x-v1-rsi", "v2x-v1-rsm", "v2x-v1-spat", "v2x-v1-edge-flow", "realtime-traffic", "junction-realtime-traffic", "forecast-traffic", "recommended-strategies", "executed-strategies", "strategy-evaluations", "confirmed-event", "traffic-event", "compositive-tracks", "model-data", "request-strategies", "congestion-event", "congestion-prediction-event" ],
    "brokers" : [ "127.0.0.1:1000" ],
    "username" : "1234567890",
    "password" : "1234567890",
    "model_ids" : [ "40f96952-ea2f-4a10-8a92-e641aa1c6e49" ]
  }
}
support.huaweicloud.com/api-v2x/v2x_04_0065.html