Title: VerCheck API
Author: Roland Bende
Published: <strong>7. juni, 2025</strong>
Last modified: 24. mars, 2026

---

Søk i utvidelser

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

# VerCheck API

 Av [Roland Bende](https://profiles.wordpress.org/rbende/)

[Last ned](https://downloads.wordpress.org/plugin/vercheck-api.1.1.0.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/vercheck-api/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/vercheck-api/#reviews)
 * [Utvikling](https://nb.wordpress.org/plugins/vercheck-api/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/vercheck-api/)

## Beskrivelse

This plugin adds a custom REST API endpoint that returns information about the current
versions of the WordPress core, active themes, and active plugins.

Useful for remote WordPress site version monitoring & logging, CI/CD checks, and
automated update workflows.

Both endpoints require authentication via a Bearer token.

**Endpoint 1: Status** — outdated items only

 * **HTTP method:** `GET`
 * **API endpoint:** `/wp-json/vercheck-api/v1/status`

Returns only items that have available updates:
 – WordPress core update status.–
A list of plugins with available updates. – A list of themes with available updates.

**Endpoint 2: Audit** — full inventory

 * **HTTP method:** `GET`
 * **API endpoint:** `/wp-json/vercheck-api/v1/audit`

Returns a complete inventory of everything installed:
 – WordPress core version 
info. – All installed themes (active and inactive) with version and update info.–
All installed plugins (active and inactive) with version and update info.

**Example response — /v1/status:**

    ```
      {
        "core": {
          "current_version": "6.4.3",
          "new_version": "6.5",
          "is_outdated": true
        },
        "outdated_themes": [],
        "outdated_plugins": [
          {
            "name": "Example Plugin",
            "current_version": "1.2.0",
            "new_version": "1.3.0"
          }
        ]
      }
    ```

**Example response — /v1/audit:**

    ```
      {
        "core": {
          "current_version": "6.4.3",
          "new_version": "6.5",
          "is_outdated": true
        },
        "themes": [
          {
            "name": "Twenty Twenty-Four",
            "slug": "twentytwentyfour",
            "current_version": "1.3",
            "new_version": null,
            "is_outdated": false,
            "is_active": true
          }
        ],
        "plugins": [
          {
            "name": "Example Plugin",
            "slug": "example-plugin/example-plugin.php",
            "current_version": "1.2.0",
            "new_version": "1.3.0",
            "is_outdated": true,
            "is_active": true
          }
        ]
      }
    ```

**Additional info:**
 The unique request ID for each API call is returned in the
response header:

    ```
    X-Request-ID: {{unique-request-id}}
    ```

## Skjermbilder

[⌊Admin settings⌉⌊Admin settings⌉[

Admin settings

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«VerCheck API» er programvare med åpen kildekode. Følgende personer har bidratt 
til denne utvidelsen:

Bidragsytere

 *   [ Roland Bende ](https://profiles.wordpress.org/rbende/)
 *   [ Roland Bende ](https://profiles.wordpress.org/rolandbende/)

[Oversett «VerCheck API» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/vercheck-api)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/vercheck-api/), sjekk
ut [SVN-repositoriet](https://plugins.svn.wordpress.org/vercheck-api/), eller abonner
på [utviklingsloggen](https://plugins.trac.wordpress.org/log/vercheck-api/) med 
[RSS](https://plugins.trac.wordpress.org/log/vercheck-api/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.1.0

 * New: Added `/v1/audit` endpoint — full inventory of all installed themes and 
   plugins with version and update info
 * Improvement: Moved Bearer token authentication to `permission_callback` (WordPress
   REST API best practice)

#### 1.0.3

 * Bugfix: Response themes & plugin order

#### 1.0.2

 * Bugfix: Removed unnecessary fnc. call (loadtextdomain)

#### 1.0.1

 * PHPCS fixes

#### 1.0.0

 * Initial release. REST API endpoint and admin token settings.

## Meta

 *  Versjon **1.1.0**
 *  Sist oppdatert **3 måneder siden**
 *  Aktive installasjoner **20+**
 *  WordPress-versjon ** 5.2 eller nyere **
 *  Testet opp til **6.9.4**
 *  PHP-versjon ** 7.4 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/vercheck-api/)
 * Stikkord
 * [healthcheck](https://nb.wordpress.org/plugins/tags/healthcheck/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/vercheck-api/advanced/)

## Vurderinger

No reviews have been submitted yet.

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

[Se alle omtalene](https://wordpress.org/support/plugin/vercheck-api/reviews/)

## Bidragsytere

 *   [ Roland Bende ](https://profiles.wordpress.org/rbende/)
 *   [ Roland Bende ](https://profiles.wordpress.org/rolandbende/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/vercheck-api/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](https://rolandbende.com/)