Skip to main content

ArrayCollection Schema

Data structure for Array Collection objects.

Item Type​

This is a collection (list) of Array items.

Usage​

# Example: Working with ArrayCollection
items = [
{"id":"item-id-1"},
{"id":"item-id-2"}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"id": "item-id-1"
},
{
"id": "item-id-2"
}
]