Skip to main content

V1ConfigLocationsList Schema

Data structure for V1 Config Locations List objects.

Item Type​

This is a collection (list) of Location items.

Usage​

# Example: Working with V1ConfigLocationsList
items = [
{"id":1,"name":"name-value-1","parent_id":1},
{"id":2,"name":"name-value-2","parent_id":2}
]

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

JSON Example​

[
{
"id": 1,
"name": "name-value-1",
"parent_id": 1
},
{
"id": 2,
"name": "name-value-2",
"parent_id": 2
}
]