Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

The REST interface returns empty 200 results when listing plugins by type #812

Closed
jcooklin opened this issue Mar 29, 2016 · 1 comment
Closed

Comments

@jcooklin
Copy link
Collaborator

The methods rest.getPluginsByType and rest.getPluginsByName need implementations.

Note: this functionality is not currently exposed by the snapctl client.

@bodepd
Copy link
Contributor

bodepd commented Apr 1, 2016

this is also true for the getPluginsByType method. Both are resolved through the same issue, so I'm adding it to this ticket.

bodepd added a commit to bodepd/snap that referenced this issue Apr 7, 2016
Currently, the rest call getPlugins does not
support filtering based on name/type.

These capabilities are documented in the REST API
docs as:

/v1/plugins/:type and /v1/plugins/:type/:name

This commit adds this behavior by extending
the current code behind getPlugins to accept
parameters for name and type and use them to
filter results.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants