Application Programming Interface Guide > Web Services Operations > Operations Reference > resourceExists
 
resourceExists
Check to see if a resource exists.
Note: This web services operation is different from the procedure of the same name, which is in the resource tree under /lib/resource.
Location
/services/webservices/system/admin/resource/operations/
Request Elements
path: The path of the resource to check.
type: The type of the resource to check. Valid values are CONTAINER, DATA_SOURCE, DEFINITION_SET, LINK, PROCEDURE, TABLE, TREE, and TRIGGER.
version (optional): Reserved for future use.
Response Elements
exists: TRUE if the resource exists; otherwise FALSE.
Faults
IllegalArgument: If the path is malformed, an illegal type is provided, or any value is provided for version.
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.