---
title: "Detail of Template Component"
method: GET
path: "/templates/{template_id}/component_templates/"
tags: ["Components for Templates"]
---

# Detail of Template Component

`GET /templates/{template_id}/component_templates/`

## Request

- Base URL: `http://api.cannoli.app/api/v1`
- URL: `http://api.cannoli.app/api/v1/templates/{template_id}/component_templates/`
- Auth: none declared

## Response `200`

OK

- ComponentTemplateRead[]
  - `id` integer
  - `component` Component
    - `id` integer
    - `name` string, required
    - `content` object, required
    - `virtual_mj_head` string
    - `css` string, nullable
    - `preview` string, uri
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `file` integer, required
  - `position` integer

---

[API](https://skmtc.dev/cannoli/apis/cannoli-backend-api.md) - [All operations](https://skmtc.dev/cannoli/apis/cannoli-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cannoli/apis/cannoli-backend-api/revisions/d27aef14fd7a?raw)
