New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Cache manager API #4
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rldhont
force-pushed
the
cache-manager-api
branch
from
May 25, 2021 15:46
8ab9b06
to
3d8fdde
Compare
rldhont
commented
Jun 1, 2021
Comment on lines
+60
to
+69
* /cachemngr/collection/(?<collectionId>[^/]+?).json | ||
* to get information on a collection, QGIS project, WMTS disk cache | ||
* to delete the collection, QGIS Project, WMTS disk cache | ||
* /cachemngr/collection/(?<collectionId>[^/]+?)/docs.json | ||
* to get information on a collection, QGIS project, WMTS documents disk cache | ||
* to delete the collection, QGIS Project, WMTS documents disk cache | ||
* /cachemngr/collection/(?<collectionId>[^/]+?)/layers.json | ||
* to get information on a collection, QGIS project, WMTS layers tiles disk cache | ||
* to delete the collection, QGIS Project, WMTS layers tiles disk cache | ||
* /cachemngr/collection/(?<collectionId>[^/]+?)/layers/(?<layerId>[^/]+?).json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
* /cachemngr/collection/(?<collectionId>[^/]+?).json | |
* to get information on a collection, QGIS project, WMTS disk cache | |
* to delete the collection, QGIS Project, WMTS disk cache | |
* /cachemngr/collection/(?<collectionId>[^/]+?)/docs.json | |
* to get information on a collection, QGIS project, WMTS documents disk cache | |
* to delete the collection, QGIS Project, WMTS documents disk cache | |
* /cachemngr/collection/(?<collectionId>[^/]+?)/layers.json | |
* to get information on a collection, QGIS project, WMTS layers tiles disk cache | |
* to delete the collection, QGIS Project, WMTS layers tiles disk cache | |
* /cachemngr/collection/(?<collectionId>[^/]+?)/layers/(?<layerId>[^/]+?).json | |
* /cachemngr/collections/(?<collectionId>[^/]+?).json | |
* to get information on a collection, QGIS project, WMTS disk cache | |
* to delete the collection, QGIS Project, WMTS disk cache | |
* /cachemngr/collections/(?<collectionId>[^/]+?)/docs.json | |
* to get information on a collection, QGIS project, WMTS documents disk cache | |
* to delete the collection, QGIS Project, WMTS documents disk cache | |
* /cachemngr/collections/(?<collectionId>[^/]+?)/layers.json | |
* to get information on a collection, QGIS project, WMTS layers tiles disk cache | |
* to delete the collection, QGIS Project, WMTS layers tiles disk cache | |
* /cachemngr/collections/(?<collectionId>[^/]+?)/layers/(?<layerId>[^/]+?).json |
Fix the docs
Gustry
force-pushed
the
cache-manager-api
branch
from
June 11, 2021 03:32
3d8fdde
to
8792338
Compare
This feature introduces a new QGIS Server API to get information about WMTS disk cache and to delete disk cache content The available URLs are: * /cachemngr.json * to get information on the WMTS disk cache * /cachemngr/collections.json * to get the list of collections, QGIS projects, that have WMTS disk cache * /cachemngr/collection/(?<collectionId>[^/]+?).json * to get information on a collection, QGIS project, WMTS disk cache * to delete the collection, QGIS Project, WMTS disk cache * /cachemngr/collection/(?<collectionId>[^/]+?)/docs.json * to get information on a collection, QGIS project, WMTS documents disk cache * to delete the collection, QGIS Project, WMTS documents disk cache * /cachemngr/collection/(?<collectionId>[^/]+?)/layers.json * to get information on a collection, QGIS project, WMTS layers tiles disk cache * to delete the collection, QGIS Project, WMTS layers tiles disk cache * /cachemngr/collection/(?<collectionId>[^/]+?)/layers/(?<layerId>[^/]+?).json * to get information on a collection, QGIS project, WMTS layer tiles disk cache * to delete the collection, QGIS Project, WMTS layer tiles disk cache To delete some cache, you have to use Delete HTTP method over the dedicated URL.
Gustry
force-pushed
the
cache-manager-api
branch
from
June 11, 2021 04:10
8792338
to
1a02aef
Compare
@dmarteau you have enhance this PR, do we merge it and you will update your branch and PR ? |
I close this one to merge #6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This feature introduces a new QGIS Server API to get information about WMTS disk cache and to delete disk cache content
The available URLs are:
To delete some cache, you have to use Delete HTTP method over the dedicated URL.
Funded by Ifremer