ansible-role-docker_webfing.../templates/user-template.json

30 lines
832 B
JSON
Raw Normal View History

{
"subject" : "acct:{{ acct }}",
"properties" :
{
"http://packetizer.com/ns/name" : "{{ user.displayName }}"
},
"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}"
}
]
}