Closed jh-RLI closed 7 months ago
@adelmemariani I had a second look at the documentation you provided and realized that we need a bit more. You provided documentation on the function that creates the scenario bundle feature on the Django side. This of course includes the functions that provide the Web API functions. The documentation is still missing information about what endpoints we have (URLs that provide the WEB API), such as a post request to schenario-bundles/add and so on. It is also necessary to know how the json request body must be structured when sending the request.
The less technical documentation about the scenario bundles and oekg schema will be available in our compendium. See this issue https://github.com/OpenEnergyPlatform/organisation/issues/74
Example for how to document the web-api https://oeplatform.readthedocs.io/en/latest/api.html https://user-images.githubusercontent.com/38939526/171179814-ab85e94e-4f96-49d0-a71c-32dc89215bc8.png
Implemented by https://github.com/OpenEnergyPlatform/oeplatform/pull/1481
Description of the issue
We want to provide documentation that contains all the necessary information to understand the functions that create the scenario bundle feature.
Additionally, we want to provide the oekg Web-API documentation that shows how to query oekg and how to create scenario bundles using the Web-API by sending a json formatted request.
Ideas of solution
Scenario Bundle Code documentation
OEKG Web-API
In the compendium
General
What is documented where?
Technical information (OEP-DOCS)
Non / less technical (Compendium)
Workflow checklist