The service must be queried using any program supporting the HTTP-POST method, e.g. CURL:
curl -X POST "https://itaca.mi.ingv.it/itaca40ws/processing-post/1/query?waveform=CU.GTBY.20.HN.EMSC-20180217_0000003.h5&action=download-ascii&tmpdir=0987654321"ITACA Administrators and users with special authorizations can save processed data in the ITACA Database.
As usual, authorized users can also access data intended for internal use and/or embargoed.
curl -X POST -F "message=@path/to/token.txt" "https://itaca.mi.ingv.it/itaca40ws/processing-post/1/query?query?waveform=CU.GTBY.20.HN.EMSC-20180217_0000003.h5&action=save-to-db&psave=mp&pref=true&tmpdir=0987654321"HTTP-POST variables
| Option | Description |
|---|---|
| message | The clearsign token obtained from the generate-signed-message authentication webservice. |
| Option | Description | Default |
|---|---|---|
| waveform | Waveform filename to process, e.g. 'CU.GTBY.20.HN.EMSC-20180217_0000003.h5' | n/a |
| action | The Action to perform. Allowed values are: 'download-hdf5', 'download-ascii', 'save-to-db', 'bad-quality', 'set-class-a', 'set-class-b', 'set-class-c', 'set-class-d'. NOTE: Selecting the 'set-class-a' and 'set-class-b' options authorized users will implicitly set 'save-to-db' and additionaly save a quality class for the waveform in db. Similarly, 'set-class-c', 'set-class-d' imply selecting the 'bad-quality' option. | n/a |
| psave | Processing type to save in db. Allowed values are: 'mp', 'ap', 'mb', 'ab'. | mp |
| pref | {true,false} Set selected processing type as preferred in db | false |
| tmpdir | Specify a subdirectory name to get data from. NOTES: It has to be the same specified in the previous steps of the processing workflow; only alphanumeric characters are allowed. | n/a |
Backend Python software used by this web service was originally developed by Russo E. and Puglia R., and it is currently mantained by Russo E. and Felicetta C.