mikebridge commented on issue #39464:
URL: https://github.com/apache/superset/issues/39464#issuecomment-4382704391

   **Update — list endpoint design changed (2026-05-05)**
   
   The `GET /api/v1/deleted/` aggregated endpoint and the 
`?include_deleted=true` query parameter described above have both been 
**withdrawn** in favour of a per-entity rison filter.
   
   **What changed**: The chart, dashboard, and dataset list endpoints now 
accept a custom rison filter — `chart_deleted_state`, 
`dashboard_deleted_state`, `dataset_deleted_state` — registered in each API's 
`search_filters` map. Values are `include` (live + soft-deleted), `only` (only 
soft-deleted), or absent (live only).
   
   **Example**: `GET 
/api/v1/chart/?q=(filters:!((col:id,opr:chart_deleted_state,value:only)))`
   
   **Why**: The original aggregated endpoint required UNION-then-sort across 
three heterogeneous tables, didn't compose with the per-entity 
filtering/sorting/pagination already shipped on the existing list endpoints, 
and introduced a new query-string convention that diverged from how every other 
Superset list filter is expressed. The per-entity rison filter expresses the 
same opt-in via the standard `q=(filters:!(...))` envelope, reuses each list 
endpoint's existing pagination/sort, and has zero new endpoint surface.
   
   Implementation, tests, and `UPDATING.md` have been updated. Frontend code 
that needs a unified Archive view will aggregate per-entity calls.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to