The CureIt object contains data about the CureIt! utility. The key set of the object depends on the status of the utility.
Structure
Key
|
Type
|
Description
|
status
|
string
|
The current status of the CureIt! utility. Possible values:
successful: the utility has been created.
processing: the utility is being created.
failed: unable to create the utility.
deleted: the utility has been deleted (it happened automatically in 10 days after the utility was created).
|
retries
|
object/null
|
Details about attempts to re-create the utility.
If the utility status is successful or processing, then the retries value is set to null, indicating that the utility cannot be re-created. For any other status, you’ll have 3 attempts (represented by the left field). After every failed attempt, the value is decreased by 1. If no attempts are left, and the utility has still not been created, the field after will appear, showing the date and time when you can try re-creating the utility again.
|
|
left
|
integer
|
The number of remaining attempts to create the utility. Possible values: 3 to 0.
|
|
after
|
string
|
The date and time in ISO 8601 format with a time zone added (yyyy-MM-dd'T'HH:mm:ss.ssssssZ).
|
Examples
•The utility has been created:
{
"status": "successful",
"retries": null
}
|
•The utility is being created:
{
"status": "processing",
"retries": null
}
|
•The utility has been deleted, and you have 3 attempts to re-create it:
{
"status": "deleted",
"retries": {
"left": 3
}
}
|
•The creation of the utility has failed with no remaining attempts to re-create it:
{
"status": "failed",
"retries": {
"after": "2018-07-31T11:42:36.873274+00:00",
"left": 0
}
}
|
|