HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

CFile → Get

AI-generated

Overview

This node interacts with the HumHub API to perform operations related to the 'CFile' resource, specifically the 'Get' operation. It retrieves information about a file identified by its ID from the HumHub platform. This is useful for workflows that need to fetch file metadata or details stored in HumHub, such as automating file management or integrating file data into other systems.

Use Case Examples

  1. Retrieve details of a specific file in HumHub by its ID to use in a document management workflow.
  2. Fetch file metadata to display or process in an external application connected via n8n.

Properties

Name Meaning
Authentication The method of authentication to use for the API request, either Basic Auth or JWT Token.
ID The unique identifier of the file to retrieve from HumHub.

Output

JSON

  • id - The unique identifier of the file.
  • name - The name of the file.
  • size - The size of the file in bytes.
  • mimeType - The MIME type of the file.
  • createdAt - The timestamp when the file was created.
  • updatedAt - The timestamp when the file was last updated.
  • url - The URL to access or download the file.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the provided file ID exists in the HumHub system; otherwise, the API will return an error indicating the file was not found.
  • Verify that the authentication credentials (Basic Auth or JWT Token) are correctly configured and valid to avoid authorization errors.
  • Check network connectivity and API endpoint availability if requests fail or time out.

Links

Discussion