1.0.7 • Published 7 years ago

evasq_api v1.0.7

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
7 years ago

evasq_api

EvasqApi - JavaScript client for evasq_api API used by EVASQ platform to login, get surveys questions and post patients answers This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0
  • Package version: 1.0
  • Build package: class io.swagger.codegen.languages.JavascriptClientCodegen For more information, please visit http://nathanquinteiro.ml

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install evasq_api --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/evasq_api then install it via:

    npm install YOUR_USERNAME/evasq_api --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var EvasqApi = require('evasq_api');

var api = new EvasqApi.PatientApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.patientGet(callback);

Documentation for API Endpoints

All URIs are relative to http://http://evasq.tic.heia-fr.ch

ClassMethodHTTP requestDescription
EvasqApi.PatientApipatientGetGET /patientRetrieves one or more patient
EvasqApi.PatientApipatientPatientIdGetGET /patient/{patientId}Retrieves a patient document
EvasqApi.PatientApipatientPatientIdPatchPATCH /patient/{patientId}Updates a patient document
EvasqApi.PatientApipatientPostPOST /patientStores one or more patient
EvasqApi.ResultApiresultGetGET /resultRetrieves one or more result
EvasqApi.ResultApiresultPostPOST /resultStores one or more result
EvasqApi.ResultApiresultResultIdGetGET /result/{resultId}Retrieves a result document
EvasqApi.ResultApiresultResultIdPatchPATCH /result/{resultId}Updates a result document
EvasqApi.SurveyApisurveyDeleteDELETE /surveyDeletes all survey
EvasqApi.SurveyApisurveyGetGET /surveyRetrieves one or more survey
EvasqApi.SurveyApisurveyPostPOST /surveyStores one or more survey
EvasqApi.SurveyApisurveySurveyIdDeleteDELETE /survey/{surveyId}Deletes a survey document
EvasqApi.SurveyApisurveySurveyIdGetGET /survey/{surveyId}Retrieves a survey document
EvasqApi.SurveyApisurveySurveyIdPatchPATCH /survey/{surveyId}Updates a survey document

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago