Skip to content

[Block] Template/[id] APIs #46

Description

@Basharkhan7776

API requirements for the template/[id] block.

  • Create GET /api/v1/templates/:id to fetch template details, images, stars, and reviews.
  • Create POST /api/v1/templates/:id/purchase (or clone) to add it to owned templates.
  • Create POST /api/v1/templates/:id/reviews (only allowed after purchasing/using).
  • Required Schema Structure: Add TemplateReview model (stars Int, text String) and UserOwnedTemplate model (many-to-many join table for purchases).

Activity

  1. David-2610 commented on Jul 1, 2026

    @David-2610
    Contributor

    I am working on this

  2. Basharkhan7776 commented on Jul 7, 2026

    @Basharkhan7776
    MemberAuthor

    @David-2610 should I close this issue?

  3. David-2610 commented on Jul 9, 2026

    @David-2610
    Contributor

    @David-2610 should I close this issue?

    yes

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions