Unable to get teams information using /orgs/{org}/teams?page={page}&limit={limit} #11890

Closed
opened 2025-11-02 09:51:04 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @YannMagnin on GitHub (Oct 20, 2023).

Description

When I try to get teams' information using GET on /orgs/{org}/teams?page={page}&limit=1 the returned status is always 200 and None as data. Other API endpoint like /orgs?page={page}&limit=1, /users/{user}/repos?page={page}&limit=1, ... work as expected.

Gitea Version

1.20.5, 1.20.4, 1.20.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Linux Mint, EndeavourOS

How are you running Gitea?

Official binaries, and running from systemd and command-line

Database

SQLite

Originally created by @YannMagnin on GitHub (Oct 20, 2023). ### Description When I try to get teams' information using GET on `/orgs/{org}/teams?page={page}&limit=1` the returned status is always `200` and `None` as data. Other API endpoint like `/orgs?page={page}&limit=1`, `/users/{user}/repos?page={page}&limit=1`, ... work as expected. ### Gitea Version 1.20.5, 1.20.4, 1.20.3 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System Linux Mint, EndeavourOS ### How are you running Gitea? Official binaries, and running from systemd and command-line ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 09:51:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11890