Skip to content

Conversation

@panaaj
Copy link
Member

@panaaj panaaj commented Oct 17, 2025

Add endpoints to enable programatic creation of custom resource collections by applications.

Endpoints:

Retrieve current resource collection details

HTTP GET "/plugins/resources-provider/_config"

Add resource collection

HTTP POST "/plugins/resources-provider/_config/{collectionName}`" {
  "description": "My custom collection"
}

Delete resource collection

HTTP DELETE "/plugins/resources-provider/_config/{collectionName}"

to enable programatic creation of custom collections.
@panaaj panaaj requested a review from tkurki October 17, 2025 03:53
@panaaj panaaj added the feature label Oct 17, 2025
@panaaj panaaj changed the title Feature: Added configuration API endpoints to resoources-provider plgin Feature: Added configuration API endpoints to resoources-provider plugin Oct 17, 2025
@panaaj panaaj changed the title Feature: Added configuration API endpoints to resoources-provider plugin Feature: Added configuration API endpoints to resources-provider plugin Oct 19, 2025
@tkurki tkurki changed the title Feature: Added configuration API endpoints to resources-provider plugin Feature: Add configuration API endpoints to resources-provider plugin Oct 24, 2025
@tkurki tkurki changed the title Feature: Add configuration API endpoints to resources-provider plugin Feature: Add resource collection management API Oct 24, 2025
Copy link
Member

@tkurki tkurki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry i am a little confused: why would this api be under the plugin and not under the v2 api? If resource collections are a thing in v2 shouldn’t their management be a part of the v2 api?

@panaaj
Copy link
Member Author

panaaj commented Oct 24, 2025

It can be.
I placed it here initially as it is functionality specific to this plugin and also because it's technically plugin configuration.

@panaaj
Copy link
Member Author

panaaj commented Oct 24, 2025

@tkurki I don't think it's mutually exclusive, the plugin can have a mechanism for configuration and the v2 resources api can also have endpoints.

I can raise a separate PR for the v2 api but I would like to keep the interface for this plugin.

@tkurki
Copy link
Member

tkurki commented Oct 27, 2025

Ok. Some formatting issue in .md.

@panaaj panaaj changed the title Feature: Add resource collection management API Feature: Add resources-provider management API Oct 28, 2025
@panaaj panaaj changed the title Feature: Add resources-provider management API feat: Add resources-provider management API Oct 28, 2025
@panaaj panaaj merged commit 0fb42b2 into master Oct 30, 2025
5 checks passed
@panaaj panaaj deleted the resprovider-api branch October 30, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants