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

Create API endpoint(s) for nested, paginated topic tree data retrieval #8108

Closed
rtibbles opened this issue May 25, 2021 · 0 comments · Fixed by #8138
Closed

Create API endpoint(s) for nested, paginated topic tree data retrieval #8108

rtibbles opened this issue May 25, 2021 · 0 comments · Fixed by #8138
Assignees
Labels
P0 - critical Priority: Release blocker or regression

Comments

@rtibbles
Copy link
Member

The new channel display for 0.15 requires showing multiple levels of the ContentNode hierarchy at once, and also for properly paginating the contents of these topics.

Using our current APIs this would result in requests to:

  • Get the parent topic
  • Get the child topics (up to the pagination limit - N)
  • N requests to get the paginated children of each of the child topics

This issue proposes instead to create a single endpoint that returns all of this information in a single request. As this will be the primary means by which the topic tree is navigable, this will still have the virtue of being easily cacheable and reusable across multiple clients.

@rtibbles rtibbles self-assigned this May 25, 2021
@rtibbles rtibbles added the P0 - critical Priority: Release blocker or regression label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant