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

29 lines
814 B
JSON
Raw Normal View History

{
"subject" : "acct:{{ acct }}",
"properties" :
{
2024-03-17 19:45:17 +01:00
"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}"
}
]
}