diff --git a/app/changelog/page.mdx b/app/changelog/page.mdx index 2eed47b..2f5ae46 100644 --- a/app/changelog/page.mdx +++ b/app/changelog/page.mdx @@ -18,7 +18,6 @@ This page lists changes since Working Draft 3. {{ className: 'lead' }} - Every field that used to be a URI now uses that entity's `id` field. - New endpoints have been defined under `/.versia/v0.6/` to fetch entities by their `id`. - Added [References](/types#reference) as a way to refer to other entities. -- Mandated the usage of `null` for optional fields that are not set, instead of omitting them. - Changed usage of "`null` authors" to simply being an optional field. - Added more guidelines on [JSON data handling](/json). - Clarified the meaning of [Domain](/api/basics#domain) in the context of Versia. diff --git a/app/extensions/custom-emojis/page.mdx b/app/extensions/custom-emojis/page.mdx index a1b1e45..86c5bd3 100644 --- a/app/extensions/custom-emojis/page.mdx +++ b/app/extensions/custom-emojis/page.mdx @@ -38,14 +38,7 @@ The Custom Emojis extension adds support for adding personalized emojis to feder "image/webp": { "content": "https://cdn.example.com/emojis/happy_face.webp", "remote": true, - "description": "A happy emoji smiling.", - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "description": "A happy emoji smiling." } } } @@ -112,14 +105,7 @@ Custom Emojis can be added to any entity with text content. The extension ID is "image/webp": { "content": "https://cdn.example.com/emojis/happy_face.webp", "remote": true, - "description": "A happy emoji smiling.", - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "description": "A happy emoji smiling." } } } diff --git a/app/extensions/vanity/page.mdx b/app/extensions/vanity/page.mdx index 1fde257..704bae7 100644 --- a/app/extensions/vanity/page.mdx +++ b/app/extensions/vanity/page.mdx @@ -87,58 +87,26 @@ All properties are optional. { "image/png": { "content": "https://cdn.example.com/ab5081cf-b11f-408f-92c2-7c246f290593/cat_ears.png", - "remote": true, - "description": null, - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "remote": true } } ], "avatar_mask": { "image/png": { "content": "https://cdn.example.com/d8c42be1-d0f7-43ef-b4ab-5f614e1beba4/rounded_square.jpeg", - "remote": true, - "description": null, - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "remote": true } }, "background": { "image/png": { "content": "https://cdn.example.com/6492ddcd-311e-4921-9567-41b497762b09/untitled-file-0019822.png", - "remote": true, - "description": null, - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "remote": true } }, "audio": { "audio/mpeg": { "content": "https://cdn.example.com/4da2f0d4-4728-4819-83e4-d614e4c5bebc/michael-jackson-thriller.mp3", - "remote": true, - "description": null, - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "remote": true } }, "pronouns": { diff --git a/app/structures/content-format/page.mdx b/app/structures/content-format/page.mdx index a8b1d9d..66db689 100644 --- a/app/structures/content-format/page.mdx +++ b/app/structures/content-format/page.mdx @@ -127,9 +127,7 @@ It is a good idea to provide at least two versions of an image (if possible): on }, "thumbhash": "3OcRJYB4d3h/iIeHeEh3eIhw+j2w", "width": 1920, - "height": 1080, - "fps": null, - "duration": null + "height": 1080 } } ``` @@ -138,39 +136,15 @@ It is a good idea to provide at least two versions of an image (if possible): on { "text/plain": { "content": "The consequences of today are determined by the actions of the past. To change your future, alter your decisions today.", - "remote": false, - "description": null, - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "remote": false }, "text/markdown": { "content": "> The consequences of today are determined by the actions of the past.\n> To change your future, alter your decisions today.", - "remote": false, - "description": null, - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "remote": false }, "text/html": { "content": "

The consequences of today are determined by the actions of the past.

To change your future, alter your decisions today.

", - "remote": false, - "description": null, - "size": null, - "hash": null, - "thumbhash": null, - "width": null, - "height": null, - "fps": null, - "duration": null + "remote": false } } ```