---
title: "init environment"
method: POST
path: "/installation/init"
tags: ["installation"]
---

# init environment

`POST /installation/init`

init environment

## Request body

- InstallCheckDatabaseReq
  - `db_file` string
  - `db_host` string
  - `db_name` string
  - `db_password` string
  - `db_type` 'postgres' | 'sqlite3' | 'mysql', required
  - `db_username` string
  - `ssl_cert` string
  - `ssl_enabled` boolean
  - `ssl_key` string
  - `ssl_mode` string
  - `ssl_root_cert` string

## Response `200`

OK

- HandlerRespBody
  - `code` integer — http code
  - `data` unknown
  - `msg` string — response message
  - `reason` string — reason key

---

[API](https://skmtc.net/apache/apis/apache-answer.md) · [All operations](https://skmtc.net/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apache/apache-answer/revisions/e9c2980e6571/schema)
