Skip to content

Add API endpoint to remove a document from one folder index and add to another #55

@reganwolfrom

Description

@reganwolfrom

As folders hold a list of documents within, moving a document from one folder to another would require an API call to remove the document from the source folder and add to the destination folder.

Example endpoint:

POST /documents/{id}/move
{"sourceFolder": "Client ABC", "destinationFolder": "Client ABC/Client ABC Workspace"}

NOTE: if we want to use move as the resource, we can also include siteId in future, allowing a move between folders, sites, or both, e.g., sourceSiteId

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions