CollectionItem
Represents a single item in a Collection.
Example
{
"id": "116141056635954112",
"account_id": "112658193342215767",
"state": "accepted",
"created_at": "2026-02-25T11:35:01.394Z"
}
Attributes
id
Description: The item id.
Type: String (cast from an integer, but not guaranteed to be a number)
Version history:
4.6.0 - added
account_id
Description: The id of the account this item represents.
Type: nullable String (cast from an integer, but not guaranteed to be a number)
Version history:
4.6.0 - added
state
Description: The current state of the item.
Type: String (Enumerable, oneOf)pending = The account’s consent to be added to this Collection could not yet be verified.accepted = The account has consented to be featured in this Collection.
Version history:
4.6.0 - added
created_at
Description: When the item was added to the collection.
Type: String (Datetime)
Version history:
4.6.0 - added
See also
app/serializers/rest/collection_item_serializer.rbLast updated