提取實體樹狀結構-實體 APIFetch entity tree - Entities API

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

注意

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

執行 GET 要求,以提取與指定主鍵相符之實體相關的所有實體。Run the GET request to fetch all entities related to the entity matching the specified primary key. 如果實體是使用者,則會提取與使用者相關聯的所有帳戶。If the entity is a user, fetches all accounts associated with the user. 如果實體是帳戶,則會提取實體的父系和同級。If the entity is an account, fetches the entity's parent and siblings.

HTTP 要求HTTP request

GET /api/v1/entities/<pk>/retrieve_tree/

要求 URL 參數Request URL parameters

參數Parameter 說明Description
pkpk 實體的識別碼The ID of the entity

範例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/entities/<pk>/retrieve_tree/"

回應Response

傳回 JSON 格式的指定實體樹狀結構。Returns the specified entity tree in JSON format.

{
  // entity tree record
}

若您遇到任何問題,我們隨時提供協助。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.