Skip to content
Snippets Groups Projects
Commit fd57537e authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Updated REST endpoint documentation (Enunciate powered)

parent a53ad789
No related branches found
No related tags found
2 merge requests!17Develop,!11Te thredds exploration
......@@ -5,7 +5,7 @@
The VIPSLogic service API gives access to stored pest predictions and organisms
</description>
<copyright>NIBIO</copyright>
<contact>Tor-Einar Skog</contact>
<contact><a href="https://www.nibio.no/ansatte/tor-einar-skog" target="new">Tor-Einar Skog</a></contact>
<application root="/"/>
......
This diff is collapsed.
......@@ -86,9 +86,30 @@ public class LogicService {
/**
* Get all results for one pest prediction
* @param forecastConfigurationId
* @param forecastConfigurationId Database id of the configured forecast
* @param userUUID if the forecast is private, the correct userUUID must be supplied.
* @return
* @return JSON with result data. A list of ForecastResult objects. Example:
* <pre>
* {
"forecastResultId": 5710137,
"validTimeStart": "2019-01-22T23:00:00.000+0000",
"validTimeEnd": null,
"warningStatus": 0,
"forecastConfigurationId": -1000,
"validGeometry": { // NORMALLY SET ONLY IF the result set contains results for multiple locations
"type": "Point",
"coordinates": [
10.333252,
57.179002
]
},
"keys": [ // A list of the existing parameter names in this result object
"GRIDZYMOSE.WHS"
],
"allValues": { // Parameters with values. Everything is a String. Client must convert to numbers if necessary
"GRIDZYMOSE.WHS": "0"
}
}</pre>
*/
@GET
@Path("forecastresults/{forecastConfigurationId}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment