mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
27 lines
745 B
Markdown
Generated
27 lines
745 B
Markdown
Generated
# InitScript
|
|
|
|
## Get agent init script
|
|
|
|
### Code samples
|
|
|
|
```shell
|
|
# 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 | |
|