docs: frontendConfig -> pleroma.config

This commit is contained in:
Alex Gleason 2024-01-08 18:21:35 -06:00
parent db3ee13baa
commit bbaa5da0a0
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 2 additions and 6 deletions

View File

@ -37,10 +37,6 @@ Example:
The sections below describe the `content` field. Some are encrypted and some are not, depending on whether the data should be public. Also, some events are user events, and some are admin events. The sections below describe the `content` field. Some are encrypted and some are not, depending on whether the data should be public. Also, some events are user events, and some are admin events.
### `pub.ditto.blocks` ### `pub.ditto.pleroma.config`
An encrypted array of blocked pubkeys, JSON stringified in `content` and encrypted with `nip04.encrypt`. NIP-04 encrypted JSON array of Pleroma ConfigDB objects. Pleroma admin API endpoints set this config, and Ditto reads from it.
### `pub.ditto.frontendConfig`
JSON data for Pleroma frontends served on `/api/pleroma/frontend_configurations`. Each key contains arbitrary data used by a different frontend.