CollectionWithAccounts
A curated Collection of accounts that a user recommends others to follow plus the full account data
Example
{
"accounts": [
{
"id": "113668893442515793",
// ... Full `Account` entity for the collection owner
},
{
"id": "112658193342215767",
// ... Full `Account` entity for the first item in the collection
},
{
"id": "117628196343117789",
// ... Full `Account` entity for the second item in the collection
}
],
"collection": {
"id": "116131056935959117",
"account_id": "113668893442515793",
"uri": "https://example.com/ap/113668893442515793/collections/116131056935959117",
"url": "https://example.com/collections/116131056935959117",
"name": "Excellent people",
"description": "Well worth following",
"language": "en",
"local": true,
"sensitive": false,
"discoverable": true,
"tag": {
"name": "discovery",
"url": "https://example.com/tags/discovery"
},
"item_count": 2,
"items": [
{
"id": "116141056635954112",
"account_id": "112658193342215767",
"state": "accepted",
"created_at": "2026-02-25T11:35:01.394Z"
},
{
"id": "116141051635254139",
"account_id": "117628196343117789",
"state": "pending",
"created_at": "2026-02-25T11:35:01.394Z"
}
],
"created_at": "2026-02-25T11:35:01.394Z",
"updated_at": "2026-02-25T11:37:38.182Z"
}
}
Attributes
accounts
Description: Full account entities for the owner of the Collection and every account within the Collection.
Type: Array of Account
Version history:
4.6.0 - added
collection
Description: The actual Collection.
Type: Collection
Version history:
4.6.0 - added
See also
Collection entity Account entity
app/serializers/rest/collection_with_accounts_serializer.rbLast updated