Extend generalized plugin resource endpoints on top of feature/issue-647 design - #683
Draft
david-monichi with Copilot wants to merge 5 commits into
Draft
Extend generalized plugin resource endpoints on top of feature/issue-647 design#683david-monichi with Copilot wants to merge 5 commits into
david-monichi with Copilot wants to merge 5 commits into
Conversation
Copilot
AI
changed the title
[WIP] Generalize plugin-resources endpoints for more business use cases
Generalize plugin resource endpoints and add plugin/type discovery
Jun 30, 2026
Copilot
AI
changed the title
Generalize plugin resource endpoints and add plugin/type discovery
Extend generalized plugin resource endpoints on top of feature/issue-647 design
Jun 30, 2026
This file contains hidden or 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
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.
The previous implementation started from
maininstead of building on top of the existingfeature/issue-647_generalize-resources-plugin-endpointsbranch, which already contained the proposedplugins-resources-api.yamldesign spec.Changes
plugins-resources-api.yamland its license fromfeature/issue-647_generalize-resources-plugin-endpointsinto this branch so the implementation and design spec coexistplugins-custom-resources.yaml): Replaces flat/plugins/resources?type=…with hierarchical/plugins-resources/plugins/{plugin}/types/{type}/…pathsGET /plugins-resources/pluginsreturns all plugins grouped with their available types — implemented viagetPluginsWithTypes()/listPluginsWithTypes(){plugin}+{type}path segments are composed into the internal{plugin}_{type}storage key;_is rejected in both path params to keep parsing unambiguousPluginWithTypes(plugin name + list of types) for the discovery responseCompasPluginsResourceService): AddedfindLatestByType,findVersionsByTypeAndName,deleteByType,deleteByTypeAndName,listPluginsWithTypesNote
PR base should be changed to
feature/issue-647_generalize-resources-plugin-endpointsto correctly scope the diff to implementation-only changes on top of the existing design.