From 4f322f527f6c6e043f9efa13034fed1dbd35f1eb Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 6 Apr 2023 13:16:53 +0200 Subject: [bugfix] Always serialize orderedItems as array (#1673) --- docs/federation/federating_with_gotosocial.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/federation') diff --git a/docs/federation/federating_with_gotosocial.md b/docs/federation/federating_with_gotosocial.md index 0bc85251e..fe570d670 100644 --- a/docs/federation/federating_with_gotosocial.md +++ b/docs/federation/federating_with_gotosocial.md @@ -236,13 +236,15 @@ Example of a featured collection of a user who has pinned multiple `Note`s: } ``` -Example of a user who has pinned one `Note` (`orderedItems` is just a URL string now!): +Example of a user who has pinned one `Note`: ```json { "@context": "https://www.w3.org/ns/activitystreams", "id": "https://example.org/users/some_user/collections/featured", - "orderedItems": "https://example.org/users/some_user/statuses/01GS7VTYH0S77NNXTP6W4G9EAG", + "orderedItems": [ + "https://example.org/users/some_user/statuses/01GS7VTYH0S77NNXTP6W4G9EAG" + ], "totalItems": 1, "type": "OrderedCollection" } -- cgit v1.2.3