Versions Compared

Key

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

...

Code Block
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/warmstates?moduleInstanceId=moduleInstanceId1&stateTime=2020-03-18T15:00:00Z" 



GET resources/static/{path}/{resourceId} (2023.01)

Get get a text resource from the PiClientConfigFiles folder. Only the file name (resource id)  will be used to resolve the resource. If you have a file with name test.css in one of your folders then any query with file name test.css will have this test.css returned.

Path parameters

  • path (string, optional): One or more subfolders. Note that this path will not be used to resolve the resource. Only the resourceId will be used.
  • resourceId (string, required): name of a resource in the PiClientConfigFiles config folder. Typically a css file or json file .name

Response

    • binary with the content of the IconFile

...

Code Block
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/resources/static/style.css"

GET resources/images/{path|/{resourceId} (2023.01)

Get get a resource from the IconFiles folder.  Only the file name (resource id)  will be used to resolve the resource. If you have a file with name test.png in one of your folders then any query with file name test.png will have this test.png returned.

Path parameters

  • path (string, optional): One or more subfolders. Note that this path will not be used to resolve the resource. Only the resourceId will be used.
  • resourceId (string): name of a image file that is in the IconFiles config folder.

...