adjusted enrich rest specs to new format
This commit is contained in:
parent
2677ac14d2
commit
7f2ba91360
|
@ -2,19 +2,19 @@
|
|||
"enrich.delete_policy": {
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-delete-policy.html",
|
||||
"stability" : "stable",
|
||||
"methods": [ "DELETE" ],
|
||||
"url": {
|
||||
"path": "/_enrich/policy/{name}",
|
||||
"paths": ["/_enrich/policy/{name}"],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the enrich policy"
|
||||
"paths": [
|
||||
{
|
||||
"path": "/_enrich/policy/{name}",
|
||||
"methods": [ "DELETE" ],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the enrich policy"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
}
|
||||
},
|
||||
"body": null
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,19 +2,19 @@
|
|||
"enrich.execute_policy": {
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-execute-policy.html",
|
||||
"stability" : "stable",
|
||||
"methods": [ "PUT" ],
|
||||
"url": {
|
||||
"path": "/_enrich/policy/{name}/_execute",
|
||||
"paths": ["/_enrich/policy/{name}/_execute"],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the enrich policy"
|
||||
"paths": [
|
||||
{
|
||||
"path": "/_enrich/policy/{name}/_execute",
|
||||
"methods": [ "PUT" ],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the enrich policy"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
}
|
||||
},
|
||||
"body": null
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,18 +2,23 @@
|
|||
"enrich.get_policy": {
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-get-policy.html",
|
||||
"stability" : "stable",
|
||||
"methods": [ "GET" ],
|
||||
"url": {
|
||||
"paths": ["/_enrich/policy/{name}", "/_enrich/policy/"],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the enrich policy"
|
||||
"paths": [
|
||||
{
|
||||
"path": "/_enrich/policy/{name}",
|
||||
"methods": [ "GET" ],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the enrich policy"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/_enrich/policy/",
|
||||
"methods": [ "GET" ]
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
}
|
||||
},
|
||||
"body": null
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,21 +2,23 @@
|
|||
"enrich.put_policy": {
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-put-policy.html",
|
||||
"stability" : "stable",
|
||||
"methods": [ "PUT" ],
|
||||
"url": {
|
||||
"path": "/_enrich/policy/{name}",
|
||||
"paths": ["/_enrich/policy/{name}"],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the enrich policy"
|
||||
"paths": [
|
||||
{
|
||||
"path": "/_enrich/policy/{name}",
|
||||
"methods": [ "PUT" ],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the enrich policy"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
}
|
||||
]
|
||||
},
|
||||
"body": {
|
||||
"description": "The enrich policy to register"
|
||||
"description": "The enrich policy to register",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue