Skip to content

API Rename File #11775

Description

@HappyTreeBeard

Is there an API command that can be used to rename a file within a torrent?

The feature to allow the WebUI to rename files within a torrent was discussed in #8892 and was implemented in #11029.

These changes were implemented using the api/v2/torrents/renameFile API command as seen below:

new Request({
url: 'api/v2/torrents/renameFile',
method: 'post',
data: {
hash: hash,
id: id,
name: newName
},

I could not find any documentation for this renameFile command in the Web API Documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions