Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CSpec Reasoner SVI
  • Project information
    • Project information
    • Activity
    • Members
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ClinGenClinGen
  • cspec
  • CSpec Reasoner SVI
  • Wiki
  • API

API · Changes

Page history
Update API authored Apr 26, 2023 by Neethu Shah's avatar Neethu Shah
Show whitespace changes
Inline Side-by-side
API.md
View page @ aea952f9
......@@ -195,8 +195,22 @@ A **payload** contains two required fields - evidence and cspecRuleSetUrl. An ex
> let resp = undefined
> jsClient = new SimpleJsonReq( baseUrl, clientOpts )
> let reqConfig = {
> serverCertCheck : false,
> data: payload
> serverCertCheck : false
> }
> resp = await jsClient.doPost('/assertion/type/acmg-v4', reqConfig)
> resp = await jsClient.doPost('/assertion/type/acmg-v4', payload, reqConfig)
> console.log(global.brl.insp(global.brl.dot.pick('data', resp.data)))
```
{
comment: 'Rule3 was met and the total point = 1',
finalCall: 'Uncertain Significance',
rules: [
{
conditions: [Array],
inference: 'Uncertain Significance',
rule: 'Rule3'
}
],
statusObj: { name: 'assertion computed', status: 'ok' }
}
```
\ No newline at end of file
Clone repository
  • API
  • Home