End of Check Task
- URL:
/EndResults/{uuid}
- Method:
GET
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
uuid | string | Yes | The uuid obtained from the check task interface |
Request Example
shcurl -X GET -k $API_URL/EndResults/$UUID
💡 Note, the parameter uuid is obtained from the check task interface.
Successful Response
Example of successful response code:
json{
"status": "ok",
"LiveList": ["52673609611211111|12|28|051"],
"DieList": ["52673601792232222|01|26|651"],
"ErrorList": [],
"FormatErrorList": [],
"WaitList": [],
"n1": 3,
"n2": 2,
"uuid": "d4ddf512-7fe5-4992-ab7c-4bca0bcba401"
}
💡 Note, after actively ending the check task, the uuid will be automatically released, and it will no longer be allowed to obtain check results. When deducting points, only the number of cards with Live or Die results will be deducted, and not the number of Error and Format cards.
Error Response
Example of error response code:
json{
"status": "error",
"errorMsg": ""
}
Explanation of Response Parameters
Attribute Name | Type | Description |
---|---|---|
status | string | wait, error, or ok |
LiveList | string[] | List of live cards |
DieList | string[] | List of dead cards |
ErrorList | string[] | List of error cards |
WaitList | string[] | List of cards waiting for check |
FormatErrorList | string[] | List of cards with format errors |
n1 | int | Total number of cards |
n2 | int | Number of cards checked |
errorMsg | string | Error message |