Uploaded image for project: 'GeoServer'
  1. GEOS-7908

Parameter value "all" for parameter "list" doesn't work for REST call

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.10.0
    • Fix Version/s: 2.12-beta
    • Component/s: REST
    • Labels:
      None
    • Environment:

      According to the documentation a value of "all" should give all the available and configures Feature classes within a datastore.

      Unfortunately it Returns the configured (published) ones but not all available.

      Description

      I tested

      curl -v -u user:pass-XGET -H "Accept: application/json" http://<server>:<port>/geoserver/rest/wo
      rkspaces/<ws>/datastores/<ds>/featuretypes.json?list=all
      

      and

      curl -v -u user:pass-XGET -H "Accept: application/json" http://<server>:<port>/geoserver/rest/workspaces/<ws>/datastores/<ds>/featuretypes.json?list=configured
      

      They show the same Response while

      curl -v -u user:pass-XGET -H "Accept: application/json" http://<server>:<port>/geoserver/rest/workspaces/<ws>/datastores/<ds>/featuretypes.json?list=available
      

      shows more than "all" (and is correctly omitting the configured ones)

        Attachments

          Activity

            People

            • Assignee:
              mkruszewski Matt Kruszewski
              Reporter:
              mhaertel Michael Härtel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Stride room