actor: add missing fields
This commit is contained in:
parent
257aeb5c4e
commit
2d16ed3cde
|
@ -30,12 +30,14 @@ async def actor(request):
|
||||||
"inbox": "https://{}/inbox".format(request.host),
|
"inbox": "https://{}/inbox".format(request.host),
|
||||||
"name": "Viera",
|
"name": "Viera",
|
||||||
"type": "Application",
|
"type": "Application",
|
||||||
|
"id": "https://{}/actor".format(request.host),
|
||||||
"publicKey": {
|
"publicKey": {
|
||||||
"id": "https://{}/actor#main-key".format(request.host),
|
"id": "https://{}/actor#main-key".format(request.host),
|
||||||
"owner": "https://{}/actor".format(request.host),
|
"owner": "https://{}/actor".format(request.host),
|
||||||
"publicKeyPem": DATABASE["actorKeys"]["publicKey"]
|
"publicKeyPem": DATABASE["actorKeys"]["publicKey"]
|
||||||
},
|
},
|
||||||
"summary": "Viera, the bot"
|
"summary": "Viera, the bot",
|
||||||
|
"preferredUsername": "viera"
|
||||||
}
|
}
|
||||||
return aiohttp.web.json_response(data)
|
return aiohttp.web.json_response(data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue