Skip to content

[Request] GET collections of an item [API] #1252

@lcandy2

Description

@lcandy2

Currently there is no API endpoint to fetch all collections that include a given item.
For example, given an item_uuid, it would be useful to retrieve a list of collections that contain this item.

Suggested Endpoint

GET /api/item/{item_uuid}/collections/

Expected Response Example

[
  {
    "uuid": "collection-uuid",
    "name": "My Favorites",
    "owner": {
      "id": "user-id",
      "username": "citron"
    }
  },
  ...
]

Use Case

  • Display which collections an item belongs to on its detail page
  • Support showing “Added to your collections” states for logged-in users

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Wishlist

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions