Title: REST API Extender
Author: SEO Neo
Published: <strong>15 d'abril de 2024</strong>
Last modified: 16 d'abril de 2024

---

Cerca extensions

![](https://ps.w.org/rest-api-extender/assets/banner-772x250.png?rev=3070936)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/rest-api-extender/assets/icon-256x256.png?rev=3070916)

# REST API Extender

 Per [SEO Neo](https://profiles.wordpress.org/stealthcode/)

[Baixa](https://downloads.wordpress.org/plugin/rest-api-extender.zip)

 * [Detalls](https://ca.wordpress.org/plugins/rest-api-extender/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/rest-api-extender/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/rest-api-extender/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/rest-api-extender/#developers)

 [Suport](https://wordpress.org/support/plugin/rest-api-extender/)

## Descripció

The REST API Extender is a WordPress plugin that extends the functionality of the
WordPress REST API.

It provides two main features:

 1. **Permalink Options Management**
     This plugin allows you to update the permalink
    settings of your WordPress site via the REST API. You can change the permalink 
    structure, category base, and tag base using a simple POST request.

To update the permalink settings, send a POST request to the following endpoint:
/
wp-json/raext/permalink-options/v1/settings

The request body should include the following parameters:

 * `permalink_structure` (string): The new permalink structure.
 * `category_base` (string, optional): The new category base.
 * `tag_base` (string, optional): The new tag base.

Example request:
 POST /wp-json/raext/permalink-options/v1/settings Content-Type:
application/json

{
 «permalink_structure»: «/%year%/%postname%/», «category_base»: «categories», «
tag_base»: «tags» }

 1. **Theme Installation and Activation**
     The plugin also enables you to install and
    activate themes from a remote URL using the REST API. You have to provide the theme
    URL, stylesheet, and slug, and the plugin will handle the installation and activation
    process.

To install and activate a theme from a remote URL, send a POST request to the following
endpoint:
 /wp-json/raext/theme-manager/v1/install

The request body should include the following parameters:

 * `theme_url` (string): The URL of the theme ZIP file.
 * `theme_stylesheet` (string): The stylesheet of the theme (e.g., `twentytwenty`).
 * `theme_slug` (string): The slug of the theme (e.g., `twentytwenty`).

Example request:
 POST /wp-json/raext/theme-manager/v1/install Content-Type: application/
json

{
 «theme_url»: «https://example.com/themes/twentytwenty.zip», «theme_stylesheet»:«
twentytwenty», «theme_slug»: «twentytwenty» }

Developed by the creators of [SEO Neo](https://seoneo.io/)

### Permissions

Both the permalink options management and theme installation/activation features
require the user to have the `manage_options` capability (an administrator role).

## Instal·lació

 1. Upload the `rest-api-extender` directory to the `/wp-content/plugins/` directory
    on your WordPress site.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«REST API Extender» és programari de codi obert. La següent gent ha col·laborat 
en aquesta extensió.

Col·laboradors

 *   [ SEO Neo ](https://profiles.wordpress.org/stealthcode/)

[Traduïu «REST API Extender» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/rest-api-extender)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/rest-api-extender/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/rest-api-extender/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/rest-api-extender/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/rest-api-extender/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versió **2.2**
 *  Darrera actualització **fa 2 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 5.0 o posterior **
 *  Provada fins a **6.4.8**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/rest-api-extender/)
 * Etiquetes
 * [appearance](https://ca.wordpress.org/plugins/tags/appearance/)[options](https://ca.wordpress.org/plugins/tags/options/)
   [permalink](https://ca.wordpress.org/plugins/tags/permalink/)[rest-api](https://ca.wordpress.org/plugins/tags/rest-api/)
   [theme](https://ca.wordpress.org/plugins/tags/theme/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/rest-api-extender/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/rest-api-extender/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/rest-api-extender/reviews/)

## Col·laboradors

 *   [ SEO Neo ](https://profiles.wordpress.org/stealthcode/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/rest-api-extender/)