[API] Add search orgs endpoint #7916

Open
opened 2025-11-02 07:41:25 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @qwerty287 on GitHub (Sep 30, 2021).

Feature Description

It would be great if there would be a search orgs endpoint for orgs (e.g. /orgs/search), just like it's available for repos, users and issues.

Required here: https://codeberg.org/gitnex/GitNex/issues/981

Screenshots

No response

Originally created by @qwerty287 on GitHub (Sep 30, 2021). ### Feature Description It would be great if there would be a search orgs endpoint for orgs (e.g. `/orgs/search`), just like it's available for repos, users and issues. Required here: https://codeberg.org/gitnex/GitNex/issues/981 ### Screenshots _No response_
GiteaMirror added the modifies/api label 2025-11-02 07:41:25 -06:00
Author
Owner

@ha36d commented on GitHub (Oct 3, 2021):

Right now, there is GetOwnedOrgsByUserID that returns a list of organizations are owned by given user ID. and also GetOrgsByUserID that returns a list of organizations that the given user ID has joined. The subject of feature is about all orgs, or the orgs that the user has access?

@ha36d commented on GitHub (Oct 3, 2021): Right now, there is GetOwnedOrgsByUserID that returns a list of organizations are owned by given user ID. and also GetOrgsByUserID that returns a list of organizations that the given user ID has joined. The subject of feature is about all orgs, or the orgs that the user has access?
Author
Owner

@qwerty287 commented on GitHub (Oct 3, 2021):

It's about all orgs

@qwerty287 commented on GitHub (Oct 3, 2021): It's about all orgs
Author
Owner

@ha36d commented on GitHub (Oct 3, 2021):

I will prepare a PR for this endpoint.

@ha36d commented on GitHub (Oct 3, 2021): I will prepare a PR for this endpoint.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7916