| 开发者 | ctrlwebinc |
|---|---|
| 更新时间 | 2026年10月29日 01:53 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
docs/PROTOCOL.md (included in the plugin), so anyone can build a compatible service.wp-config.php values, user names or email addresses, post content, file paths, the database prefix or server IP addresses.https://service.example)./.well-known/site-portrait) and shows you its name, privacy policy and the data it asks for. Tick the categories you agree to share.docs/PROTOCOL.md and docs/schema/. The filter site_portrait_scope_data lets other plugins add data to a category.
Licenses
The plugin code is licensed under the GPL, version 2 or later (GPL-2.0-or-later). The protocol specification and JSON schemas in docs/ are licensed under Creative Commons Attribution 4.0 (CC-BY-4.0), so that anyone can implement a compatible service.
No. The API is read-only. The only thing a service can do besides reading is end the connection.
The site only stores the service's public key, which cannot be used to send requests. The site's own private key is also stored; it only allows signing answers as your site and can be replaced from the settings page (Generate a new site key) or by disconnecting.
An application password gives a service every permission of the user who created it, and it can be reused by anyone who obtains it. This plugin gives read access to the chosen categories only, with signed, single-use requests.
HTTPS is required. For local development only, define SITE_PORTRAIT_DEV_MODE as true with a local or development environment type and a .test, .localhost or loopback host.
Read docs/PROTOCOL.md. It lists what a service must implement, with examples and test vectors.