--- swagger: '2.0' info: version: 1.0.0 title: GeoWebCache Seeding and Truncating description: A layer is a published resource (feature type or coverage). contact: name: GeoServer email: 'geoserver-users@osgeo.org' url: 'https://geoserver.org/comm/' host: localhost:8080 schemes: - http basePath: /geoserver/gwc/rest paths: /seed.json: get: operationId: seedGet tags: - "GwcSeed" summary: Query's currently running GWC task description: Query's and returns a json array of the status for all currently running task. Requires json extension in the request. The array contains a set of long in the following order:[tiles processed, total number of tiles to process, number of remaining tiles, Task ID, Task status]. The returned task status will be one of -1 = ABORTED, 0 = PENDING, 1 = RUNNING, 2 = DONE produces: - application/json responses: 200: description: OK examples: application/json: | {"long-array-array":[ [364832,2761733810,998564,16,1], [373472,2761733810,975448,17,1], [363760,2761733810,1001509,18,1] ]} /seed/{layer}.{format}: get: operationId: layerSeedGet tags: - "GwcSeed" summary: Query's the currently running GWC task for a given layer description: Returns HTML of the GeoWebCache Seed ui page or a json array of the status for currently running task of a given layer if using json extension. The json array contains a set of long in the following order:[tiles processed, total number of tiles to process, number of remaining tiles, Task ID, Task status] produces: - application/json - application/html parameters: - name: layer in: path required: true description: The name of the layer to query GWC task. type: string - name: format in: path required: true description: Based on format, the request will return an application/html or application/json response. type: string responses: 200: description: OK examples: application/json: | {"long-array-array":[ [364832,2761733810,998564,16,1], [373472,2761733810,975448,17,1], ]} text/html: |