type |
variant |
meaning |
0 |
tree |
it’s a tree in the network |
1 |
leaf |
it’s the end node of the network |
sub-type |
variant |
meaning |
0 |
delegate |
group / delegate |
1 |
policy |
topic / policy |
curl https://ppvs.media.mit.edu/api/node/9a013c63-cf30-486e-92aa-967a4b96cdf3 | jq .
{
"child": [
{
"uuid": "c28421c2-2d3d-4b58-a3a1-a5c7d3f19c23",
"type": 1,
"sub_type": 1,
"label": "Transportation, Streets and Sidewalks",
"created_at": "2024-04-14T13:48:43.803756Z"
},
{
"uuid": "cbe3bdd3-ebe8-41a0-8334-cb9ba5ccc653",
"type": 1,
"sub_type": 1,
"label": "Community Resources",
"created_at": "2024-04-14T13:48:43.806286Z"
},
{
"uuid": "f4d1bbba-5fe6-4dad-b5d6-d68c9fb0262e",
"type": 1,
"sub_type": 1,
"label": "Facilities, Parks, and Recreation",
"created_at": "2024-04-14T13:48:43.80876Z"
},
{
"uuid": "459a001b-3ae9-4f0c-9e8c-82387a4486d1",
"type": 1,
"sub_type": 1,
"label": "Environment",
"created_at": "2024-04-14T13:48:43.811765Z"
}
],
"node": {
"uuid": "9a013c63-cf30-486e-92aa-967a4b96cdf3",
"type": 1,
"sub_type": 1,
"label": "Cambridge Participatory Budgeting 2024",
"description": {
"String": "https://pb.cambridgema.gov/",
"Valid": true
},
"created_at": "2024-04-14T13:48:43.793913Z"
}
}
curl https://ppvs.media.mit.edu/api/node/459a001b-3ae9-4f0c-9e8c-82387a4486d1 | jq .
{
"child": [
{
"uuid": "81dca7b5-de5f-4e56-9904-19e48f7a82d5",
"type": 0,
"sub_type": 1,
"label": "Smart Recycling and Trash Compactors",
"created_at": "2024-04-14T13:48:43.823922Z"
},
{
"uuid": "82ca883d-3091-45e4-a670-66b2e2813c88",
"type": 0,
"sub_type": 1,
"label": "Tree and Community Garden Engagement Coordinator",
"created_at": "2024-04-14T13:48:43.831389Z"
},
{
"uuid": "39f273d2-63ca-4a56-8542-c02bc9fcefaa",
"type": 0,
"sub_type": 1,
"label": "Expanding Space for Street Trees",
"created_at": "2024-04-14T13:48:43.836508Z"
},
{
"uuid": "4356dbc4-cec2-44b0-8732-a27b4b4e075e",
"type": 0,
"sub_type": 1,
"label": "Smart Traps for Rat Reduction",
"created_at": "2024-04-14T13:48:43.852145Z"
},
{
"uuid": "9a4e599c-f96d-4a06-bc3c-8d5c3d51c5cb",
"type": 0,
"sub_type": 1,
"label": "Electric Vehicle Chargers",
"created_at": "2024-04-14T13:48:43.857137Z"
}
],
"node": {
"uuid": "459a001b-3ae9-4f0c-9e8c-82387a4486d1",
"type": 1,
"sub_type": 1,
"label": "Environment",
"description": {
"String": "Environment",
"Valid": true
},
"created_at": "2024-04-14T13:48:43.811765Z"
}
}