Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to delete an organization's avatar image. It is useful when you want to remove the current avatar associated with a specific organization in Gitea, for example, to reset it or prepare for uploading a new one.

Properties

Name Meaning
Org The name of the organization whose avatar you want to delete. This is a required string input.

Output

The node outputs JSON data representing the response from the Gitea API after attempting to delete the organization's avatar. Typically, this will confirm whether the deletion was successful. There is no binary output.

Dependencies

  • Requires an API key credential for authenticating with the Gitea instance.
  • The node expects the base URL of the Gitea server to be configured in the credentials.
  • The node uses the Gitea REST API endpoint for deleting an organization's avatar.

Troubleshooting

  • Common issues:
    • Invalid or missing organization name will cause the API call to fail.
    • Incorrect or expired API authentication token will result in authorization errors.
    • Network connectivity problems to the Gitea server can cause request failures.
  • Error messages:
    • Authorization errors typically indicate invalid credentials; verify and update your API key.
    • "Organization not found" errors mean the specified organization name does not exist; double-check the spelling.
    • HTTP 4xx or 5xx errors suggest issues with the request or server; review the API documentation and server status.

Links and References

Discussion