What do you want to do?
Tell us about your request. Provide a summary of the request.
Add exception details for ML APIs: delete API will throw not found exception (404) if model/agent not exist.
User (like FlowFramework team) read our API document and they don't see exception details of delete APIs (delete connector/model group/model/agent etc). So they thought the delete API will not throw error if resource not found.
But actually we are following the same style of OpenSearch core, when user delete a non-existing document, 404 error will return
*Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
What do you want to do?
Tell us about your request. Provide a summary of the request.
Add exception details for ML APIs: delete API will throw not found exception (404) if model/agent not exist.
User (like FlowFramework team) read our API document and they don't see exception details of delete APIs (delete connector/model group/model/agent etc). So they thought the delete API will not throw error if resource not found.
But actually we are following the same style of OpenSearch core, when user delete a non-existing document, 404 error will return
*Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.