Skip to content

✨ Create Efficient Content Type Fetching Endpoint #32238

@fmontes

Description

@fmontes

Problem Statement

Fetching content types from the backend using the current API causes performance issues with large datasets (e.g., thousands of content types). This leads to oversized payloads that fail to return, causing timeouts and harming user experience and system reliability.

Objectives

  • Develop a new backend endpoint that retrieves content types based on the information of a specified page.
  • Implement a mechanism that effectively reduces the payload size and response time.

User Story

As a front-end developer, I want to fetch relevant content types for a specific page from the backend without sending extensive lists.

Acceptance Criteria

  • The new endpoint accepts page url and returns associated content types.
  • Backend processing of page information to content types is accurate and efficient.

External Links

[Placeholder for external links to tech specifications, API docs, or similar resources.]

Assumptions & Initiation Needs

  • Assume that the server can fetch the content just from the page URL.
  • Initial data mapping of pages to content types is required to facilitate efficient querying.

Quality Assurance Notes & Workarounds

Update tomcat settings to allow bigger header.

Technical Details

#32238 (comment)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions