Skip to content

Move files

POST
/api/v1/files/move
curl --request POST \
--url http://127.0.0.1:58259/api/v1/files/move \
--header 'Content-Type: application/json' \
--data '{ "bookIds": [ 1 ], "moves": [ { "bookId": 1, "targetLibraryId": 1, "targetLibraryPathId": 1 } ] }'

Bulk move files to a different location within the library.

Media type application/json

File move request

object
bookIds
Array<integer>
unique items
moves
Array<object>
object
bookId
integer format: int64
targetLibraryId
integer format: int64
targetLibraryPathId
integer format: int64
Example generated
{
"bookIds": [
1
],
"moves": [
{
"bookId": 1,
"targetLibraryId": 1,
"targetLibraryPathId": 1
}
]
}

Files moved successfully

Media type */*
object