Skip to content

Handle more acquisitions on-disk

Compare
Choose a tag to compare
@djanderson djanderson released this 15 Mar 21:50
· 1099 commits to master since this release

This release makes several modification to the API in order to better handle having a large number of acquisitions on disk. The changes include

  • Pagination enabled - any endpoint that previously returned an array of objects now returns an object containing next and previous page links, a link count, and results which holds the original array. Thank to this, loading a very large list of acquisitions will not crash the system.
GET /api/v1/schedule/

HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 5,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}
  • The DRF API allows searching and sorting by various fields (using the new Filtering button)
  • /api/v1/acquisitions/ overview now includes an archive link option which will create a single multi-recording SigMF archive of all available acquisitions
  • Switches to new API documentation webpage generator so that auto-generated docs at https://ntia.github.io/scos-sensor/ are now accurate