-
Notifications
You must be signed in to change notification settings - Fork 102
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
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
1 similar comment
Following you can find the validation results for the APIs you have changed.
You can validate these APIs yourself by using the |
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.
Thank you for the contribution! Only small details left to fix.
@@ -254,6 +254,7 @@ export interface Connector { | |||
api_key_secret_id?: string | |||
configuration: ConnectorConfiguration | |||
custom_scheduling: ConnectorCustomScheduling | |||
deleted?: boolean |
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.
deleted?: boolean | |
deleted: 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 comment
The reason will be displayed to describe this comment to others. Learn more.
We have specific syntax for default values:
/** | |
* A flag indicating if the connector should be hard deleted. Defaults to false. | |
*/ | |
hard?: boolean | |
/** | |
* A flag indicating if the connector should be hard deleted. | |
* @server_default false | |
*/ | |
hard?: boolean |
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 comment
The reason will be displayed to describe this comment to others. Learn more.
query_parameters: { | |
/** | |
* A flag to indicate if the desired connector should be fetched even if it was soft-deleted | |
*/ | |
include_deleted?: boolean | |
} | |
query_parameters: { | |
/** | |
* A flag to indicate if the desired connector should be fetched even if it was soft-deleted | |
* @server_default false | |
*/ | |
include_deleted?: boolean | |
} |
/** | ||
* 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 comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* A flag to indicate if the desired connector should be fetched even if it was solf-deleted" | |
*/ | |
include_deleted?: boolean | |
/** | |
* A flag to indicate if the desired connector should be fetched even if it was solf-deleted" | |
* @server_default false | |
*/ | |
include_deleted?: boolean |
Following you can find the validation results for the APIs you have changed.
You can validate these APIs yourself by using the |
Following you can find the validation results for the APIs you have changed.
You can validate these APIs yourself by using the |
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.
Thanks! LGTM.
Adding new URL param
include_deleted
toconnector.get
connector.list
Also adding new URL param
hard
toconnector.delete
And finally, a new boolean value
deleted
to theconnector
typeLink to issue thread can be found here!