feat(docs): Added CoC property to nodeinfo spec
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2641>
This commit is contained in:
parent
6157df5552
commit
b6190540ee
|
@ -0,0 +1 @@
|
||||||
|
Added CoC link to nodeinfo endpoint spec.
|
|
@ -91,6 +91,9 @@ The NodeInfo endpoint must contain all mandatory elements listed in the specific
|
||||||
`location` (String)
|
`location` (String)
|
||||||
: The country the pod is located in
|
: 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)
|
`federation.followsInstances` (Number)
|
||||||
: The number of Funkwhale pods that the target pod follows
|
: The number of Funkwhale pods that the target pod follows
|
||||||
|
|
||||||
|
@ -163,6 +166,7 @@ Example response:
|
||||||
"instanceSupportMessage": "string",
|
"instanceSupportMessage": "string",
|
||||||
"languages": ["string"],
|
"languages": ["string"],
|
||||||
"location": "string",
|
"location": "string",
|
||||||
|
"codeOfConduct": "string",
|
||||||
"content": {
|
"content": {
|
||||||
"local": {
|
"local": {
|
||||||
"artists": 1000,
|
"artists": 1000,
|
||||||
|
|
|
@ -491,6 +491,9 @@ components:
|
||||||
type: string
|
type: string
|
||||||
location:
|
location:
|
||||||
type: string
|
type: string
|
||||||
|
codeOfConduct:
|
||||||
|
type: string
|
||||||
|
format: url
|
||||||
content:
|
content:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in New Issue