Commit 60c99667 authored by jaywink's avatar jaywink

Rename to ServiceInfo

parent 8a8f2135
# ServerInfo
# ServiceInfo
Serverinfo is an effort to create a standardized way of exposing metadata about a server. This might be necessary to expose ownership and organization details, usage statistics and protocol capabilities.
ServiceInfo is an effort to create a standardized way of exposing metadata about a server. This might be necessary to expose ownership and organization details, usage statistics and protocol capabilities.
## Specification
......@@ -30,6 +30,8 @@ All content in this repository is under [CC0](http://creativecommons.org/publicd
Please open issues and pull requests if you want to suggest a change. If you open a pull request you agree for your work to be released under CC0.
We have a [forum for discussion](https://talk.feneas.org/t/serviceinfo-specification-for-service-metadata/99).
## History
ServerInfo is a fork of [NodeInfo2](https://git.feneas.org/jaywink/nodeinfo2) which itself is a fork of [NodeInfo](https://nodeinfo.diaspora.software/) which was the successor of `statistics.json` in Diaspora.
ServiceInfo is a fork of [NodeInfo2](https://git.feneas.org/jaywink/nodeinfo2) which itself is a fork of [NodeInfo](https://nodeinfo.diaspora.software/) which was the successor of `statistics.json` in Diaspora.
# ServerInfo specification 1.0
# ServiceInfo specification 1.0
## Status
......@@ -14,11 +14,11 @@ The term "schema" refers to a schema definition provided in the schemas subdirec
## Document location
A server SHOULD provide a ServerInfo document at the endpoint `/.well-known/x-serverinfo`.
A server SHOULD provide a ServiceInfo document at the endpoint `/.well-known/x-serviceinfo`.
### ActivityPub
Actor's in ActivityPub MAY have an additional `endpoint` called `serverinfo`, pointing to the location of the serverinfo document.
Actor's in ActivityPub MAY have an additional `endpoint` called `serviceInfo`, pointing to the location of the ServiceInfo document.
## Retrieval
......@@ -30,4 +30,4 @@ A server SHOULD set a Content-Type of `application/json`.
See the latest [schema](/schemas/1.0/schema.json).
Clients SHOULD verify the serverinfo document against the schema.
Clients SHOULD verify the ServiceInfo document against the schema.
{
"version": "1.0",
"server": {
"id": "https://example.com/.well-known/x-serverinfo",
"id": "https://example.com/.well-known/x-serviceinfo",
"name": "Example server",
"software": "example",
"version": "0.5.0"
......
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"id": "https://feneas.org/specs/serverinfo",
"title": "ServerInfo schema version 1.0.",
"id": "https://feneas.org/specs/serviceinfo",
"title": "ServiceInfo schema version 1.0.",
"type": "object",
"required": [
"version",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment