Make WordPress Core


Ignore:
Timestamp:
07/01/2020 04:22:25 AM (4 years ago)
Author:
TimothyBlynJacobs
Message:

REST API: Introduce plugin management and block directory endpoints.

These endpoints facilitate the Block Directory Inserter feature in Gutenberg. Users can now install, activate, deactivate, and delete plugins over the REST API. The block directoryendpoint allows searching for available blocks from the WordPress.org block directory.

Props cklee, talldanwp, noisysocks, joen, soean, youknowriad, dufresnesteven, gziolo, dd32, tellyworth, ryelle, spacedmonkey, TimothyBlynJacobs.
Fixes #50321.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-schema-setup.php

    r48173 r48242  
    127127            '/wp/v2/settings',
    128128            '/wp/v2/themes',
     129            '/wp/v2/plugins',
     130            '/wp/v2/plugins/(?P<plugin>[^.\/]+(?:\/[^.\/]+)?)',
     131            '/wp/v2/block-directory/search',
    129132        );
    130133
Note: See TracChangeset for help on using the changeset viewer.