mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
refactor: 📝 Use new Versia content-type everywhere
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s
This commit is contained in:
parent
e138e9e7c3
commit
c6c5945bef
3 changed files with 8 additions and 8 deletions
|
|
@ -37,7 +37,7 @@ export const metadata = {
|
|||
|
||||
```http {{ 'title': 'Example response' }}
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/vnd.versia+json
|
||||
Content-Type: application/vnd.versia+json; charset=utf-8
|
||||
|
||||
{
|
||||
"type": "InstanceMetadata",
|
||||
|
|
@ -81,7 +81,7 @@ export const metadata = {
|
|||
|
||||
```http {{ 'title': 'Example response' }}
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/vnd.versia+json
|
||||
Content-Type: application/vnd.versia+json; charset=utf-8
|
||||
|
||||
{
|
||||
"type": "User",
|
||||
|
|
@ -125,7 +125,7 @@ export const metadata = {
|
|||
|
||||
```http {{ 'title': 'Example response' }}
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/vnd.versia+json
|
||||
Content-Type: application/vnd.versia+json; charset=utf-8
|
||||
|
||||
{
|
||||
"type": "Followers",
|
||||
|
|
@ -173,7 +173,7 @@ The delivery mechanism is described further in the [Federation](/federation) doc
|
|||
POST /.versia/v0.6/inbox
|
||||
Host: b.social
|
||||
Accept: application/vnd.versia+json
|
||||
Content-Type: application/vnd.versia+json
|
||||
Content-Type: application/vnd.versia+json; charset=utf-8
|
||||
|
||||
{
|
||||
"type": "Note",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue