Skip to content

Sort checkout nodes by newest first in API response #582

Description

@padovan

When fetching data from https://kernelci-api.westus3.cloudapp.azure.com/latest/nodes?data.kernel_revision.tree=mainline&kind=checkout we get oldest checkout first, forcing the user to keep pulling pages in.

It would be great to order data by newest first on the server side.

ref:

def _prepare_query(self, attributes):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions