---
title: "获取脚本内容"
method: GET
path: "/api/v1/template/content/{id}"
tags: ["任务中心"]
---

# 获取脚本内容

`GET /api/v1/template/content/{id}`

获取指定ID的任务模板脚本内容

## Path parameters

- `id` integer, required

## Response `200`

脚本内容

---

[API](https://skmtc.net/opsre/apis/devops.md) · [All operations](https://skmtc.net/opsre/apis/devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opsre/devops/versions/25cac8835c4c/schema)
