Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openapi: items量大 可否提供分页接口呢 #4320

Closed
lic0914 opened this issue Apr 22, 2022 · 2 comments · Fixed by #4468
Closed

openapi: items量大 可否提供分页接口呢 #4320

lic0914 opened this issue Apr 22, 2022 · 2 comments · Fixed by #4468
Labels
feature request Categorizes issue as related to a new feature. help wanted

Comments

@lic0914
Copy link

lic0914 commented Apr 22, 2022

业务配置items 相对量大点

通过API获得 获得选中某个namespace下的items
量大的话很卡的,却不支持分页

清晰简洁地描述一下你希望的解决方案
期望可以通过API获得简介的namespaces (而不是包含所有的items)然后通过选择特定的ns 再分页请求items
非常感谢!

@nobodyiam
Copy link
Member

Good idea, I think a new API could be added to load the items with pagination.
URL: http://{portal_address}/openapi/v1/envs/{env}/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/items
Method: GET
Request Params:

  • page - page number, starting from 0
  • size - records in each page

@lic0914
Copy link
Author

lic0914 commented Apr 23, 2022

Yeah!I think so expected
Thanks

@nobodyiam nobodyiam added the feature request Categorizes issue as related to a new feature. label Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Categorizes issue as related to a new feature. help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants