Chatwork icon

Chatwork

Retrieve data from Chatwork API.

Room → Get File Detail

AI-generated

Overview

This node operation retrieves detailed information about a specific file within a selected Chatwork room. It is useful for scenarios where users need to access metadata or details of files shared in Chatwork rooms, such as file size, upload date, or download links. For example, a user can specify a room and file ID to get the file's details and optionally generate a temporary download URL for the file.

Use Case Examples

  1. Retrieve file details from a project discussion room to verify file version and size.
  2. Generate a temporary download URL for a file shared in a team room to share with external collaborators.

Properties

Name Meaning
Room ID Select a room or enter a Room ID manually to specify the Chatwork room containing the file.
File ID ID of the file to retrieve details for.
Create Download URL Boolean flag to indicate whether to create a temporary download URL for the file.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • file_id - The unique identifier of the file.
  • file_name - The name of the file.
  • file_size - The size of the file in bytes.
  • upload_time - The timestamp when the file was uploaded.
  • download_url - A temporary URL to download the file, if requested.

Dependencies

  • Chatwork API key credential

Troubleshooting

  • Ensure the Room ID is a valid numeric string; otherwise, the node will throw a validation error.
  • File ID must be provided and be a valid number; missing or invalid File ID will cause the request to fail.
  • If 'Create Download URL' is enabled, the API might return an error if the file does not support download URLs or if permissions are insufficient.
  • Network issues or incorrect proxy settings can cause request failures; verify proxy configuration and network connectivity.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.

Links

Discussion