Gitea

Community managed lightweight code hosting solution written in Go

Go to site

Gitea API Integrations

Build and run workflows using the Gitea API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    gitea: {
      type: "app",
      app: "gitea",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.gitea.$auth.gitea_url}/api/v1/user`,
      headers: {
        Authorization: `Bearer ${this.gitea.$auth.apiKey}`,
      },
    })
  },
})

Authentication

Gitea uses API keys for authentication. When you connect your Gitea account, Pipedream securely stores the keys so you can easily authenticate to Gitea APIs in both code and no-code steps.

An API key token is created via the Gitea installation’s web interface: Settings | Applications | Generate New Token.