mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
refactor: 🚚 Rename ServerMetadata to InstanceMetadata
This commit is contained in:
parent
c074e6e38e
commit
f62c2b3a19
|
|
@ -30,5 +30,5 @@ This page lists changes since Working Draft 03. {{ className: 'lead' }}
|
|||
- Removed the use of `Undo` entities for anything except than deleting entities.
|
||||
- Renamed `Undo` to [Delete](/entities/delete).
|
||||
- Added [Unfollow](/entities/unfollow) entity.
|
||||
- Completely rework [ServerMetadata](/entities/server-metadata).
|
||||
- Remove Server Actors, and move instance public keys to [ServerMetadata](/entities/server-metadata).
|
||||
- Completely rework `ServerMetadata`, and rename to [InstanceMetadata](/entities/instance-metadata).
|
||||
- Remove Server Actors, and move instance public keys to [InstanceMetadata](/entities/instance-metadata).
|
||||
|
|
@ -101,9 +101,9 @@ On all entities that have an `author` field, the `author` can be `null` to repre
|
|||
|
||||
<Col sticky>
|
||||
|
||||
```jsonc {{ 'title': 'ServerMetadata' }}
|
||||
```jsonc {{ 'title': 'InstanceMetadata' }}
|
||||
{
|
||||
"type": "ServerMetadata",
|
||||
"type": "InstanceMetadata",
|
||||
"name": "Jim's Jolly Jimjams",
|
||||
"software": {
|
||||
"name": "Versia Server",
|
||||
|
|
@ -55,7 +55,7 @@ Server metadata can be accessed by making a `GET` request to the server's Versia
|
|||
|
||||
To discover the metadata of the server `versia.social`, an instance would make a `GET` request to `https://versia.social/.well-known/versia`.
|
||||
|
||||
This endpoint will return a [ServerMetadata](/entities/server-metadata) entity.
|
||||
This endpoint will return an [InstanceMetadata](/entities/instance-metadata) entity.
|
||||
|
||||
```http {{ 'title': 'Example Request' }}
|
||||
GET /.well-known/versia HTTP/1.1
|
||||
|
|
@ -64,7 +64,7 @@ Accept: application/json
|
|||
|
||||
```jsonc {{ 'title': 'Example Response' }}
|
||||
{
|
||||
"type": "ServerMetadata",
|
||||
"type": "InstanceMetadata",
|
||||
"name": "Versia Social",
|
||||
"software": {
|
||||
"name": "Versia Server",
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@ export const navigation: NavGroup[] = [
|
|||
{ title: "FollowAccept", href: "/entities/follow-accept" },
|
||||
{ title: "FollowReject", href: "/entities/follow-reject" },
|
||||
{ title: "Notes", href: "/entities/note" },
|
||||
{ title: "ServerMetadata", href: "/entities/server-metadata" },
|
||||
{ title: "InstanceMetadata", href: "/entities/server-metadata" },
|
||||
{ title: "Unfollow", href: "/entities/unfollow" },
|
||||
{ title: "Users", href: "/entities/user" },
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue