# DocgenTemplateManager
Reach these methods through the `docgen_template` field on `client::Client`.
## list_docgen_templates
`GET /docgen_templates`
| `marker` | query | `String` | no |
| `limit` | query | `i64` | no |
**Returns:** `DocGenTemplates`
**Example**
```rust
let mut pages = client.docgen_template.list_docgen_templates(None);
while let Some(item) = pages.next().await {
// use item
}
```
Paginated — `list_docgen_templates(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).
## create_docgen_templates
`POST /docgen_templates`
**Request body** (`application/json`): `DocGenTemplateCreateRequest`
**Returns:** `DocGenTemplateBase`
**Example**
```rust
let result = client.docgen_template.create_docgen_templates(schemas::DocGenTemplateCreateRequest { /* … */ }).await?;
```
## get_docgen_template
`GET /docgen_templates/{template_id}`
| `template_id` | path | `String` | yes |
**Returns:** `DocGenTemplate`
**Example**
```rust
let result = client.docgen_template.get_docgen_template("TEMPLATE_ID".to_string()).await?;
```
## delete_docgen_template
`DELETE /docgen_templates/{template_id}`
| `template_id` | path | `String` | yes |
**Returns:** no content
**Example**
```rust
client.docgen_template.delete_docgen_template("TEMPLATE_ID".to_string()).await?;
```
## list_docgen_template_tags
`GET /docgen_templates/{template_id}/tags`
| `template_id` | path | `String` | yes |
| `template_version_id` | query | `String` | no |
| `marker` | query | `String` | no |
| `limit` | query | `i64` | no |
**Returns:** `DocGenTags`
**Example**
```rust
let mut pages = client.docgen_template.list_docgen_template_tags("TEMPLATE_ID".to_string(), None);
while let Some(item) = pages.next().await {
// use item
}
```
Paginated — `list_docgen_template_tags(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).
## list_job
`GET /docgen_template_jobs/{template_id}`
| `template_id` | path | `String` | yes |
| `marker` | query | `String` | no |
| `limit` | query | `i64` | no |
**Returns:** `DocGenJobs`
**Example**
```rust
let mut pages = client.docgen_template.list_job("TEMPLATE_ID".to_string(), None);
while let Some(item) = pages.next().await {
// use item
}
```
Paginated — `list_job(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).