Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Plugins & Theme endpoints #323

@philipjohn

Description

@philipjohn

Is the desire to, at some point, add routes and endpoints for plugins and themes? I.e for checking currently installed plugins/themes, installing and updating?

I'm thinking about a use for this and have the following routes and endpoints in mind...

Route: /plugins

  • GET: List of installed plugins, basically the output of get_plugins()

Route: /plugins/[plugin-name]

  • GET: Retrieve plugin metadata
  • POST: Install/activate plugin
  • PUT: Update plugin
  • DELETE: Delete installed plugin

Route: /themes

  • GET: List of installed themes

Route: /themes/[theme-name]

  • GET: Retrieve theme metadata
  • POST: Install/activate theme
  • PUT: Update theme
  • DELETE: Delete installed theme

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions