將資料夾上傳到開發目錄Upload a folder to the development directory

要求Request

您可以將整個資料夾同時上傳到 DevelopmentFiles 的已知資料夾識別碼 (或是該資料夾內的的子資料夾)。You can upload an entire folder at once to the Known Folder Id for the DevelopmentFiles (or to a subfolder within that folder).

方法Method 要求 URIRequest URI
POSTPOST /api/app/packagemanager/upload/api/app/packagemanager/upload

URI 參數URI parameters

您可以在要求 URI 上指定下列其他參數:You can specify the following additional parameters on the request URI:

URI 參數URI Parameter 說明Description
destinationFolder (必要)destinationFolder (required) 上傳資料夾的目的地資料夾名稱。The destination folder name of the folder to be uploaded. 這個資料夾會放置在主機上的 d:\developmentfiles\LooseApps 底下。This folder will be placed under d:\developmentfiles\LooseApps on the console. 這個資料夾名稱必須是 base64 編碼,因為它可能包含路徑分隔符號 (如果該資料夾是 LooseApps 下的子資料夾)。This folder name should be base64 encoded as it may contain path separators if the folder is a subfolder under LooseApps.

要求標頭Request headers

  • None

要求本文Request body

  • 目錄內容的多部分合格 http 本文。multi-part conforming http body of the directory contents.

回應Response

狀態碼Status code

此 API 具有下列預期狀態碼。This API has the following expected status codes.

HTTP 狀態碼HTTP status code 描述Description
200200 SuccessSuccess
4XX4XX 錯誤碼Error codes
5XX5XX 錯誤碼Error codes

可用裝置系列Available device families

  • Windows XboxWindows Xbox