msoe-dise-project / ringling

A service to track model training parameters, trained models, and model tests
Apache License 2.0
0 stars 0 forks source link

Add pagination #15

Closed rnowling closed 1 year ago

rnowling commented 1 year ago

Instead of returning all parameter sets, models, and tests, allow sorting and paging. Example page structure:

{
    "pagination": {
                "_links": {"next": {"href": "/v2/animals?type=dog&page=2"}},
                "count_per_page": 20,
                "current_page": 1,
                "total_count": 146386,
                "total_pages": 7320
    }
}