nat_callback.php¶
Callback receiver for NAT operations, handling asynchronous job updates and status reporting from external systems.
API Methods¶
| Method | Action | Description |
|---|---|---|
nat_callback | process nat callback | Processes incoming NAT operation callbacks to update job statuses and perform cleanup or rule updates. |
nat_callback/nat_callback¶
Processes incoming NAT operation callbacks to update job statuses and perform cleanup or rule updates.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: nat_callback |
| key | ✅ | string | The unique job key used to retrieve the original task from the queue. |
| status | ❌ | string | The status result of the operation. Can be a string or a JSON-encoded object/array containing detailed results. |
| stage | ❌ | string | The current stage of the operation. Default is 'done'. Allowed values: done, failure. |
Request example