/clusters/{clusterName}/services/{serviceName}/watcheddir
Mount Point: /api/v16/clusters/{clusterName}/services/{serviceName}/watcheddir
GET
Lists all the watched directories.
Available since API v14. Only available with Cloudera Manager Enterprise Edition.
Parameters
name | description | type | default |
---|---|---|---|
serviceName | (no documentation provided) | path | |
clusterName | (no documentation provided) | path |
Response Body
element: | watchedDirList |
List of currently watched directories.
POST
Adds a directory to the watching list.
Available since API v14. Only available with Cloudera Manager Enterprise Edition.
Parameters
name | description | type | default |
---|---|---|---|
serviceName | (no documentation provided) | path | |
clusterName | (no documentation provided) | path |
Request Body
element: | watchedDir |
The directory to be added.
Response Body
element: | watchedDir |
Added directory.