API
1. 调用方法
http://$WEB_URL/api/$API_URL?token=$API_SECRET&project=$PROJECT http://{$service_name}.cloud.sensorsdata.cn http://{$host_name}:8107 http://{$host_name}:8107
2. 如何快速获取请求参数

Last updated
Was this helpful?
http://$WEB_URL/api/$API_URL?token=$API_SECRET&project=$PROJECT http://{$service_name}.cloud.sensorsdata.cn http://{$host_name}:8107 http://{$host_name}:8107

Last updated
Was this helpful?
Was this helpful?
http://demo.sensorsdata.cn/api/events/report?token=9c283f5711ef03e61e2a67c007100fce http://demo.sensorsdata.cn/api/events/report?token=9c283f5711ef03e61e2a67c007100fce&project=new_projectcurl 'https://saasdemo.cloud.sensorsdata.cn/api/events/report?token=53f48d27f5ed6e701241d7548093274533d0af3d9d2ae80740a629836897900d' \
-H 'Content-Type: application/json' \
--data-binary '{
"measures":[
{
"event_name":"FinalConvert",
"aggregator":"SUM",
"field":"event.FinalConvert.contract_value"
}
],
"unit":"day",
"by_fields":[
"event.FinalConvert.product_type"
],
"to_date":"2016-08-14",
"from_date":"2016-08-14"
}'