curl -X POST https://app.apiton.org/v2.Watch/Test \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer 123456789:aB3dE…' -d '{"id":"41"}'
# {"event":{"id":"124","watch_id":"41","type":"test",…,"delivery":"delivered"},
# "delivered":true,"status":200,"watch":{…}}test and, when the watch has a webhook, sends it at once and answersstatus, error). A delivered test makes a failing or pausedactive again; a failed one changes nothing but last_error. It is outside the hourlyresource_exhausted). Without a webhook the event isPoll, which is how to try Poll out.{
"id": "string"
}curl --location 'https://app.apiton.org/v2.Watch/Test' \
--header 'Content-Type: application/json' \
--data '{
"id": "string"
}'{
"event": {
"id": "string",
"watch_id": "string",
"address": "string",
"kind": "string",
"name": "string",
"type": "string",
"at": "2019-08-24T14:15:22.123Z",
"status": "string",
"owner": "string",
"previous_owner": "string",
"price": "string",
"currency": "string",
"bid": "string",
"bidder": "string",
"previous_bidder": "string",
"auction_end": "2019-08-24T14:15:22.123Z",
"tx": {
"hash": "string",
"lt": "string",
"time": "2019-08-24T14:15:22.123Z",
"success": true,
"fee": "string",
"direction": "string",
"amount": "string",
"symbol": "string",
"from": "string",
"to": "string",
"operation": "string",
"op_code": 0,
"nft_op": "string",
"out_messages": 0
},
"truncated": true,
"delivery": "string"
},
"delivered": true,
"status": 0,
"error": "string",
"watch": {
"id": "string",
"address": "string",
"kind": "string",
"name": "string",
"status": "string",
"min_amount": "string",
"paused": true,
"poll_interval_seconds": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"last_polled_at": "2019-08-24T14:15:22.123Z",
"webhook": {
"url": "string",
"state": "string",
"last_error": "string",
"pending": 0,
"last_attempt_at": "2019-08-24T14:15:22.123Z",
"last_success_at": "2019-08-24T14:15:22.123Z",
"failing_since": "2019-08-24T14:15:22.123Z",
"next_attempt_at": "2019-08-24T14:15:22.123Z"
}
}
}