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

# POST (/ext/update/remote)

> POST (/ext/update/remote)

# POST (/ext/update/remote)

取得布林值，指出指定的 AppXManifest 是否適用於 ERA 遊戲。

* [URI 參數](#ID4ET)
* [必要的要求標頭](#ID4EMB)
* [必要的要求本文](#ID4ETB)
* [回應](#ID4ETC)

## URI 參數

| 參數 | 類型 | 描述 |
| - | - | - |
| networkshare | base64 編碼字串 | 系統更新套件的網路共用位置。此網路共用應以 base64 編碼。 |

## 必要的要求標頭

無。

## 必要的要求本文

如果存取網路共用需要認證，要求必須包含 JSON 本文，其中包含選用的使用者名稱和密碼參數，以及布林參數 **AllowSameBuild**，指出即使主機已在此組建上，是否仍應允許繼續復原。JSON 也應包含名為 **RecoverOptions** 的陣列，其中包含 ParamName 對 ParamValue 的機碼值組，用以指定下列更新選項：

* X-UpdateDownloadPolicy：1 或 0，其中 0 表示主機會顯示更新提示，1 則會隱藏該提示。
* X-ForceFactoryReset：布林值，指出是否應執行原廠重設。
* X-FactoryResetOptions：如果執行原廠重設則為 0xdededede，否則為 0。
* X-HostName：應設為 "\<save>" 以保留主機名稱，即使在原廠重設的情況下也是如此。
* X-InhibitIdleTimeout：布林值，指出更新時是否應遵守螢幕調暗設定。
* X-SandboxId：要在復原過程中設定的沙箱識別碼。

## 回應

### HTTP 狀態碼

服務會傳回本節中的其中一個狀態碼，以回應使用此方法對此資源所提出的要求。

\| 代碼| 描述|
\| --- | --- | --- | --- |
\| 200| 主機已成功更新為指定的復原映像。|
\| 4XX| 錯誤碼。 |
\| 5XX| 錯誤碼。 |

## 另請參閱

##### 父項

[/ext/update/remote](https://docs.xbox.com/zh-TW/reference/deviceportal/remote/uri-extupdateremote.md)


## Related topics

- [/ext/update/remote (API 內容)](https://docs.xbox.com/zh-TW/reference/deviceportal/remote/uri-extupdateremote.md)
- [遠端復原 URI (API 內容)](https://docs.xbox.com/zh-TW/reference/deviceportal/remote/atoc-rest-remote.md)
- [POST (/ext/unattendedsetup/default)](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetupdefault-post.md)
- [POST (/ext/unattendedsetup/quickaction)](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetupquickaction-post.md)
- [POST (/ext/unattendedsetup/test)](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetuptest-post.md)
