<myData_uri>/download[.<format>]
The fileDownload resource is used to download data file specified by data item id, which belongs to my data file. It supports the use of HTTP Range header to achieve transmission resuming at break-points.
Supported Methods:
Supported Formats: Data stream.
Implement the HTTP request on the following URI, where supermapiportal is the server name, with rjson being the output format.
http://supermapiportal:8090/iportal/web/mycontent/datas/{id}/download
Download data file specified by data item id.
Implement the GET request on the fileDownload resource http://localhost:8090/iportal/web/mycontent/datas/1/download to acquire the downloa file of the date item. The name of the downloaded and the name of the data item are the same.
Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.
HEAD request can be used to check if the fileDownload resource exists, or if the fileDownload resource can be accessed by clients. It can also determine if the fileDownload resource supports an output format <format> if performed on a URI with .<format> included.