> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# 提交应用

> 向你的应用发送一次更改。速率限制为每个用户每 2 秒 1 次请求，外加每个应用每 5 秒 1 次请求。

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  你账户的 API 密钥。你可以在[账户设置](https://squarecloud.app/zh/account/security)中找到它。
</ParamField>

### 参数

<ParamField path="app_id" type="string" placeholder="Application ID" required>
  应用的 ID。你可以在应用控制台的 URL 中找到它。
</ParamField>

<ParamField body="file" type="file" placeholder="commit.zip" required>
  使用 FormData 或 NodeJS Buffer（单个文件或压缩包 \[zip]）
</ParamField>

<ParamField query="path" type="string" placeholder="src/routes">
  可选。应用内部的目标目录。`.zip` 会在此处解压；任何其他文件会被放置在 `path/filename`。默认为应用根目录。
</ParamField>

### 响应

<ResponseField name="status" type="string">
  指示调用是否成功。成功时为 `success`，否则为 `error`。
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
      "status": "success"
  }
  ```
</ResponseExample>
