reload.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. ---
  2. swagger: '2.0'
  3. info:
  4. version: 1.0.0
  5. title: GeoServer Reset/Reload
  6. description: Reset/Reload clears internal caches and reloads configuation from disk
  7. contact:
  8. name: GeoServer
  9. email: 'geoserver-users@osgeo.org'
  10. url: 'https://geoserver.org/comm/'
  11. host: localhost:8080
  12. basePath: /geoserver/rest
  13. paths:
  14. /reset:
  15. get:
  16. operationId: getReset
  17. tags:
  18. - "Reload"
  19. description: Invalid. Use PUT or POST to reset the caches.
  20. responses:
  21. 405:
  22. description: Method Not Allowed
  23. put:
  24. operationId: putReset
  25. tags:
  26. - "Reload"
  27. summary: Reset all authentication, store, raster, and schema caches.
  28. description: Resets all authentication, store, raster, and schema caches. This operation is used to force GeoServer to drop all caches and store connections and reconnect to each of them the next time they are needed by a request. This is useful in case the stores themselves cache some information about the data structures they manage that may have changed in the meantime.
  29. responses:
  30. 200:
  31. description: OK
  32. post:
  33. operationId: postReset
  34. tags:
  35. - "Reload"
  36. summary: Reset all authentication, store, raster, and schema caches.
  37. description: Resets all authentication, store, raster, and schema caches. This operation is used to force GeoServer to drop all caches and store connections and reconnect to each of them the next time they are needed by a request. This is useful in case the stores themselves cache some information about the data structures they manage that may have changed in the meantime.
  38. responses:
  39. 200:
  40. description: OK
  41. delete:
  42. operationId: deleteReset
  43. tags:
  44. - "Reload"
  45. description: Invalid. Use PUT or POST to reset the caches.
  46. responses:
  47. 405:
  48. description: Method Not Allowed
  49. /reload:
  50. get:
  51. operationId: getReload
  52. tags:
  53. - "Reload"
  54. description: Invalid. Use PUT or POST to reload the catalog and configuation.
  55. responses:
  56. 405:
  57. description: Method Not Allowed
  58. put:
  59. operationId: putReload
  60. tags:
  61. - "Reload"
  62. summary: Reload the configuration from disk, and reset all caches.
  63. description: Reloads the GeoServer catalog and configuration from disk. This operation is used in cases where an external tool has modified the on-disk configuration. This operation will also force GeoServer to drop any internal caches and reconnect to all data stores.
  64. responses:
  65. 200:
  66. description: OK
  67. post:
  68. operationId: postReload
  69. tags:
  70. - "Reload"
  71. summary: Reload the configuration from disk, and reset all caches.
  72. description: Reloads the GeoServer catalog and configuration from disk. This operation is used in cases where an external tool has modified the on-disk configuration. This operation will also force GeoServer to drop any internal caches and reconnect to all data stores.
  73. responses:
  74. 200:
  75. description: OK
  76. delete:
  77. operationId: deleteReload
  78. tags:
  79. - "Reload"
  80. description: Invalid. Use PUT or POST to reload the catalog and configuation.
  81. responses:
  82. 405:
  83. description: Method Not Allowed