Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with a Gitea server via its API, specifically allowing you to update a user's secret. It is useful in scenarios where you need to programmatically manage user secrets such as tokens, keys, or other sensitive data stored within Gitea. For example, you might automate the rotation of user secrets or update credentials after a security incident.

Properties

Name Meaning
Secretname The name identifier of the secret to update.
Data The new data content for the secret.

Output

The node outputs JSON data representing the response from the Gitea API after updating the user secret. This typically includes confirmation of the update or details about the updated secret. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential to authenticate with the Gitea server.
  • Needs the base URL of the Gitea instance configured in the credentials.
  • Depends on the @devlikeapro/n8n-openapi-node package and the bundled OpenAPI specification (openapi.json) for request building.

Troubleshooting

  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions to update user secrets.
  • Invalid secret name or data: Verify that the secret name exists and the data format matches what Gitea expects.
  • Network issues: Confirm that the Gitea server URL is reachable and correct.
  • API changes: If the Gitea API version changes, the node’s OpenAPI spec may become outdated, causing failures.

Links and References

Discussion