---
title: "Detail of Template"
method: GET
path: "/teams/{team_id}/projects/{project_id}/templates/"
tags: ["Templates"]
---

# Detail of Template

`GET /teams/{team_id}/projects/{project_id}/templates/`

## Request

- Base URL: `http://api.cannoli.app/api/v1`
- URL: `http://api.cannoli.app/api/v1/teams/{team_id}/projects/{project_id}/templates/`
- Auth: none declared

## Query parameters

- `ordering` string
- `page` integer
- `page_size` integer

## Response `200`

OK

- object
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` TeamTemplate[], required
    - `id` integer
    - `components` 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
    - `template_components` 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
    - `deleted` string, date-time
    - `deleted_by_cascade` boolean
    - `name` string, required
    - `description` string, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time

---

[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)
