{ "openapi": "3.0.1", "info": { "title": "Manyfold API", "version": "0" }, "paths": { "/.well-known/nodeinfo": { "get": { "summary": "Discovery URL for NodeInfo protocol", "tags": [ "NodeInfo" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "links": { "type": "array", "items": { "type": "object", "properties": { "rel": { "type": "url", "example": "https://nodeinfo.diaspora.software/ns/schema/2.0" }, "href": { "type": "url", "example": "https://{defaultHost}/nodeinfo/2.0", "description": "The URL to the full NodeInfo document" } } } } }, "required": [ "links" ] } } } } } } }, "/nodeinfo/2.0": { "get": { "summary": "Get server metadata in NodeInfo 2.0 format", "tags": [ "NodeInfo" ], "responses": { "200": { "description": "Success", "content": { "application/json; profile=\"http://nodeinfo.diaspora.software/ns/schema/2.0#\"": { "schema": { "type": "object", "properties": { "version": { "type": "string", "example": "2.0" }, "software": { "type": "object", "properties": { "name": { "type": "string", "example": "Manyfold" }, "version": { "type": "string", "example": "v0.103.0" } } }, "protocols": { "type": "array", "items": { "type": "string", "example": "activitypub" } }, "services": { "type": "object", "properties": { "inbound": { "type": "array", "items": { "type": "string" }, "example": [] }, "outbound": { "type": "array", "items": { "type": "string" }, "example": [] } } }, "openRegistrations": { "type": "boolean" }, "usage": { "type": "object", "properties": { "users": { "type": "object", "properties": { "total": { "type": "integer" }, "activeMonth": { "type": "integer" }, "activeHalfyear": { "type": "integer" } } } } }, "metadata": { "type": "object" } }, "required": [ "version", "software", "protocols", "openRegistrations" ] } } } } } } } }, "servers": [ { "url": "{protocol}://{host}" } ] }