Skip to content

Components/Maestro/API/Local instance says GET /latest/ should return some JSON, but it doesn't #632

@terceiro

Description

@terceiro

The documentaion says this:

It can take a few minutes to build the images from scratch the first time. Then the services should be up and running. To confirm the API is available:

$ curl http://localhost:8001/latest/
{"message":"KernelCI API"}

However this is not what I observed:

$ curl http://localhost:8001/latest/
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>KernelCI API Server</title>
    <style>
        body { font-family: Arial, sans-serif; background: #f8f9fa; color: kernelci/kernelci-project#222; margin: 0; padding: 0; }
        .container { max-width: 600px; margin: 60px auto; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); padding: 32px; }
        h1 { color: #0057b7; }
        a { color: #0057b7; text-decoration: none; }
        a:hover { text-decoration: underline; }
        .logo { width: 120px; margin-bottom: 24px; }
    </style>
</head>
<body>
    <div class="container">
        <img src="https://kernelci.org/wp-content/uploads/sites/92/2019/10/kernelci-horizontal-color.svg" alt="KernelCI Logo" class="logo"/>
        <h1>KernelCI API Server</h1>
        <p>Welcome! This is the <b>KernelCI API</b> server endpoint.</p>
        <p>Use this service to interact with the KernelCI Maestro API via RESTful API calls.</p>
        <p>For more information about KernelCI, please visit <a href="https://kernelci.org/" target="_blank">kernelci.org</a>.</p>
        <p>API documentation and usage instructions can be found in the <a href="https://docs.kernelci.org/" target="_blank">KernelCI documentation</a>.</p>
        <hr/>
        <p style="font-size: 0.95em; color: #888;">&copy; 2025 KernelCI Project</p>
    </div>
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions