PopoOpenPlatform Api icon

PopoOpenPlatform Api

POPO OpenPlatform API

云空间 → 获取文件访问 URL

AI-generated

Overview

This node interacts with the POPO OpenPlatform API, specifically supporting various operations under the '云空间' (Cloud Drive) resource, including obtaining file access URLs. It is useful for automating file management tasks such as retrieving file URLs, managing folders, uploading files, and handling document operations within a cloud storage environment. For example, users can automate the retrieval of a file's access URL to share or process files programmatically.

Use Case Examples

  1. Automatically retrieve the access URL of a file stored in the cloud drive to share it via email or messaging platforms.
  2. Manage cloud drive folders and documents by creating, renaming, or deleting them through automated workflows.
  3. Upload files to the cloud drive and get their URLs for further processing or sharing.

Properties

Name Meaning
docId The unique identifier of the document or file for which the access URL or other operations are requested.
category The category of the operation, such as folder, file upload, file operations, user center, or asynchronous tasks, used to specify the context of the API call.

Output

JSON

  • url - The access URL of the requested file or document.
  • docId - The document ID related to the access URL.
  • status - The status of the API request or operation.
  • message - Additional message or information returned by the API.

Dependencies

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

Troubleshooting

  • Ensure the 'docId' parameter is correctly provided and corresponds to an existing document or file; missing or incorrect IDs will cause errors.
  • Verify that the API credentials are valid and have the necessary permissions to access the cloud drive resources.
  • Check network connectivity and API endpoint availability if requests fail or time out.
  • For file uploads, ensure the file path exists and the file format and size meet the API requirements to avoid upload errors.

Links

Discussion