Skip to content

[BUG] Feed API Includes Unnecessary Fields #41

@omerfdmrl

Description

@omerfdmrl

Severity / Priority

  • Low
  • Medium
  • High
  • Critical

Expected Behavior

The content preview endpoints such as feed, should return only the fields required for the preview.

Current Behavior

The feed endpoint currently returns unnecessary data, including:

  • Full article content
  • Article tags/categories (with followers, isFollowing)
  • Article author details (followers, followings, isFollowing, created_at)
  • Article sources
  • Article reacts (likes, dislikes, comments, isLiked, isDisliked, isSaved)
  • Article actions (canUpdate, canDelete)
    These fields are not used on the front-end and should be excluded from the preview response.

Possible Solution

Create new Data for preview or filter current data

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions