X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Ffixtures%2Fwebfinger%2Fmasto-webfinger.json;fp=test%2Ffixtures%2Fwebfinger%2Fmasto-webfinger.json;h=561be3fff06641ef99558d7ca4bc8dcc17b64935;hb=e26388a01c91f9e3b1b9a0b77938b6f5b215ec63;hp=0000000000000000000000000000000000000000;hpb=c3eea8dc7d005ccc2384a5e6e744d8084aff3e0c;p=akkoma diff --git a/test/fixtures/webfinger/masto-webfinger.json b/test/fixtures/webfinger/masto-webfinger.json new file mode 100644 index 000000000..561be3fff --- /dev/null +++ b/test/fixtures/webfinger/masto-webfinger.json @@ -0,0 +1,23 @@ +{ + "subject": "acct:{{nickname}}@{{domain}}", + "aliases": [ + "https://{{subdomain}}/@{{nickname}}", + "https://{{subdomain}}/users/{{nickname}}" + ], + "links": [ + { + "rel": "http://webfinger.net/rel/profile-page", + "type": "text/html", + "href": "https://{{subdomain}}/@{{nickname}}" + }, + { + "rel": "self", + "type": "application/activity+json", + "href": "https://{{subdomain}}/users/{{nickname}}" + }, + { + "rel": "http://ostatus.org/schema/1.0/subscribe", + "template": "https://{{subdomain}}/authorize_interaction?uri={uri}" + } + ] +}