Is your feature request related to a problem?
Similar to the Rest Handler created for Create Detector or Hello World Extension or GET method in #213, create an action implementing ExtensionRestHandler with routes for the validate detector API calls handled by appropriate methods with placeholder code:
POST /detectors/_validate
POST /detectors/_validate/{type}
Java code:
private ExtensionRestResponse handleValidateDetectorRequest(ExtensionRestRequest request) {
// do things with request
return new ExtensionRestResponse(request, OK, "placeholder");
}
Create a POST _validate Rest handler for validate detector similar to this. The business logic will be later done in #222.
Is your feature request related to a problem?
Similar to the Rest Handler created for Create Detector or Hello World Extension or GET method in #213, create an action implementing
ExtensionRestHandlerwith routes for the validate detector API calls handled by appropriate methods with placeholder code:Java code:
Create a POST _validate Rest handler for validate detector similar to this. The business logic will be later done in #222.