Get 1st started info

In order to get the started (instead of the current) status of the production line of the 1st tokens part, the identifier of the tokens object MUST be sent as the first HTTP request path parameter together with started as the second HTTP request path parameter.

If the JSON response body contains the path data attributes status: started together with other attribute–value pairs, the production of the 1st tokens part is in progress. In this case, neither the tokens data nor the snapshot of the production line is linked in it or available for download at this point.

Request endpoint

GET SERVER:PORT/api/tokens/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/started

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
Accept:application/vnd.api+json
Cache-Control:no-cache
Date:Tue, 19 Mar 2024 12:55:20 GMT
Content-Type:application/vnd.api+json
Server:nginx/1.25.4

Request body

# intentionally blank

Response body

{
    "meta": {
        "seed": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
    },
    "links": {
        "self": "/api/tokens",
        "info": "/api/tokens/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
    },
    "data": {
        "attributes": {
            "timestamps": {
                "started": "2024-03-19T12:53:22.048Z",
                "requested": "2024-03-19T12:53:16.143Z"
            },
            "status": "started",
            "analysis": "none",
            "progress": 0,
            "size": "50000",
            "digits": "20",
            "reachable": "52428",
            "alphabet": "UPPER_EPCG30",
            "available": "348678440100000000000000000000"
        },
        "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
        "type": "tokens",
        "relationships": {
            "payment": {
                "data": {
                    "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
                    "ident": "pi_XXXXXXXXXXXXXXXXXXXXXXXX",
                    "type": "transaction"
                }
            }
        }
    }
}

HTTPie example

$ http get SERVER:PORT/api/tokens/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/started Accept:application/vnd.api+json Content-Type:application/vnd.api+json Session-Key:SSSSSSSS-SSSS-SSSS-SSSS-SSSSSSSSSSSS