Skip to content

Commit 879994b

Browse files
authored
Add optional _meta object to ingest pipeline response (#2348)
1 parent ab87bca commit 879994b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

specification/ingest/_types/Pipeline.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { VersionNumber } from '@_types/common'
20+
import { VersionNumber, Metadata } from '@_types/common'
2121
import { ProcessorContainer } from './Processors'
2222

2323
export class Pipeline {
@@ -38,6 +38,10 @@ export class Pipeline {
3838
* Version number used by external systems to track ingest pipelines.
3939
*/
4040
version?: VersionNumber
41+
/**
42+
* Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch.
43+
*/
44+
_meta: Metadata
4145
}
4246

4347
// Unused .. but let's keep it for now

0 commit comments

Comments
 (0)