Skip to content
This repository has been archived by the owner on Feb 6, 2018. It is now read-only.
/ biggis-rest Public archive

REST interface for unified observations (e.g. data of LUBW, DWD, WU, ...)

Notifications You must be signed in to change notification settings

biggis-project/biggis-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

biggis-rest

REST interface for unified observations (e.g. data of LUBW, DWD, WU, ...)

Quick and dirty usage example

  • first, we deploy everything on our application server, e.g. Tomcat
  • now we can query for all wanted parameters
  • if a parameter is not supported, an error message explains the currently supported parameters (may change on run time)
  • if a value for a valid parameter is not supported, an error message explains the currently supported values for this parameter (may change on run time)

query pattern:

<Path>/rest?parameter1=value1&parameter2=value2&...

example:

http://localhost/rest?quantity=temp&start=1995-01-01&end=2015-12-31&timeFormat=iso8601&placeFormat=gausskrueger&limit=100&offset=100

using content negotiation, the following media types can be produced:

TEXT_HTML
TEXT_PLAIN
APPLICATION_JSON

the produced media type can also be forced by adding it to the path:

<Path>/rest/html?parameter1=value1&parameter2=value2&...
<Path>/rest/csv?parameter1=value1&parameter2=value2&...
<Path>/rest/json?parameter1=value1&parameter2=value2&...

About

REST interface for unified observations (e.g. data of LUBW, DWD, WU, ...)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages