1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 16:14:26 +00:00
gitea/docs/content/doc/developers/integrations.en-us.md
AJ ONeal b9a0e33238
Pre-fill suggested New File 'name' and 'content' with Query Params (#16556)
* feature: add (GitHub-style) querystrings for pre-filling new file content

* docs: add query parameters for new files
2021-07-29 05:39:46 +02:00

1.2 KiB

date title slug weight toc draft menu
2019-04-15T17:29:00+08:00 Integrations integrations 40 false false
sidebar
parent name weight identifier
developers Integrations 65 integrations

Integrations

Gitea has a wonderful community of third-party integrations, as well as first-class support in various other projects.

We are curating a list over at awesome-gitea to track these!

If you are looking for CI/CD, an SDK, or even some extra themes, you can find them listed in the awesome-gitea repository!

Pre-Fill New File name and contents

If you'd like to open a new file with a given name and contents, you can do so with query parameters:

GET /{{org}}/{{repo}}/_new/{{filepath}}
    ?filename={{filename}}
    &value={{content}}

For example:

GET https://git.example.com/johndoe/bliss/_new/articles/
    ?filename=hello-world.md
    &value=Hello%2C%20World!