logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git

nodeinfo.md (7519B)


  1. # Nodeinfo
  2. See also [the Nodeinfo standard](https://nodeinfo.diaspora.software/).
  3. ## `/.well-known/nodeinfo`
  4. ### The well-known path
  5. * Method: `GET`
  6. * Authentication: not required
  7. * Params: none
  8. * Response: JSON
  9. * Example response:
  10. ```json
  11. {
  12. "links":[
  13. {
  14. "href":"https://example.com/nodeinfo/2.0.json",
  15. "rel":"http://nodeinfo.diaspora.software/ns/schema/2.0"
  16. },
  17. {
  18. "href":"https://example.com/nodeinfo/2.1.json",
  19. "rel":"http://nodeinfo.diaspora.software/ns/schema/2.1"
  20. }
  21. ]
  22. }
  23. ```
  24. ## `/nodeinfo/2.0.json`
  25. ### Nodeinfo 2.0
  26. * Method: `GET`
  27. * Authentication: not required
  28. * Params: none
  29. * Response: JSON
  30. * Example response:
  31. ```json
  32. {
  33. "metadata":{
  34. "accountActivationRequired":false,
  35. "features":[
  36. "pleroma_api",
  37. "mastodon_api",
  38. "mastodon_api_streaming",
  39. "polls",
  40. "pleroma_explicit_addressing",
  41. "shareable_emoji_packs",
  42. "multifetch",
  43. "pleroma:api/v1/notifications:include_types_filter",
  44. "chat",
  45. "shout",
  46. "relay",
  47. "pleroma_emoji_reactions",
  48. "pleroma_chat_messages"
  49. ],
  50. "federation":{
  51. "enabled":true,
  52. "exclusions":false,
  53. "mrf_hashtag":{
  54. "federated_timeline_removal":[
  55. ],
  56. "reject":[
  57. ],
  58. "sensitive":[
  59. "nsfw"
  60. ]
  61. },
  62. "mrf_object_age":{
  63. "actions":[
  64. "delist",
  65. "strip_followers"
  66. ],
  67. "threshold":604800
  68. },
  69. "mrf_policies":[
  70. "ObjectAgePolicy",
  71. "TagPolicy",
  72. "HashtagPolicy"
  73. ],
  74. "quarantined_instances":[
  75. ]
  76. },
  77. "fieldsLimits":{
  78. "maxFields":10,
  79. "maxRemoteFields":20,
  80. "nameLength":512,
  81. "valueLength":2048
  82. },
  83. "invitesEnabled":false,
  84. "mailerEnabled":false,
  85. "nodeDescription":"Pleroma: An efficient and flexible fediverse server",
  86. "nodeName":"Example",
  87. "pollLimits":{
  88. "max_expiration":31536000,
  89. "max_option_chars":200,
  90. "max_options":20,
  91. "min_expiration":0
  92. },
  93. "postFormats":[
  94. "text/plain",
  95. "text/html",
  96. "text/markdown",
  97. "text/bbcode"
  98. ],
  99. "private":false,
  100. "restrictedNicknames":[
  101. ".well-known",
  102. "~",
  103. "about",
  104. "activities",
  105. "api",
  106. "auth",
  107. "check_password",
  108. "dev",
  109. "friend-requests",
  110. "inbox",
  111. "internal",
  112. "main",
  113. "media",
  114. "nodeinfo",
  115. "notice",
  116. "oauth",
  117. "objects",
  118. "ostatus_subscribe",
  119. "pleroma",
  120. "proxy",
  121. "push",
  122. "registration",
  123. "relay",
  124. "settings",
  125. "status",
  126. "tag",
  127. "user-search",
  128. "user_exists",
  129. "users",
  130. "web",
  131. "verify_credentials",
  132. "update_credentials",
  133. "relationships",
  134. "search",
  135. "confirmation_resend",
  136. "mfa"
  137. ],
  138. "skipThreadContainment":true,
  139. "staffAccounts":[
  140. "https://example.com/users/admin",
  141. "https://example.com/users/staff"
  142. ],
  143. "suggestions":{
  144. "enabled":false
  145. },
  146. "uploadLimits":{
  147. "avatar":2000000,
  148. "background":4000000,
  149. "banner":4000000,
  150. "general":16000000
  151. }
  152. },
  153. "openRegistrations":true,
  154. "protocols":[
  155. "activitypub"
  156. ],
  157. "services":{
  158. "inbound":[
  159. ],
  160. "outbound":[
  161. ]
  162. },
  163. "software":{
  164. "name":"pleroma",
  165. "version":"2.4.1"
  166. },
  167. "usage":{
  168. "localPosts":27,
  169. "users":{
  170. "activeHalfyear":129,
  171. "activeMonth":70,
  172. "total":235
  173. }
  174. },
  175. "version":"2.0"
  176. }
  177. ```
  178. ## `/nodeinfo/2.1.json`
  179. ### Nodeinfo 2.1
  180. * Method: `GET`
  181. * Authentication: not required
  182. * Params: none
  183. * Response: JSON
  184. * Example response:
  185. ```json
  186. {
  187. "metadata":{
  188. "accountActivationRequired":false,
  189. "features":[
  190. "pleroma_api",
  191. "mastodon_api",
  192. "mastodon_api_streaming",
  193. "polls",
  194. "pleroma_explicit_addressing",
  195. "shareable_emoji_packs",
  196. "multifetch",
  197. "pleroma:api/v1/notifications:include_types_filter",
  198. "chat",
  199. "shout",
  200. "relay",
  201. "pleroma_emoji_reactions",
  202. "pleroma_chat_messages"
  203. ],
  204. "federation":{
  205. "enabled":true,
  206. "exclusions":false,
  207. "mrf_hashtag":{
  208. "federated_timeline_removal":[
  209. ],
  210. "reject":[
  211. ],
  212. "sensitive":[
  213. "nsfw"
  214. ]
  215. },
  216. "mrf_object_age":{
  217. "actions":[
  218. "delist",
  219. "strip_followers"
  220. ],
  221. "threshold":604800
  222. },
  223. "mrf_policies":[
  224. "ObjectAgePolicy",
  225. "TagPolicy",
  226. "HashtagPolicy"
  227. ],
  228. "quarantined_instances":[
  229. ]
  230. },
  231. "fieldsLimits":{
  232. "maxFields":10,
  233. "maxRemoteFields":20,
  234. "nameLength":512,
  235. "valueLength":2048
  236. },
  237. "invitesEnabled":false,
  238. "mailerEnabled":false,
  239. "nodeDescription":"Pleroma: An efficient and flexible fediverse server",
  240. "nodeName":"Example",
  241. "pollLimits":{
  242. "max_expiration":31536000,
  243. "max_option_chars":200,
  244. "max_options":20,
  245. "min_expiration":0
  246. },
  247. "postFormats":[
  248. "text/plain",
  249. "text/html",
  250. "text/markdown",
  251. "text/bbcode"
  252. ],
  253. "private":false,
  254. "restrictedNicknames":[
  255. ".well-known",
  256. "~",
  257. "about",
  258. "activities",
  259. "api",
  260. "auth",
  261. "check_password",
  262. "dev",
  263. "friend-requests",
  264. "inbox",
  265. "internal",
  266. "main",
  267. "media",
  268. "nodeinfo",
  269. "notice",
  270. "oauth",
  271. "objects",
  272. "ostatus_subscribe",
  273. "pleroma",
  274. "proxy",
  275. "push",
  276. "registration",
  277. "relay",
  278. "settings",
  279. "status",
  280. "tag",
  281. "user-search",
  282. "user_exists",
  283. "users",
  284. "web",
  285. "verify_credentials",
  286. "update_credentials",
  287. "relationships",
  288. "search",
  289. "confirmation_resend",
  290. "mfa"
  291. ],
  292. "skipThreadContainment":true,
  293. "staffAccounts":[
  294. "https://example.com/users/admin",
  295. "https://example.com/users/staff"
  296. ],
  297. "suggestions":{
  298. "enabled":false
  299. },
  300. "uploadLimits":{
  301. "avatar":2000000,
  302. "background":4000000,
  303. "banner":4000000,
  304. "general":16000000
  305. }
  306. },
  307. "openRegistrations":true,
  308. "protocols":[
  309. "activitypub"
  310. ],
  311. "services":{
  312. "inbound":[
  313. ],
  314. "outbound":[
  315. ]
  316. },
  317. "software":{
  318. "name":"pleroma",
  319. "repository":"https://git.pleroma.social/pleroma/pleroma",
  320. "version":"2.4.1"
  321. },
  322. "usage":{
  323. "localPosts":27,
  324. "users":{
  325. "activeHalfyear":129,
  326. "activeMonth":70,
  327. "total":235
  328. }
  329. },
  330. "version":"2.1"
  331. }
  332. ```