Support for Tag backend.#396
Conversation
|
Will update API wiki after the approval. |
|
@tdipisa on my side the PR looks good, but this one introduces a change on the model. Before merging to the main branch you should consider the possible breaking changes on the current installations. |
Understood @afabiani. That would be a test per se, indeed. If the review is ok, let's merge, we can always revert it if necessary. Maybe, just let me merge it in the right moment. |
|
converted to draft for the moment. |
|
@tdipisa I'm reporting the problem related to the filtering using the |
Changes as per #382:
Added CRUD operations for
Tagentity under theResourcecontext:/geostore/rest/resources/tag/geostore/rest/resources/tag[?page&entries][?nameLike]/geostore/rest/resources/tag/{id}/geostore/rest/resources/tag/{id}/geostore/rest/resources/tag/{id}Added association operations for
Tags under theResourcecontext:/geostore/rest/resources/tag/{id}/resource/{resourceId}/geostore/rest/resources/tag/{id}/resource/{resourceId}Added support to showing tags for the resources in ExtJS get all result:
/geostore/rest/extjs/search/list?includeTags=true{ "ExtResourceList": { "ResourceCount": 3, "Resource": [ { "advertised": false, "category": { "id": 1, "name": "cat1" }, "creation": "2025-01-17T19:04:03.379+00:00", "creator": "Y", "editor": "editore", "id": 101, "name": "user owned readonly", "tags": { "color": "red", "description": "R", "id": 100, "name": "Red" }, "canEdit": true, "canDelete": true, "canCopy": true }, [...]Added support to showing tags for the single resource in ExtJS:
/geostore/rest/extjs/resource/100?includeTags=trueOther changes:
Closes #382