Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 1.15 KB

File metadata and controls

43 lines (37 loc) · 1.15 KB

Latest Result

Legacy Endpoints

Authentication

No authentication required.

{% swagger method="get" path="" baseUrl="/api/speedtest/latest" summary="Get the latest speedtest result" expanded="false" %} {% swagger-description %} Provides backwards compatibility for Homepage and Organizr home lab dashboards. {% endswagger-description %}

{% swagger-response status="200: OK" description="" %}

{
    "message": "ok",
    "data": {
        "id": 1,
        "ping": 11.111,
        "download": 694.20,
        "upload": 420.69,
        "server_id": 12345,
        "server_host": "host.of.server.com",
        "server_name": "Name of Server",
        "url": "https://www.speedtest.net/result/c/slug-to-results",
        "scheduled": false,
        "failed": true,
        "created_at": "2023-03-10T13:17:46.000000Z",
        "updated_at": "2023-03-10T13:17:46.000000Z"
    }
}

{% endswagger-response %}

{% swagger-response status="404: Not Found" description="" %}

{
    "message": "No results found."
}

{% endswagger-response %} {% endswagger %}