[FEATURE] Add inUse property and support pagination for list tags api
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 935
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 315
Description
### Describe the feature
we can list metadata objects associated with a tag
`http://localhost:8090/api/metalakes/:metalake/tags/:tag/objects`
Can we get the associated number from the list tags api?
### Motivation
1. I want to show the inUse number for tag list page
2. 20 tags、50 tags or more tags per page
3. I should request 20、 50 times or more to get all the numbers
4. One-time highly concurrent api requests are something we need to avoid
### Describe the solution
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Start by inspecting the list tags API and the metadata objects endpoint at /api/metalakes/:metalake/tags/:tag/objects. Done means the list tags response provides each tag's inUse count and supports requesting multiple pages without one request per tag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100