提取檔案 APIFetch - Files API

適用於:Microsoft Cloud App SecurityApplies to: Microsoft Cloud App Security

重要

Microsoft 的威脅防護產品名稱即將變更。Threat protection product names from Microsoft are changing. 如需有關此變更的詳細資訊與其他更新,請參閱這裡Read more about this and other updates here. 我們將在不久的將來更新產品與文件中的名稱。We'll be updating names in products and in the docs in the near future.

注意

Office 365 Cloud App Security 不提供此要求。This request is not available for Office 365 Cloud App Security.

執行 GET 要求,以提取符合指定之主要金鑰的檔案。Run the GET request to fetch the file matching the specified primary key.

HTTP 要求HTTP request

GET /api/v1/files/<pk>/

要求 URL 參數Request URL parameters

參數Parameter 描述Description
pkpk 檔案的識別碼The ID of the file

範例Example

要求Request

以下是要求的範例。Here is an example of the request.

curl -XPOST -H "Authorization:Token <your_token_key>" "https://<tenant_id>.<tenant_region>.contoso.com/api/v1/files/<pk>/"

回應Response

傳回指定的檔案。Returns the specified file.

若您遇到任何問題,我們隨時提供協助。If you run into any problems, we're here to help. 若要取得產品問題的協助或支援,請建立支援票證To get assistance or support for your product issue, please open a support ticket.