Skip to content

Add latest version filter to GET plugins resources endpoint #647

@stiliyan-v

Description

@stiliyan-v

User Story:
As an API user,
I want to to be able to access simplier endpoints
so that external systems as well as the UI can access easily often used data
 
Description:

Retrieve plugins-resources information

GET /plugins/resources/<data-type>/latest

  • returns a list of all latest entries for a each data-type without content

GET /plugins/resources/<data-type>/<name>

  • returns a list of all versions for a specific data-type without providing the content of the resource

GET /plugins/resources/<data-type>/<name>/versions

  • returns a list of versions for specific data-type and name without content

GET /plugins/resources/<data-type>/<name>/<version>

  • returns a specific version of a specific data-type including the resource content

GET /plugins/resources/<data-type>/<name>/latest

  • returns latest entry for a specific data-type with resource content

Deleting data-types

DELETE /plugins/resources/<data-type>/<name>

  • deletes all versions for a specific data-type

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions