Update activitypub-servers.php

This commit is contained in:
Namhyeon Go 2022-06-30 18:02:16 +09:00 committed by GitHub
parent 4fa70c595a
commit c837c5ead5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,17 +8,16 @@ return <<<EOF
"platform": "gnuboard5", "platform": "gnuboard5",
"user": "/?route=activitypub.user&mb_id=:username", "user": "/?route=activitypub.user&mb_id=:username",
"inbox": "/?route=activitypub.inbox", "inbox": "/?route=activitypub.inbox",
"userinbox": "/?route=activitypub.inbox&mb_id=:username", "accesstoken": "YOUR ACCESSTOKEN HERE",
"docs": [ "docs": [
"https://github.com/gnh1201/gnuboard5-activitypub" "https://github.com/gnh1201/gnuboard5-activitypub"
] ]
}, },
"https://mastodon.social": { "https://mastodon.social": {
"enabled": ture, "enabled": false,
"platform": "mastodon", "platform": "mastodon",
"user": "/users/:username", "user": "/users/:username",
"inbox": "/inbox", "inbox": "/inbox",
"userinbox": "/user/inbox/:username/inbox",
"accesstoken": "YOUR ACCESSTOKEN HERE", "accesstoken": "YOUR ACCESSTOKEN HERE",
"docs": [ "docs": [
"https://docs.joinmastodon.org/spec/activitypub/" "https://docs.joinmastodon.org/spec/activitypub/"
@ -29,7 +28,7 @@ return <<<EOF
"platform": "peertube", "platform": "peertube",
"user": "/accounts/:username", "user": "/accounts/:username",
"inbox": "/inbox", "inbox": "/inbox",
"userinbox": "/accounts/:username/inbox", "accesstoken": "YOUR ACCESSTOKEN HERE",
"docs": [ "docs": [
"https://docs.joinpeertube.org/api-rest-reference.html" "https://docs.joinpeertube.org/api-rest-reference.html"
] ]