forgejo/routers/api/v1
Gergely Nagy c647e8639f
api: The repo wiki APIs should respect WikiBranch
Back in #2264, we made it possible to change the branch wikis use from
the hardcoded "master" branch to `[repository].DEFAULT_BRANCH`. However,
the API endpoints were not updated, and the "master" branch remained
hardcoded there.

This change fixes that, the API endpoints will now respect the
repository's `WikiBranch`.

Fixes #3391.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-25 00:36:58 +02:00
..
activitypub
admin Fix empty field login_name in API response JSON when creating user (#30511) 2024-04-21 11:59:16 +02:00
misc
notify
org
packages
repo api: The repo wiki APIs should respect WikiBranch 2024-04-25 00:36:58 +02:00
settings
shared
swagger feat(api): implement branch/commit comparison API (#30349) 2024-04-21 11:58:18 +02:00
user
utils
api.go feat(api): implement branch/commit comparison API (#30349) 2024-04-21 11:58:18 +02:00