.. _arb-API-v2-system: ``/v2/system`` ------------------------ .. _SP23|API support added to fetch and set product key.: .. tabularcolumns:: |p{1.5cm}|p{5cm}|p{8.5cm}| +--------+---------------------------------+---------------------+ | Method | URL | Description | +========+=================================+=====================+ | GET | ``/v2/system`` | Retrieves current | | | | list of all update | | | | requests. | +--------+---------------------------------+---------------------+ | GET | ``/v2/system/daysRemaining`` | Retrieves days | | | | remaining on | | | | license. | +--------+---------------------------------+---------------------+ | GET | ``/v2/system/license`` | Retrieves license | | | | key. | +--------+---------------------------------+---------------------+ | PUT | ``/v2/system/productkey/{key}`` | Updates license key | | | | with ``{key}``. | +--------+---------------------------------+---------------------+ GET ... ``/v2/system`` Output (formatted): :: {"status": 200, "message": "Success", "data": {"Hostname": "arb", "Version": "sp23", "Theme": "themes/VOSS", "Flavor": "arbitrator", "License": "9H3EJ-aaaaa-7X79K-nnnnn-ccccc", "DaysLicensed": "365", "DaysRemaining": "171", "ProductKey": "7a426f46634971795a446e...", "Kernel": "Linux 4.14.17-lxt-3 x86_64 GNU/Linux" } } ``/v2/system/daysRemaining`` Output (formatted): :: {"status": 200, "message": "Success", "data": {"daysRemaining": "171"} } ``/v2/system/license`` Output (formatted): :: {"status": 200, "message": "Success", "data": {"license": "9H3EJ-aaaaa-7X79K-nnnnn-ccccc"} }