**גרסאות API** · [V2 (Latest)](/integrations/v2/docs?lang=he) · **V1**

> **גרסה זו של ה־API מיושנת.** לחיבורים חדשים יש להשתמש בגרסה העדכנית ביותר. [לתיעוד העדכני](/integrations/v2/docs?lang=he)

# WordPress

OpenAPI 3.0.3 · API 1.0.0

```json
[
  {
    "url": "https://api.unisoft.world/integrations/v1",
    "description": "API"
  }
]
```

## פעולות

## GET /wordpress/catalog

List the connected organisation's public content

`list_wordpress_catalog`

Required scope: `wordpress:read`. Authenticated editor-only metadata. Public content is available automatically. resourceAccess is public; the legacy selection field contains all returned IDs for older plugins. Not an anonymous browser endpoint.

### אימות

```json
[
  {
    "bearerAuth": []
  },
  {
    "apiKeyHeader": []
  }
]
```

### הרשאות נדרשות

```json
{
  "accepted": "wordpress:read",
  "additional": []
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Public projection only; never donor or submission records.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {}
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "wordpress:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## PUT /wordpress/selection

Save legacy content preferences for older plugins

`update_wordpress_selection`

Required scope: `wordpress:publish`. The connection also needs wordpress:read. IDs are revalidated against public resources in its organisation. Saved preferences no longer restrict access to public content.

### אימות

```json
[
  {
    "bearerAuth": []
  },
  {
    "apiKeyHeader": []
  }
]
```

### הרשאות נדרשות

```json
{
  "accepted": "wordpress:publish",
  "additional": []
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "selection"
        ],
        "properties": {
          "selection": {
            "type": "object",
            "properties": {
              "donation": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              },
              "forms": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              },
              "events": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              },
              "caisses": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              },
              "pages": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              },
              "galleries": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Public projection only; never donor or submission records.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {}
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "deprecated": true,
  "x-unisoft-scope": "wordpress:publish",
  "x-unisoft-mcp": {
    "category": "update",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /wordpress/data/{kind}

Read public organisation modules

`get_wordpress_data`

Required scope: `wordpress:read`. Tenant ownership and live public availability are checked on every request. Money uses integer minor units with a currency per collection.

### אימות

```json
[
  {
    "bearerAuth": []
  },
  {
    "apiKeyHeader": []
  }
]
```

### הרשאות נדרשות

```json
{
  "accepted": "wordpress:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "kind",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "enum": [
      "donation",
      "forms",
      "events",
      "caisses",
      "pages",
      "galleries"
    ]
  }
}
```

```json
{
  "name": "id",
  "in": "query",
  "schema": {
    "type": "string"
  }
}
```

```json
{
  "name": "lang",
  "in": "query",
  "schema": {
    "type": "string"
  }
}
```

```json
{
  "name": "limit",
  "in": "query",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 24
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Public projection only; never donor or submission records.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {}
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Unavailable, inactive, or foreign resource"
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "wordpress:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## DELETE /wordpress/connection

Disconnect this WordPress site

`delete_wordpress_connection`

Required scope: `wordpress:read`. Removes only this key's publication settings; revokes OAuth tokens, but does not revoke a manually supplied integration key.

### אימות

```json
[
  {
    "bearerAuth": []
  },
  {
    "apiKeyHeader": []
  }
]
```

### הרשאות נדרשות

```json
{
  "accepted": "wordpress:read",
  "additional": []
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Public projection only; never donor or submission records.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {}
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "wordpress:read",
  "x-unisoft-mcp": {
    "category": "delete",
    "readOnly": false,
    "destructive": true,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /wordpress/releases/stable

Read the signed plugin release manifest

`list_wordpress_releases_stable`

Public endpoint, independent of account subscription. Automatically builds and caches the deployed source version. Ed25519 signature of a base64-encoded JSON payload.

### אימות

```json
[]
```

### הרשאות נדרשות

```json
{
  "accepted": null,
  "additional": []
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Signed manifest",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "signed",
          "signature"
        ],
        "properties": {
          "signed": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Release generation temporarily unavailable; retry later"
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": null,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## סכמות

```json
{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key",
        "description": "Format: `ke_live_xxx`"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  }
}
```
