Skip to content

feat: add delete multiple pieces functionality#586

Closed
akronim26 wants to merge 1 commit intoFilOzone:masterfrom
akronim26:delete-mulitiple-pieces
Closed

feat: add delete multiple pieces functionality#586
akronim26 wants to merge 1 commit intoFilOzone:masterfrom
akronim26:delete-mulitiple-pieces

Conversation

@akronim26
Copy link
Copy Markdown
Contributor

This PR adds the functionality of deleting multiple pieces from a dataset in one go. It resolves #551.

@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Feb 3, 2026
export async function deletePieces(options: deletePieces.OptionsType): Promise<deletePieces.ReturnType> {
const { endpoint, dataSetId, pieceIds, extraData } = options
const response = await request.json.post<deletePieces.ReturnType>(
new URL(`pdp/data-sets/${dataSetId}/pieces/removals`, endpoint),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think curio has this endpoint yet. If you are working on that too, please link your PR. It should target the pdpv0 branch.

@BigLep BigLep added this to the MX: Priority and sequencing TBD milestone Feb 9, 2026
@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting review in FOC Feb 9, 2026
@rvagg
Copy link
Copy Markdown
Collaborator

rvagg commented Feb 26, 2026

Closing this for now, sorry @akronim26, but since we don't have a matching API for curio yet, and that work is actually going to be the hard part of this, then we'll wait till we have it there before we do it here so we avoid the bitrot of having a PR open and waiting. It's not lost work, it's just going to be harder to keep this open and rebased until we're ready for it.
See #551 (comment)

@rvagg rvagg closed this Feb 26, 2026
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to 🎉 Done in FOC Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

Add delete multiple pieces in one go

4 participants