# appstore_request_expedited_review

> 請 Apple 加速處理一個正在等待審查或審查中的提交。

Source: https://air.build/tw/docs/mcp-tools/appstore_request_expedited_review/

請 Apple 加速處理一個正在等待 App 審查或審查中的提交，適用於重大錯誤修正或有時效性的活動。Apple 很少核准。

每次提交只會傳送一次請求：對同一次提交再次呼叫，會傳回第一次請求的結果，不會傳送任何內容。無法確認 Apple 的回應時（`state: "unknown"`），請勿自行再次傳送；先與對方確認。

這個工具透過團隊擁有者在 AirBuild 中的 Apple 登入運作（請參閱 [連結你的 Apple 開發者帳號](https://air.build/tw/docs/app-store/connect-apple-developer-account/)）。團隊的任何成員都可以呼叫；當擁有者的登入已失效且只有擁有者能續期時，呼叫會以下方的句子失敗，直到擁有者重新登入為止。

| 唯讀 | 破壞性 | 冪等 |
| --- | --- | --- |
| 否 | 否 | 是 |

## 輸入

| 輸入 | 類型 | 必填 | 預設值 | 作用 |
| --- | --- | --- | --- | --- |
| `teamId` | 字串（UUID） | yes | — | 團隊，來自 [list_teams](https://air.build/tw/docs/mcp-tools/list_teams/)。 |
| `projectId` | 字串（UUID） | 與 `appId` 二擇一 | — | 這個 App 所屬的專案，來自 [list_projects](https://air.build/tw/docs/mcp-tools/list_projects/)：這是指定 App 的一般方式。App 是 App Store Connect 上 bundle ID 與該專案建置的 bundle ID 相同的那一個。兩者都傳送時，會使用 `projectId`。 |
| `appId` | string | 與 `projectId` 二擇一 | — | 來自 [appstore_list_apps](https://air.build/tw/docs/mcp-tools/appstore_list_apps/) 的 App Store Connect App ID，用於沒有專案建置的 App。 |
| `appleTeamId` | 字串（UUID） | no | 所有已連結的 Apple 團隊 | 團隊的其中一個 Apple 團隊，來自 [appstore_list_apple_teams](https://air.build/tw/docs/mcp-tools/appstore_list_apple_teams/)。搭配 `appId` 時，只會在這個 Apple 團隊中尋找該 App。搭配 `projectId` 時不需要：由專案的 App 決定。 |
| `platform` | 字串：`IOS`、`MAC_OS`、`TV_OS`、`VISION_OS` | no | `IOS` | 哪個平台的 App Store 版本。 |
| `submissionId` | string | no | 最新一個等待審查或審查中的提交 | 該提交，來自 [appstore_review](https://air.build/tw/docs/mcp-tools/appstore_review/)。 |

每個工具對輸入進行的檢查，請參閱 [伺服器與登入](https://air.build/tw/docs/mcp-tools/server/#errors)。

## 結果

一個 JSON 物件，同時以文字和 `structuredContent` 傳回。

| 欄位 | 說明 |
| --- | --- |
| `requestId` | AirBuild 為該請求指定的 ID |
| `state` | `confirmed`（Apple 確認了請求）或 `unknown`（無法確認 Apple 的回應） |
| `version` | 正在審查的版本，或 null |
| `note` | 「Apple confirmed the request; it does not mean the app passed review.」或「Apple's answer was not confirmed. Do not send it again on your own — check with the person.」 |

```json
{
  "requestId": "00000000-0000-0000-0000-000000000000",
  "state": "confirmed",
  "version": "1.2.0",
  "note": "Apple confirmed the request; it does not mean the app passed review."
}
```

## 錯誤

每個錯誤都會以工具錯誤（`isError: true`）傳回。_斜體_ 文字代表句中的實際值。所有工具都可能傳回的錯誤，請參閱 [伺服器與登入](https://air.build/tw/docs/mcp-tools/server/#errors)。

| 訊息 | 何時出現 | 處理方式 |
| --- | --- | --- |
| No submission is waiting for or in review. | 沒有處於 `WAITING_FOR_REVIEW` 或 `IN_REVIEW` 的提交，或 `submissionId` 不是這樣的提交 | 先提交，或用 appstore_review 查看 |
| Choose a submission that has already been sent to App Review. | 該提交已不在等待審查或審查中 | 用 appstore_review 查看 |
| This app is not available for expedited review in the selected Apple team. | Apple 的加速審查表單中沒有提供該 App | 在 App Store Connect 中申請 |
| Renew this Apple team's membership before requesting expedited review. | Apple Developer Program 會員資格已過期 | 由帳號持有人在 Apple 續訂 |
| This Apple team is not available for expedited review. | Apple 的表單中沒有提供這個 Apple 團隊 | 在 App Store Connect 中申請 |
| Connect this Apple team before requesting expedited review. | 這個 Apple 團隊在 AirBuild 中沒有 Apple 團隊 ID | 請團隊擁有者重新連結它 |
| Apple could not open expedited review. Try again later. | Apple 的表單沒有開啟；沒有傳送任何內容 | 稍後再試 |
| Apple changed the expedited review form. Open Apple Developer to continue. | Apple 的表單已變更；沒有傳送任何內容 | 在 Apple 開發者網站上申請 |
| Sign in to Apple again to request expedited review. | 團隊擁有者的 Apple 登入已過期 | 請團隊擁有者在 AirBuild 中重新登入 |
| The Team owner's Apple sign-in has lapsed and only they can renew it: ask them to open AirBuild and sign in to Apple again, then try once more. | 團隊擁有者在 AirBuild 中的 Apple 登入已過期，沒有擁有者參與 AirBuild 無法續期 | 告知團隊擁有者，請對方在 AirBuild 中重新登入（請參閱 [連結你的 Apple 開發者帳號](https://air.build/tw/docs/app-store/connect-apple-developer-account/)）。在此之前重試會得到同樣的回應 |
| Another Apple account operation is already in progress. | 同一個 Apple 帳號上正在進行另一項 App Store 操作 | 稍後再試；擁有者不需要重新登入 |
| Apple has locked this Apple Account for security reasons. Unlock it at account.apple.com by signing in with the Apple ID and password, then sign in again. | Apple 鎖定了團隊擁有者的 Apple 帳號 | 只有團隊擁有者能在 account.apple.com 解除鎖定，然後在 AirBuild 中重新登入 |
| Pass projectId, or appId from appstore_list_apps. | `projectId` 和 `appId` 都沒有傳送 | 傳送其中一個 |
| This Project has not been built for iOS yet, so it has no bundle id to find its app by. Ask the Team's Agent to build it, or pass appId. | 該專案從未建置過 iOS 版本 | 請專案的 Agent 建置 iOS 版本（[send_message](https://air.build/tw/docs/mcp-tools/send_message/)），或用 `appId` 指定 App |
| This Project has no app on App Store Connect yet. Create one with appstore_create_app (its bundle id is the Project's), or pass appId. | 團隊已連結的 Apple 團隊中，沒有 App 的 bundle ID 與專案相同，或沒有連結任何 Apple 團隊 | 用 [appstore_create_app](https://air.build/tw/docs/mcp-tools/appstore_create_app/) 建立 App，或用 `appId` 指定另一個 App |
| No connected Apple team of this Team has that app. See appstore_list_apps. | `appId` 不是任何已連結 Apple 團隊（或 `appleTeamId`）中的 App | 從 [appstore_list_apps](https://air.build/tw/docs/mcp-tools/appstore_list_apps/) 取得 ID |
| platform must be IOS, MAC_OS, TV_OS or VISION_OS. | `platform` 是其他值 | 傳送這四個值之一 |
| App Store Connect: _Apple's sentence_ | Apple 拒絕了請求。後面最多附上 Apple 自己的五句說明，Apple 指出相關欄位時會在括號中註明。App Store Connect 中有待接受的 Apple 協議時，也會以這種方式被拒絕 | 依照 Apple 的說明處理。協議由 Apple Developer 帳號的帳號持有人在 App Store Connect 中接受（商務 › 協議） |
| App Store Connect answered _status_. Try again in a moment. | Apple 拒絕了，但沒有說明原因 | 稍後再試 |

## 範例

```json
{
  "name": "appstore_request_expedited_review",
  "arguments": {
    "teamId": "00000000-0000-0000-0000-000000000000",
    "projectId": "00000000-0000-0000-0000-000000000000"
  }
}
```
