| You can use the REST API to determine layer status:
http://<GEOSERVER>/rest/workspaces/<MYWORKSPACE>/datastores/<MYSTORE>/featuretypes/<MYLAYER>.xml
And check for <enabled>false</enabled> one at a time. Using this approach it is labor intensive to scan through available layers and detect those which are unavailable. Improvement would be to add an parameter enabled=true or enabled=false filter when listing stores or resources.
- /workspaces/<ws>/datastores.json?enabled=false
Since Feature types already provide several parameters it is a bit more tricky to think of sensible addition:
- /workspaces/<ws>/datastores/<ds>/featuretypes.json?enabled=false - only feature types which are configured but are distabled are returned
|