Gitea API Usage

    Gitea supports these methods of API authentication:

    • token=… parameter in URL query string
    • access_token=… parameter in URL query string

    For historical reasons, Gitea needs the word token included beforethe apiKey token in an authorization header, like this:

    As mentioned above, the token used is the same one you would use inthe token= string in a GET request.

    Using basic authentication: