Update plugin informations
curl --request PATCH \
--url https://registry.wp-content.io/plugins/{slug} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"icon_default": "https://placehold.co/256x256",
"banner_low": "https://placehold.co/772x250",
"banner_high": "https://placehold.co/1544x500"
}
'import requests
url = "https://registry.wp-content.io/plugins/{slug}"
payload = {
"icon_default": "https://placehold.co/256x256",
"banner_low": "https://placehold.co/772x250",
"banner_high": "https://placehold.co/1544x500"
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
icon_default: 'https://placehold.co/256x256',
banner_low: 'https://placehold.co/772x250',
banner_high: 'https://placehold.co/1544x500'
})
};
fetch('https://registry.wp-content.io/plugins/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://registry.wp-content.io/plugins/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'icon_default' => 'https://placehold.co/256x256',
'banner_low' => 'https://placehold.co/772x250',
'banner_high' => 'https://placehold.co/1544x500'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://registry.wp-content.io/plugins/{slug}"
payload := strings.NewReader("{\n \"icon_default\": \"https://placehold.co/256x256\",\n \"banner_low\": \"https://placehold.co/772x250\",\n \"banner_high\": \"https://placehold.co/1544x500\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://registry.wp-content.io/plugins/{slug}")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"icon_default\": \"https://placehold.co/256x256\",\n \"banner_low\": \"https://placehold.co/772x250\",\n \"banner_high\": \"https://placehold.co/1544x500\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://registry.wp-content.io/plugins/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"icon_default\": \"https://placehold.co/256x256\",\n \"banner_low\": \"https://placehold.co/772x250\",\n \"banner_high\": \"https://placehold.co/1544x500\"\n}"
response = http.request(request)
puts response.read_body{
"name": "My Plugin",
"slug": "my-plugin",
"version": "1.0.0",
"author": "<a href=\"https://example.com\" target=\"_blank\">ACME</a>",
"author_profile": "https://example.com",
"short_description": "",
"rating": 0,
"num_ratings": 0,
"active_installs": 0,
"requires": "",
"tested": null,
"requires_php": "",
"download_link": "https://wp-content-staging.s3.fr-par.scw.cloud/artifacts/plugins/my-plugin/my-plugin-1.0.0-81ae9121fde9f29c489c72dd3d8d9377.zip",
"icons": {
"default": "http://localhost:8080/images/icon-placeholder.png"
},
"added": "2025-06-11",
"last_updated": "2025-06-11 9:08am UTC",
"banners": {
"low": "https://placehold.co/772x250",
"high": "https://placehold.co/1544x500"
},
"sections": {
"description": "<p></p>",
"changelog": "<h4>1.0.0</h4>\n<p>First release</p>\n<em>Release date : 2025-06-11 09:07:10</em>"
},
"versions": {
"1.0.0": "https://wp-content-staging.s3.fr-par.scw.cloud/artifacts/plugins/my-plugin/my-plugin-1.0.0-81ae9121fde9f29c489c72dd3d8d9377.zip"
}
}Plugins
Update plugin informations
PATCH
/
plugins
/
{slug}
Update plugin informations
curl --request PATCH \
--url https://registry.wp-content.io/plugins/{slug} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"icon_default": "https://placehold.co/256x256",
"banner_low": "https://placehold.co/772x250",
"banner_high": "https://placehold.co/1544x500"
}
'import requests
url = "https://registry.wp-content.io/plugins/{slug}"
payload = {
"icon_default": "https://placehold.co/256x256",
"banner_low": "https://placehold.co/772x250",
"banner_high": "https://placehold.co/1544x500"
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
icon_default: 'https://placehold.co/256x256',
banner_low: 'https://placehold.co/772x250',
banner_high: 'https://placehold.co/1544x500'
})
};
fetch('https://registry.wp-content.io/plugins/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://registry.wp-content.io/plugins/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'icon_default' => 'https://placehold.co/256x256',
'banner_low' => 'https://placehold.co/772x250',
'banner_high' => 'https://placehold.co/1544x500'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://registry.wp-content.io/plugins/{slug}"
payload := strings.NewReader("{\n \"icon_default\": \"https://placehold.co/256x256\",\n \"banner_low\": \"https://placehold.co/772x250\",\n \"banner_high\": \"https://placehold.co/1544x500\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://registry.wp-content.io/plugins/{slug}")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"icon_default\": \"https://placehold.co/256x256\",\n \"banner_low\": \"https://placehold.co/772x250\",\n \"banner_high\": \"https://placehold.co/1544x500\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://registry.wp-content.io/plugins/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"icon_default\": \"https://placehold.co/256x256\",\n \"banner_low\": \"https://placehold.co/772x250\",\n \"banner_high\": \"https://placehold.co/1544x500\"\n}"
response = http.request(request)
puts response.read_body{
"name": "My Plugin",
"slug": "my-plugin",
"version": "1.0.0",
"author": "<a href=\"https://example.com\" target=\"_blank\">ACME</a>",
"author_profile": "https://example.com",
"short_description": "",
"rating": 0,
"num_ratings": 0,
"active_installs": 0,
"requires": "",
"tested": null,
"requires_php": "",
"download_link": "https://wp-content-staging.s3.fr-par.scw.cloud/artifacts/plugins/my-plugin/my-plugin-1.0.0-81ae9121fde9f29c489c72dd3d8d9377.zip",
"icons": {
"default": "http://localhost:8080/images/icon-placeholder.png"
},
"added": "2025-06-11",
"last_updated": "2025-06-11 9:08am UTC",
"banners": {
"low": "https://placehold.co/772x250",
"high": "https://placehold.co/1544x500"
},
"sections": {
"description": "<p></p>",
"changelog": "<h4>1.0.0</h4>\n<p>First release</p>\n<em>Release date : 2025-06-11 09:07:10</em>"
},
"versions": {
"1.0.0": "https://wp-content-staging.s3.fr-par.scw.cloud/artifacts/plugins/my-plugin/my-plugin-1.0.0-81ae9121fde9f29c489c72dd3d8d9377.zip"
}
}⌘I