PopoOpenPlatform Api icon

PopoOpenPlatform Api

POPO OpenPlatform API

云空间 → 重命名文件

AI-generated

Overview

This node interacts with the POPO OpenPlatform API to perform various operations related to cloud storage (云空间), such as renaming files, managing folders, uploading files, and retrieving file information. Specifically, for the '重命名文件' (Rename File) operation under the '云空间' resource, it allows users to rename a file by specifying the file's item ID and the new name. This node is useful for automating file management tasks in cloud storage environments, enabling workflows that require dynamic file renaming based on external triggers or conditions.

Use Case Examples

  1. Renaming a document in cloud storage to update its title based on workflow data.
  2. Automating file organization by renaming files according to a naming convention.
  3. Integrating with other systems to rename files after processing or approval.

Properties

Name Meaning
itemId The unique identifier of the file to be renamed.
name The new name to assign to the file.

Output

JSON

  • itemId - The identifier of the renamed file.
  • name - The new name of the file after renaming.
  • response - The full response from the API call confirming the rename operation.

Dependencies

  • Requires an API key credential for POPO OpenPlatform API authentication.

Troubleshooting

  • Ensure that the 'itemId' provided corresponds to an existing file; otherwise, the API will return an error indicating the file was not found.
  • The 'name' parameter must be a valid string and comply with any naming restrictions imposed by the cloud storage service.
  • Network or authentication errors may occur if the API key credential is invalid or expired; verify credentials and connectivity.

Links

Discussion