Skip to content

Conversation

@svenvg93
Copy link
Contributor

@svenvg93 svenvg93 commented May 14, 2025

📃 Description

This PR adds a option to trigger the speedtest via the API

Default return message:

{
    "data": {
        "id": 494
    },
    "message": "Speedtest started."
}

📖 Documentation

Add a link to the PR for documentation changes.

🪵 Changelog

➕ Added

  • /api/v1/speedtests to start a speedtest with the CLI auto select
    - ?server_id=1234 start a speedtest with specifying the server id
    - ?await=true to wait for the speedtest and return the results in the answer

🔧 Fixed

📷 Screenshots

If this PR has any UI/UX changes it's strongly suggested you add screenshots here.

@svenvg93 svenvg93 marked this pull request as ready for review May 16, 2025 11:39
@svenvg93 svenvg93 requested a review from alexjustesen as a code owner May 16, 2025 11:39
@svenvg93 svenvg93 closed this May 19, 2025
@svenvg93 svenvg93 deleted the api-start branch May 19, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remotely trigger speedtests

1 participant