Application Programming Interface Guide > Web Services Operations > Operations Reference > getParentResource
 
getParentResource
Get the parent resource of the given resource. The root resource ("/") has no parent.
Location
/services/webservices/system/admin/resource/operations/
Request Elements
path: The path of the resource to get parent of.
type: The type of the resource specified by the given path. Valid values are CONTAINER, DATA_SOURCE, DEFINITION_SET, LINK, PROCEDURE, TABLE, TREE, and TRIGGER.
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 parent resources and their characteristics. The list is empty for the root resource ("/"). See Resources Element.
Faults
IllegalArgument: If the path is malformed or an illegal type or detail is provided.
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.