-
Notifications
You must be signed in to change notification settings - Fork 1
API
Always returns "Hi! I am RootCause Service"
-
URL
/ -
Method:
GET|PUT|POST|DELETE
Returns the status of sample explanations among all possible interpretation methods for a particular model contract.
-
URL
/status -
Method:
GET -
URL Params
Required:
uid=[integer]ts=[integer]model_name=[integer]model_version=[integer] -
Success Response:
Returns a list of
{method: str, status: object}for each possible interpretation method. If no possible interpretation method exists for such a model contract - the empty list is returned.-
Code: 200
Content:[ { "method": "rise", "status": { "state": "NOT_QUEUED" } } ] -
Code: 200
Content:[ { "method": "rise", "status": { "result": "5d5a9819a8fad9282c4a00d2", "state": "SUCCESS" } } ]
-
Code: 200
-
Error Response:
-
Code: 400 Bad Request
Content:{"message":"Expected args: {'model_name', 'ts', 'model_version', 'uid'}. Provided args: set()"}
OR
-
Code: 400 Bad Request
-
Code: 400 Bad Request
Content:{ "message": "Was unable to cast one of ('model_version', 'uid', 'ts') to int"}
OR
-
Code: 500 UNPROCESSABLE ENTRY
Content:{ error : "Email Invalid" } -
Sample Call:
curl 'https://tm.k8s.hydrosphere.io/rootcause/status?model_name=adult_scalar&model_version=1&ts=1567513746579&uid=3' -
Notes: