-
Notifications
You must be signed in to change notification settings - Fork 0
Home
nmyza edited this page Dec 20, 2016
·
6 revisions
#Pages
#Parser start curl -H "Content-Type: application/json" -X POST -d '<json>' http://localhost:5000/api/start
это команда на старт парсера
а это пример тела:
{
"connection_settings":
{
"server":"10.0.0.127",
"port":"8091",
"bucket":"train_data_1"
},
"parsing_rules":
[
{
"name":"CATEGORY",
"source_type":"field",
"source_name":"category",
},
{
"name":"SUBCATEGORY",
"source_type":"field",
"source_name":"subcategory",
"filter":"!null"
}
]
}