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

Improve performance of endpoint to list pages on the Portal API #9053

Closed
exalate-issue-sync bot opened this issue May 12, 2023 · 0 comments
Closed

Improve performance of endpoint to list pages on the Portal API #9053

exalate-issue-sync bot opened this issue May 12, 2023 · 0 comments

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented May 12, 2023

Describe the bug :

The Portal API exposes an endpoint to list all the pages of an API or retrieve a single page, for instance: /portal/environments/DEFAULT/apis/<span class="error"><span class="error">[id]</span></span>/pages

/management/organizations/DEFAULT/environments/DEFAULT/apis/[id]/pages

which takes around 200 ms to return versus

/portal/environments/DEFAULT/apis/[id]/pages

which takes around 11 seconds to return.

Same is for loading single pages:

/management/organizations/DEFAULT/environments/DEFAULT/apis/[id]/pages/[page_id]

returns in 400 ms while the portal api endpoints:

/portal/environments/DEFAULT/apis/[id]/pages/[page_id]

requires 11 seconds again

linked to #9042

Desktop :

  • Environment: [e.g. 3.20.x] 3.18.14
  • Browser [e.g. chrome, safari]

* Please see Zendesk Support tab for further comments and attachments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants