-
Notifications
You must be signed in to change notification settings - Fork 115
Adding new URL params to Connector API endpoints + new type to Connector types #3549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
06c6fc0
e2959d8
90f9395
d429054
5ea17fb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -49,5 +49,9 @@ export interface Request extends RequestBase { | |||||||||||||||||||
* A flag indicating if associated sync jobs should be also removed. Defaults to false. | ||||||||||||||||||||
*/ | ||||||||||||||||||||
delete_sync_jobs?: boolean | ||||||||||||||||||||
/** | ||||||||||||||||||||
* A flag indicating if the connector should be hard deleted. Defaults to false. | ||||||||||||||||||||
*/ | ||||||||||||||||||||
hard?: boolean | ||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have specific syntax for default values:
Suggested change
|
||||||||||||||||||||
} | ||||||||||||||||||||
} |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -41,4 +41,10 @@ export interface Request extends RequestBase { | |||||||||||||||||||||||||||
*/ | ||||||||||||||||||||||||||||
connector_id: Id | ||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||
query_parameters: { | ||||||||||||||||||||||||||||
/** | ||||||||||||||||||||||||||||
* A flag to indicate if the desired connector should be fetched even if it was soft-deleted | ||||||||||||||||||||||||||||
*/ | ||||||||||||||||||||||||||||
include_deleted?: boolean | ||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
} |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -57,6 +57,10 @@ export interface Request extends RequestBase { | |||||||||||||||||||
* A comma-separated list of connector service types to fetch connector documents for | ||||||||||||||||||||
*/ | ||||||||||||||||||||
service_type?: Names | ||||||||||||||||||||
/** | ||||||||||||||||||||
* A flag to indicate if the desired connector should be fetched even if it was solf-deleted" | ||||||||||||||||||||
*/ | ||||||||||||||||||||
include_deleted?: boolean | ||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||
/** | ||||||||||||||||||||
* A wildcard query string that filters connectors with matching name, description or index name | ||||||||||||||||||||
*/ | ||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading elastic/elasticsearch#118669 it looks like
deleted
is always set.