This Choreo updates a given list. The documentation for this Foursquare resource can be found here.
The following is a sample of the JSON information returned by this Choreo:
{
"meta":{
"code":200
},
"notifications":[{
"type":"notificationTray",
"item":{
"unreadCount":0
}
}
],
"response":{
"list":{
"id":"4f4ba9c1e4b04a413248fac8",
"name":"mytestlist",
"description":"this is another new desc",
"user":{
"id":"22397808",
"firstName":"Aaron",
"lastName":"Jennings",
"photo":"https://foursquare.com/img/blank_boy.png",
"gender":"male",
"homeCity":"Brooklyn",
"canonicalUrl":"https://foursquare.com/user/22397808",
"relationship":"self"
},
"editable":true,
"public":true,
"collaborative":false,
"url":"https://foursquare.com/user/22397808/list/mytestlist",
"canonicalUrl":"https://foursquare.com/user/22397808/list/mytestlist",
"createdAt":1330358721,
"updatedAt":1330364337,
"type":"created",
"doneCount":1,
"visitedCount":1,
"venueCount":1,
"categories":{
"count":1,
"items":[{
"category":{
"id":"4bf58dd8d48988d124941735",
"name":"Office",
"pluralName":"Offices",
"shortName":"Corporate / Office",
"icon":"https://foursquare.com/img/categories/building/default.png"
},
"count":1
}
]
},
"following":false,
"followers":{
"count":0
},
"collaborators":{
"count":0,
"items":[]
},
"listItems":{
"count":1,
"items":[{
"id":"t4f4bb9dbe4b0b1e3530c9d65",
"createdAt":1330362843,
"todo":false,
"done":true,
"visitedCount":1,
"tip":{
"id":"4f4bb9dbe4b0b1e3530c9d65",
"createdAt":1330362843,
"text":"test add new item to list",
"status":"done",
"listed":{
"groups":[{
"type":"dones",
"count":1,
"items":[]
}
]
},
"todo":{
"count":0
},
"done":{
"count":1
},
"user":{
"id":"22397808",
"firstName":"Aaron",
"lastName":"Jennings",
"photo":"https://foursquare.com/img/blank_boy.png",
"gender":"male",
"homeCity":"Brooklyn",
"canonicalUrl":"https://foursquare.com/user/22397808",
"relationship":"self"
}
},
"venue":{
"id":"4d432a7d3be6a093af469736",
"name":"Temboo",
"contact":{
"twitter":"temboo"
},
"location":{
"address":"104 Franklin Street",
"crossStreet":"Btw Church & West Broadway",
"lat":40.71863306,
"lng":-74.005526,
"postalCode":"10013",
"city":"New York",
"state":"NY",
"country":"United States"
},
"categories":[{
"id":"4bf58dd8d48988d125941735",
"name":"Tech Startup",
"pluralName":"Tech Startups",
"shortName":"Tech Startup",
"icon":"https://foursquare.com/img/categories/shops/technology.png",
"parents":["Professional & Other Places",
"Offices"
],
"primary":true
}
],
"verified":false,
"stats":{
"checkinsCount":251,
"usersCount":9,
"tipCount":4
}
},
"listed":{
"count":1,
"summary":"On your List: mytestlist",
"items":[{
"id":"4f4ba9c1e4b04a413248fac8",
"name":"mytestlist",
"description":"this is another new desc",
"user":{
"id":"22397808",
"firstName":"Aaron",
"lastName":"Jennings",
"photo":"https://foursquare.com/img/blank_boy.png",
"gender":"male",
"homeCity":"Brooklyn",
"canonicalUrl":"https://foursquare.com/user/22397808",
"relationship":"self"
},
"editable":true,
"public":true,
"collaborative":false,
"url":"https://foursquare.com/user/22397808/list/mytestlist",
"canonicalUrl":"https://foursquare.com/user/22397808/list/mytestlist",
"createdAt":1330358721,
"updatedAt":1330364337,
"followers":{
"count":0
},
"listItems":{
"count":1
}
}
]
}
}
]
}
}
}
}