Skip to content

feat: add new HS APIs: copy/move file, delete folder - #558

Draft
ok300 wants to merge 4 commits into
pubky:mainfrom
ok300:ok300-add-new-hs-api-ops-copy-move-file-delete-folder
Draft

feat: add new HS APIs: copy/move file, delete folder#558
ok300 wants to merge 4 commits into
pubky:mainfrom
ok300:ok300-add-new-hs-api-ops-copy-move-file-delete-folder

Conversation

@ok300

@ok300 ok300 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Extends the HS API to allow for 3 new operations:

  • copy / move file
  • delete folder

The first two are new API methods, the last one is an extension of the existing delete API.

All operations are synchronous.

When the HS receives these calls, the matching events are created:

  • copy file: a PUT event
  • move file: a PUT for the new path, a DEL for the source path
  • delete folder: a DEL for every affected file in that folder, reccursively

Fixes #522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add hew HS API ops: copy file, move file, delete folder (recursive)

1 participant