API endpoint to empty (truncate) a table
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 214
- Forks
- 52
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 82
Description
Is your feature request related to a problem? Please describe.
Sometimes you need to put new data into a table, replacing an old data.
Right now it's possible, but you need to get the list of rows and then delete them one by one.
Describe the solution you'd like
DELETE /index.php/apps/tables/api/1/views/{viewId}/rows/* or something like that.
Describe alternatives you've considered
#437 With option to delete all
Additional context
No response
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 reviewing the existing rows API for views and the related issue #437, then determine how a DELETE request should identify the table or view and represent truncation. Done means a documented endpoint can replace a table's existing data without requiring clients to delete rows individually, with behavior aligned to the existing API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100