diff --git a/changes/changelog.d/coc-nodeinfo.doc b/changes/changelog.d/coc-nodeinfo.doc new file mode 100644 index 000000000..7f0174675 --- /dev/null +++ b/changes/changelog.d/coc-nodeinfo.doc @@ -0,0 +1 @@ +Added CoC link to nodeinfo endpoint spec. diff --git a/docs/specs/nodeinfo21/index.md b/docs/specs/nodeinfo21/index.md index e8d100956..adc27ab75 100644 --- a/docs/specs/nodeinfo21/index.md +++ b/docs/specs/nodeinfo21/index.md @@ -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 \) +: 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: `/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, diff --git a/docs/specs/nodeinfo21/schema.yml b/docs/specs/nodeinfo21/schema.yml index 9658c4321..e454b24c0 100644 --- a/docs/specs/nodeinfo21/schema.yml +++ b/docs/specs/nodeinfo21/schema.yml @@ -491,6 +491,9 @@ components: type: string location: type: string + codeOfConduct: + type: string + format: url content: type: object properties: