Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For API Developers it is recommended to use the Open API Documentation. Please see: Open API Specification Documentation

WebServices Configuration (sincePOST archive/products (2022.02) 2022.02)

Since 2022.02 a WebServices xml configuration file is supported (and replaces the deprecated FewsPiServices.properties file). See FEWS WebServices Configuration File (since 2022.02)

...

Code Block
languagetext
http://localhost:63185/FewsWebServices/rest/fewspiservice/v1/archive/products/id?relativePath=products-rws/2022/05/rivieren/10/product/weerbeeld_maas/2022_05_10_T_09_00_00/KNMI_20220510085242/weerbeeld_maas.txt


POST archive/products (2022.02)

This endpoint can be used to upload new products to the archive. The metaData.xml will be automaticly generated. It is only possible to upload a single product file each time this endpoint is used.


Request parameters

  • timeZero (dateTime: yyyy-MM-ddTHH:mm:ssZ): time zero of the uploaded product
  • areaId (string): area id of the uploaded product
  • sourceId (string): source id of the uploaded product
  • subFolder(string): the sub folder in which the product will be stored. This can be used as an folder to identify the product easier.
  • file (file):  the file which should be stored as a product in the archive

...