gwcindex.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ---
  2. swagger: '2.0'
  3. info:
  4. version: 1.0.0
  5. title: GeoWebCache Index
  6. description: The front facing html ui for GeoWebCache.
  7. contact:
  8. name: GeoServer
  9. email: 'geoserver-users@osgeo.org'
  10. url: 'https://geoserver.org/comm/'
  11. host: localhost:8080
  12. schemes:
  13. - http
  14. basePath: /geoserver/gwc
  15. paths:
  16. /rest:
  17. get:
  18. operationId: indexGet
  19. tags:
  20. - "GwcIndex"
  21. summary: Returns the HTML user interface
  22. description: Returns the HTML for the front facing ui homepage for GeoWebCache.
  23. produces:
  24. - text/html
  25. responses:
  26. 200:
  27. description: OK
  28. examples:
  29. text/html: |
  30. <html>
  31. <body>
  32. <a id="logo" href="/geoserver/gwc/rest"><img src="/geoserver/gwc/rest/web/geowebcache_logo.png" alt="" height="100" width="353" border="0"/></a>
  33. <h3>Resources available from here:</h3>
  34. <ul>
  35. <li>
  36. <h4><a href="/geoserver/gwc/rest/layers/">layers</a></h4>
  37. Lets you see the configured layers. You can also view a specific layer by appending the name of the layer to the URL, DELETE an existing layer or POST a new one. Note that the latter operations only make sense when GeoWebCache has been configured through geowebcache.xml. You can POST either XML or JSON.
  38. </li>
  39. <li>
  40. <h4>seed</h4>
  41. </li>
  42. </ul>
  43. </body>
  44. </html>