Skip to content

[Request] API to list reviews of an item (full Review objects) #1687

Description

@lcandy2

Is your feature request related to a problem? Please describe.

The web shows all reviews of an item at /{type}/{uuid}/review_list. Via the API, the only route is indirect and N+1: GET /api/item/{item_uuid}/posts/?type=review returns Mastodon-shaped posts (not review bodies), then each review must be fetched individually with GET /api/review/{review_uuid}.

Describe the solution you'd like

GET /api/item/{item_uuid}/review/ — paginated, visibility-filtered list of full Review objects for an item.

Describe alternatives you've considered

The posts + per-review workaround described above; it works but costs one request per review and loses ordering/pagination guarantees.

Additional context

Split from #1671 (one issue per request). Related: #1311 requests reviews listed by user; this is by item.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions