Sorting functionality (API)
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 755
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
Also I didn't find any sort functionality in the API, something like:
|
v
/api/v1/data/list?order_by=upload_date|asc
/api/v1/data/list?order_by=processing_date|desc
/api/v1/data/list?order_by=version|desc
/api/v1/data/list/order_by/processing_date|desc (OpenML API style)
A full example to show the latest datasets:
/api/v1/data/list/order_by/upload_date|desc/limit/20/offset/1 (OpenML API style)
It would be great if we could execute:
SELECT ... ORDER_BY upload_date DESC ...;
Related issues:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the API data-list endpoint represented by the /api/v1/data/list examples and review related issue #702. Determine how sorting by upload_date, processing_date, and version should work alongside limit and offset; done means the documented request examples return datasets in the requested order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100