Migrate old callout syntax

This commit is contained in:
mDuo13
2024-10-09 15:26:34 -07:00
parent 4d3d3edece
commit f42bb6c813
364 changed files with 607 additions and 603 deletions

View File

@@ -13,7 +13,7 @@ The {% code-page-name /%} method removes a specific [peer reservation][], if one
_The {% code-page-name /%} method is an [admin method](../index.md) that cannot be run by unprivileged users._
**Note:** Removing a peer reservation does not automatically disconnect the corresponding peer, if that peer is connected.
{% admonition type="info" name="Note" %}Removing a peer reservation does not automatically disconnect the corresponding peer, if that peer is connected.{% /admonition %}
### Request Format
@@ -119,7 +119,7 @@ The response follows the [standard format][], with a successful result containin
|:--------|:-------|:----------------------------------------------------------|
| `previous` | Object | _(May be omitted)_ A **peer reservation object** with the last state of the peer reservation before deleting it. This field is always provided if a peer reservation was successfully deleted. |
**Note:** If the specified reservation did not exist, this command returns success with an empty result object. In this case, the `previous` field is omitted.
{% admonition type="info" name="Note" %}If the specified reservation did not exist, this command returns success with an empty result object. In this case, the `previous` field is omitted.{% /admonition %}
#### Peer Reservation Object

View File

@@ -412,7 +412,7 @@ The `metrics` object contains the following fields:
| `total_bytes_recv` | String | The total number of bytes of data received from this peer. |
| `total_bytes_sent` | String | The total number of bytes of data sent to this peer. |
**Note:** All of the fields in the `metrics` object are 64-bit unsigned integers serialized to string format so that they do not lose precision in JSON encoding/decoding.
{% admonition type="info" name="Note" %}All of the fields in the `metrics` object are 64-bit unsigned integers serialized to string format so that they do not lose precision in JSON encoding/decoding.{% /admonition %}
### Possible Errors