Application Programming Interface Guide > Web Services Operations > Operations Reference > getAncestorResources
 
getAncestorResources
Get all of the ancestors of the specified resource up to and including the root resource.
Location
/services/webservices/system/admin/resource/operations/
Request Elements
path: The path to the resource.
type: The type of the resource.
detail: The level of detail about the resources to include in the response. Valid values are NONE, SIMPLE, and FULL.
Response Elements
resources: List of the ancestor resources. See Resources Element.
Faults
IllegalArgument: If the path, type, or detail are malformed.
NotFound: If the resource or any portion of the path to the resource does not exist.
Security: If the user does not have READ access on all items in path other than the last one.
Security: If the user does not have the ACCESS_TOOLS right.