Files
coder/docs/reference/api/initscript.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
840 B
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: InitScript
---
<!-- DO NOT EDIT | GENERATED CONTENT -->
## Get agent init script
### Code samples
```sh
# Example request using curl
curl -X GET http://coder-server:8080/api/v2/init-script/{os}/{arch}
```
`GET /api/v2/init-script/{os}/{arch}`
### Parameters
| Name | In | Type | Required | Description |
|--------|------|--------|----------|------------------|
| `os` | path | string | true | Operating system |
| `arch` | path | string | true | Architecture |
### Responses
| Status | Meaning | Description | Schema |
|--------|---------------------------------------------------------|-------------|--------|
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | Success | |