Sharing settings API, public profiles and ActivityPub docs (phase 1, step 4)
CI / validate-monitoring (push) Successful in 7s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 1m5s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / notify (push) Successful in 5s
CI / validate-monitoring (push) Successful in 7s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 1m5s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / notify (push) Successful in 5s
- /api/v1/federation/settings (GET, PATCH): sharing on/off, visibility (followers-only default), follow approval, discoverable/indexable, display name and bio, plus the read-only handle and URLs - /api/v1/federation/profiles/<name>: public profile for the UI page, only for users sharing - ActivityPub endpoints documented under an ActivityPub tag - docs/openapi.json is now exported with every optional module on (python -m scrobbler.openapi.export); the drift test and route checks cover both a federation-off and a federation-on app - Boundary: federation may use scrobbler.api.get_api to register its blueprint; the checker proves other scrobbler.api modules stay off limits Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MK52BGoJbPhZ1vSFuKcGUW
This commit is contained in:
1 parent
ce39e8f865
commit
0b10469514
11 files changed
+1175
-11
No files matched your search
@@ -12,6 +12,7 @@ or switched off without touching anything else. Design: `docs/design/activitypub
|
||||
Signature schemes, vocabulary and document formats live there.
|
||||
3. **The rest of this package uses only the core's public surface**:
|
||||
- `scrobbler.__version__`
|
||||
- `scrobbler.api.get_api` (to register federation's API blueprint and document its paths)
|
||||
- `scrobbler.events`
|
||||
- `scrobbler.extensions` (`db`)
|
||||
- `scrobbler.worker`
|
||||
|
||||
Reference in new issue
Block a user