Sormas-project: doc: REST API reference

Created on 26 Mar 2020  路  6Comments  路  Source: hzi-braunschweig/SORMAS-Project

The REST API is emphasized in the documentation, but I can't find any reference for its use. Any direction would be appreciated, but we're currently most interested in reading contact information into a foreign system.

Community Documentation sormas-rest

Most helpful comment

Was merged to development by @MateStrysewskeSym

All 6 comments

@MartinWahnschaffeSymeda @MateStrysewskeSym Please respondn accordingly
Thanks

@shawnsarwar Hey! Because of the current situation with COVID-19, we don't have the resources to create a dedicated REST documentation right now. Please have a look at the sormas-rest and sormas-api projects, you should find the required information there. Do you have a specific question, or maybe a suggestion how this documentation should ideally look like?

Hi @MateStrysewskeSym, no worries we're in the same boat working with the Nigerian CDC instance of SORMAS. We have a couple of sets of data that need to be continuously imported into SORMAS and there's a request to get contact tracing data out of SORMAS into some other tools for visualization.

In the very short-term a sample showing how to get contacts via cURL would be very helpful.

In the longer term, it would be ideal to have something like Swagger provide a browsable API as part of SORMAS.

It looks like you all use Retrofit on the Android side, so there may be an opportunity to scrape that:
https://github.com/swagger-api/swagger-codegen/issues/465

In the meanwhile we'll take a look and see where we get parsing the code. Thanks again and good luck!

@shawnsarwar Which kind of visualization do you need to do please? We currently have a transmission chain and follow up visits visualization in addition to contact dashboard. What is not an The Nigerian server now is the transmission chain. This will be ready hopefully in the next release.
Please share the the kind of visualization and performance indicators of contact tracing that the are needed so that we can include in SORMAS also. Thanks

@bernardsilenou I'll let you know when I get concrete requirements. As of now we're just building capability as we wait for a specific request.

Was merged to development by @MateStrysewskeSym

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MateStrysewske picture MateStrysewske  路  5Comments

bernardsilenou picture bernardsilenou  路  4Comments

AxelNennker picture AxelNennker  路  4Comments

kwa20 picture kwa20  路  3Comments

foyiri picture foyiri  路  3Comments