feat(docs): Added CoC property to nodeinfo spec

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2641>
This commit is contained in:
Ciarán Ainsworth 2023-11-20 09:22:19 +00:00 committed by Georg Krause
parent 6157df5552
commit b6190540ee
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
Added CoC link to nodeinfo endpoint spec.

View File

@ -91,6 +91,9 @@ The NodeInfo endpoint must contain all mandatory elements listed in the specific
`location` (String)
: The country the pod is located in
`codeOfConduct` (String \<Url\>)
: If the server admin has populated the **Rules** setting on their pod, this value is populated with the URL to the pod's about page: `<server_domain>/about/pod#rules`.
`federation.followsInstances` (Number)
: The number of Funkwhale pods that the target pod follows
@ -163,6 +166,7 @@ Example response:
"instanceSupportMessage": "string",
"languages": ["string"],
"location": "string",
"codeOfConduct": "string",
"content": {
"local": {
"artists": 1000,

View File

@ -491,6 +491,9 @@ components:
type: string
location:
type: string
codeOfConduct:
type: string
format: url
content:
type: object
properties: