28 lines
814 B
JSON
28 lines
814 B
JSON
{
|
|
"subject" : "acct:{{ acct }}",
|
|
"properties" :
|
|
{
|
|
"http://packetizer.com/ns/name" : "{{ user.cn }}"
|
|
},
|
|
"aliases" :
|
|
[
|
|
"https://mastodon.libretic.fr/users/{{ user.uid | replace('.', '') }}"
|
|
],
|
|
"links" :
|
|
[
|
|
{
|
|
"rel" : "http://webfinger.net/rel/profile-page",
|
|
"type": "text/html",
|
|
"href": "https://mastodon.libretic.fr/@{{ user.uid | replace('.', '') }}"
|
|
},
|
|
{
|
|
"rel": "self",
|
|
"type": "application/activity+json",
|
|
"href": "https://mastodon.libretic.fr/users/{{ user.uid | replace('.', '') }}"
|
|
},
|
|
{
|
|
"rel": "http://ostatus.org/schema/1.0/subscribe",
|
|
"template": "https://mastodon.libretic.fr/authorize_interaction?uri={uri}"
|
|
}
|
|
]
|
|
}
|