API NOAA Reports: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
no edit summary
m (Mcrossley moved page API Reports to API Get Reports without leaving a redirect)
No edit summary
''Back to [[Cumulus MX Local API]]''
 
== Get Year Reports ==
The general format of the NOAA Year Report API request is as follows...
<pre>http://localhost:8998:/api/reports/noaayear&year=NNNN</pre>
 
 
== Get Month Reports ==
The general format of the NOAA Month Report API request is as follows...
<pre>http://localhost:8998:/api/reports/noaamonth&year=NNNN&month=XX</pre>
... etc
]
 
 
== Regenerate Year Report ==
The general format of the API request to regenerate a NOAA year report from the data logs is as follows...
<pre>http://localhost:8998:/api/genreports?year=NNNN</pre>
Where NNNN is the year to regenerate.
 
Cumulus MX will return the new report in the format described above.
 
== Regenerate Month Reports ==
The general format of the API request to regenerate a NOAA monthly reports from the data logs is as follows...
<pre>http://localhost:8998:/api/genreports/noaamonth&year=NNNN&month=XX</pre>
Where NNNN is the year requested, and XX the month.
 
Cumulus MX will return the new report in the format described above.

Navigation menu