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) | ||||
| : 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, | ||||
|  |  | |||
|  | @ -491,6 +491,9 @@ components: | |||
|                 type: string | ||||
|             location: | ||||
|               type: string | ||||
|             codeOfConduct: | ||||
|               type: string | ||||
|               format: url | ||||
|             content: | ||||
|               type: object | ||||
|               properties: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Ciarán Ainsworth
						Ciarán Ainsworth