Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node operation fetches the inbox of a specified ActivityPub Person. ActivityPub is a decentralized social networking protocol, and the "Person Inbox" typically contains activities or messages directed to that user. This node is useful for applications that need to retrieve incoming activities such as notifications, messages, or interactions for a given user in an ActivityPub-compatible network.

Practical examples include:

  • Fetching new notifications or messages for a user on a federated social platform.
  • Integrating with decentralized social networks to monitor user activity.
  • Building custom dashboards or automation workflows based on incoming ActivityPub activities.

Properties

Name Meaning
User Id The numeric ID of the user whose ActivityPub inbox is to be retrieved.

Output

The output JSON will contain the data fetched from the specified user's ActivityPub inbox. This typically includes an array or collection of activity objects representing messages, notifications, or other activities sent to the user.

If the node supports binary data (not evident from the provided code), it would represent any media or attachments included in the activities, but no explicit binary output handling is shown here.

Dependencies

  • Requires access to an ActivityPub-compatible server or service where the user's inbox can be queried.
  • Needs appropriate API credentials or authentication tokens configured in n8n to authorize requests to the ActivityPub service.
  • No additional external libraries or environment variables are explicitly required beyond standard HTTP request capabilities.

Troubleshooting

  • Common issues:

    • Invalid or missing User Id parameter will prevent fetching the inbox.
    • Network connectivity problems or incorrect API endpoint configuration may cause request failures.
    • Authentication errors if API credentials are not set up correctly.
  • Error messages:

    • Errors related to authorization usually indicate missing or invalid API keys; verify credential setup.
    • Timeout or connection errors suggest network issues or incorrect base URL configuration.
    • Unexpected response formats might occur if the target server does not fully support ActivityPub or uses a different API version.

Links and References

Discussion