get_stats

To obtain data on the status of history retransmission, use the retranslator/get_stats command.

svc=retranslator/get_stats&params={"itemId":<long>}

Parameters

The request must contain the itemId parameter, specifying the retranslator ID.

Response

If the request is completed successfully, a response of the following format is returned:

Copied!
{
    "au": <long>, /* The number of objects which have been added to the retranslator or removed from it directly. */
    "ru": <long>, /* The number of objects in the queue for history retransmission */
    "hf": <long>, /* Time when the retransmission started. */
    "ht": <long>  /* Time when the retransmission finished. */
    "hc": <uint>, /* Time of the last retransmitted message. */
    "hms": <uint>, /* Current queue of historical messages. */
    "hp": <uint>, /* Progress percentage. */
}

Otherwise, an error code is returned.

Error codes

Error code Description
7 No ADF_ACL_AVL_RETR_EDIT_SETTINGS access right to the retranslator.
4 Wrong input parameters.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Your message was sent. Thank you!

Report a mistake

An error occurred while submitting the form

Download PDF file
Download Word document

See also