Get compressed tokens data
In order to receive the generated data of a number of tokens that was formerly requested with a preset alphabet for a number of digits, the identifier of the tokens object MUST be sent as the first HTTP request path parameter together with data as the second HTTP request path parameter. In order to receive the data compressed by the standard GNU zip (gzip) compression algorithm, the request path attribute format=gz MUST be sent.
The remote service streams the data CSV-formatted (one token per line) and GZ-compressed as chunks in the response body. The service consumer is responsible to save the streamed data to a GZ file.
Request endpoint
GET SERVER:PORT/api/tokens/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/data?format=gz
Response status
200
Request headers
Accept:application/vnd.api+json
Content-Type:application/vnd.api+json
Session-Key:SSSSSSSS-SSSS-SSSS-SSSS-SSSSSSSSSSSS
Response headers
Transfer-Encoding:chunked
Connection:keep-alive
Date:Tue, 19 Mar 2024 12:52:50 GMT
Content-Type:application/json; charset=utf-8
Server:nginx/1.25.4
Request body
# intentionally blank
Response body
# intentionally blank
HTTPie example
$ http get SERVER:PORT/api/tokens/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/data?format=gz Accept:application/vnd.api+json Content-Type:application/vnd.api+json Session-Key:SSSSSSSS-SSSS-SSSS-SSSS-SSSSSSSSSSSS