Skip to main content

SyncGroupCollection Schema

Data structure for Sync Group Collection objects.

Item Type​

This is a collection (list) of SyncGroup items.

Usage​

# Example: Working with SyncGroupCollection
items = [
{"deleted":true,"id":1,"last_modified":1,"name":"name-value-1"},
{"deleted":true,"id":2,"last_modified":2,"name":"name-value-2"}
]

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

JSON Example​

[
{
"deleted": true,
"id": 1,
"last_modified": 1,
"name": "name-value-1"
},
{
"deleted": true,
"id": 2,
"last_modified": 2,
"name": "name-value-2"
}
]