Skip to content

doc: REST API reference #1671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shawnsarwar opened this issue Mar 26, 2020 · 6 comments
Closed

doc: REST API reference #1671

shawnsarwar opened this issue Mar 26, 2020 · 6 comments
Assignees
Labels
community Issues that help to build and maintain the SORMAS community documentation Guides or documentation to help users, developers or other contributors

Comments

@shawnsarwar
Copy link

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.

@ghost
Copy link

ghost commented Mar 26, 2020

@MartinWahnschaffeSymeda @MateStrysewskeSym Please respondn accordingly
Thanks

@MateStrysewske
Copy link
Contributor

@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?

@MateStrysewske MateStrysewske added this to the Product Backlog milestone Mar 27, 2020
@MateStrysewske MateStrysewske added the community Issues that help to build and maintain the SORMAS community label Mar 27, 2020
@shawnsarwar
Copy link
Author

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:
swagger-api/swagger-codegen#465

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

@bernardsilenou
Copy link

@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

@shawnsarwar
Copy link
Author

@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.

jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 10, 2020
- Set sormas-rest context path (META_INF/context.xml) from pom.xml property value
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 10, 2020
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 10, 2020
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 10, 2020
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 11, 2020
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 11, 2020
- Swagger code moved to `de.symeda.sormas.rest.swagger` package
- Security information now included in Swagger specification
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 12, 2020
- Enums are now documented using their name, rather than their internationalized label
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 12, 2020
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 12, 2020
- More efficient Annotation processing
- Adapt country-based visibility documentation to implementation code
@StefanKock StefanKock added documentation Guides or documentation to help users, developers or other contributors sormas-rest labels Jun 18, 2020
jabrandes added a commit to jabrandes/SORMAS-Project that referenced this issue Jun 18, 2020
@StefanKock
Copy link
Contributor

Was merged to development by @MateStrysewskeSym

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues that help to build and maintain the SORMAS community documentation Guides or documentation to help users, developers or other contributors
Projects
None yet
Development

No branches or pull requests

4 participants