API UX: internal IDs shouldn't leak #14012
Labels
modifies/api
This PR adds API routes or modifies them
topic/ui-interaction
Change the process how users use Gitea instead of the visual appearance
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Working with the gitea API in
tea
, I noticed some shortcomings:I propose to resolve these name <-> ID mappings internally and not leak this internal data model detail. Changes would be breaking, but IMO they're worth it.
This increases both usability as well as performance, as no more extra roundtrip to resolve IDs would be needed.
The text was updated successfully, but these errors were encountered: