> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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)

<a id="ID4ET" />

## URI 參數

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

<a id="ID4EMB" />

## 必要的要求標頭

無。

<a id="ID4ETB" />

## 必要的要求本文

如果存取網路共用需要認證，要求必須包含 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：要在復原過程中設定的沙箱識別碼。

<a id="ID4ETC" />

## 回應

<a id="ID4EZC" />

### HTTP 狀態碼

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

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

<a id="ID4EAE" />

## 另請參閱

<a id="ID4ECE" />

##### 父項

[/ext/update/remote](/zh-TW/reference/deviceportal/remote/uri-extupdateremote)


## Related topics

- [Remote Recovery URIs](/reference/deviceportal/remote/atoc-rest-remote.md)
- [URI de recuperación remota](/es/reference/deviceportal/remote/atoc-rest-remote.md)
- [원격 복구 URI](/ko/reference/deviceportal/remote/atoc-rest-remote.md)
- [リモート リカバリー URI](/ja-jp/reference/deviceportal/remote/atoc-rest-remote.md)
- [Lobby.PostUpdate](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/PostUpdate.md)
