Set a model as a challenger
post/projects/{projectId}/challengers
Sets the model role as challenger for the model that is associated with the specified project ID and model ID. A project can have no challengers, as well as one or more challengers. The challenger will be added to the challengers list.
1{2 "createdBy": "string",3 "modifiedBy": "string",4 "creationTimeStamp": "2019-08-24T14:15:22Z",5 "modifiedTimeStamp": "2019-08-24T14:15:22Z",6 "id": "string",7 "name": "string",8 "description": "string",9 "function": "string",10 "algorithm": "string",11 "tool": "string",12 "modeler": "string",13 "scoreCodeType": "string",14 "trainTable": "string",15 "eventProbVar": "string",16 "targetEvent": "string",17 "champion": true,18 "role": "string",19 "location": "string",20 "targetLevel": "string",21 "targetVariable": "string",22 "projectId": "string",23 "projectName": "string",24 "projectVersionId": "string",25 "projectVersionName": "string",26 "folderId": "string",27 "repositoryId": "string",28 "championStartTime": "string",29 "championEndTime": "string",30 "suggestedChampion": true,31 "retrainable": true,32 "immutable": true,33 "modelVersionName": "string",34 "dataUris": [35 "string"36 ],37 "properties": [38 {39 "name": "string",40 "value": "string",41 "type": "string"42 }43 ],44 "inputVariables": [45 {46 "createdBy": "string",47 "modifiedBy": "string",48 "creationTimeStamp": "2019-08-24T14:15:22Z",49 "modifiedTimeStamp": "2019-08-24T14:15:22Z",50 "name": "string",51 "description": "string",52 "role": "string",53 "type": "string",54 "level": "string",55 "format": "string",56 "length": 0,57 "version": 258 }59 ],60 "outputVariables": [61 {62 "createdBy": "string",63 "modifiedBy": "string",64 "creationTimeStamp": "2019-08-24T14:15:22Z",65 "modifiedTimeStamp": "2019-08-24T14:15:22Z",66 "name": "string",67 "description": "string",68 "role": "string",69 "type": "string",70 "level": "string",71 "format": "string",72 "length": 0,73 "version": 274 }75 ],76 "version": 277}
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | The request succeeded. The model was set as a project challenger model. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | No model exists at the requested path. | Schema |