Skip to content

Commit

Permalink
Add optional _meta object to ingest pipeline response
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock committed Nov 14, 2023
1 parent ab87bca commit e9a9e81
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion specification/ingest/_types/Pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { VersionNumber } from '@_types/common'
import { VersionNumber, Metadata } from '@_types/common'
import { ProcessorContainer } from './Processors'

export class Pipeline {
Expand All @@ -38,6 +38,10 @@ export class Pipeline {
* Version number used by external systems to track ingest pipelines.
*/
version?: VersionNumber
/**
* Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch.
*/
_meta: Metadata
}

// Unused .. but let's keep it for now
Expand Down

0 comments on commit e9a9e81

Please sign in to comment.